It seems that in my case the widget icon is not updating when used in the templates. It is correct on the first load of the panel and does change after the first use, but that’s it. The button continiue to does work but will not update the state of the icon. In my case the gLights_B is a group of the lights and I use a button to pass OFF in order to do a master OFF only switch.
<button class="test" style= "border: none; background: rgba(0,0,0,0); outline:none; " ng-click="sendCmd('gLights_B', 'OFF')"> <widget-icon iconset="'smarthome-set'" icon="'power-button'" size="100" state="itemValue('gLights_B')" /> </button>
Do you see that too?
@ysc any chance you can look into that?