I have some template mushroom chip cards which icon color changed base on the number of lights on/valves open (with number next to the icon). It works flawlessly but when thing come to door sensors it works sometimes but randomly when a door state change it’s not work anymore. I need to manually restart the system to make it work again. Dont know it this is mushroom card problem or someting wrong with my code.
Thank you all! (And sorry for my bad grammar)
- Never ever post a code as a picture.
- Add “selectattr(‘attributes.device_class’,‘defined’)” before a corresponding check for “device_class=door”.
1 Like
It’s working now. Thanks a lot.