cmdicon webcmd help

Begonnen von kroonen, 07 März 2023, 19:28:08

Vorheriges Thema - Nächstes Thema

kroonen

Hi,

I want an icon for use with a command in fhem.

I have a Marantz receiver and I can use this command in webcmd:

smartselect 1

And that works. Now I want instead of the text an icon, so I thought

cmdicon smartselect 1:rc_1

But this doesn't work???
Any ideas?


Attributes:
   brand      Marantz
   cmdIcon    smartselect 1:rc_1
   connectionCheck off
   devStateIcon on:control_standby@orange:off off:control_standby@grey:on
   group      Multimedia
   icon       audio_loudness
   room       Woon
   sortby     1
   stateFormat power


betateilchen

please try

cmdIcon    smartselect+1:rc_1
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

kroonen

thnx,

Also had to do the +1 also in the webcmd and now it works

regards Richard

betateilchen

Zitat von: kroonen am 07 März 2023, 20:29:24
Also had to do the +1 also in the webcmd

sure, but webcmd is not listed above  :)
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!