Trying to change Icon for state of elk alarm sensor for garage doors. #191
-
Trying to get my icons to change for my garage door based on current state. My garage doors are connected to an elk panel and report as expected. I have this working with button cards, but trying to get it to work with room cards also. Here is my code: `type: custom:room-card
Clicking on the icon works for opening and closing it. But the icon itself never changes from the default. I am sure I am doing something dumb.. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
marcokreeft87
Mar 18, 2023
Replies: 1 comment 1 reply
-
State isn't an attribute. Try it without the attribute line |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrkov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
State isn't an attribute. Try it without the attribute line