diff --git a/fhem/FHEM/lib/AttrTemplate/mqtt2.template b/fhem/FHEM/lib/AttrTemplate/mqtt2.template index a0ab763a6..bfa707ab1 100644 --- a/fhem/FHEM/lib/AttrTemplate/mqtt2.template +++ b/fhem/FHEM/lib/AttrTemplate/mqtt2.template @@ -262,7 +262,7 @@ attr DEVICE setList \ p2:on,off,toggle cmnd/DEVNAME/POWER2 $EVTPART1\ p3:on,off,toggle cmnd/DEVNAME/POWER3 $EVTPART1\ p4:on,off,toggle cmnd/DEVNAME/POWER4 $EVTPART1 -attr DEVICE stateFormat {\ +attr DEVICE devStateIcon {\ "
POWER1:"\ . FW_makeImage(lc ReadingsVal($name, "POWER1", "off"))\ . " POWER2:"\ @@ -272,6 +272,7 @@ attr DEVICE stateFormat {\ . " POWER4:"\ . FW_makeImage(lc ReadingsVal($name, "POWER4", "off")) . "
"\ } +attr DEVICE webCmd : attr DEVICE model A_04b_tasmota_4ch_unified_icon # tasmota 4ch as one FHEM device.