Replies: 2 comments
-
That is not possible |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the answer |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I'm learning about templating and learning a lot :-)
![image](https://private-user-images.githubusercontent.com/23150947/303941563-41f743b5-2280-41de-a55b-38e05613f3b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODY1NjIsIm5iZiI6MTczOTQ4NjI2MiwicGF0aCI6Ii8yMzE1MDk0Ny8zMDM5NDE1NjMtNDFmNzQzYjUtMjI4MC00MWRlLWE1NWItMzhlMDU2MTNmM2I0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIyMzc0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyYjFjMThkODQ2NjI3ZDA5ODMyMTBjNTY3ZDAxZjE1MWM2YmUzZTEzNjZmMDg3M2YyYjVmOGM2MTJlZGE1OGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.x_4zUHiUOsdyARwT6KNiOOONfNcjvrLR5jkUvBM99og)
Is it possible to change the button background to a color depending on the state?
For example:
The device_tracker button is white when home and grey when not home.
Now I like to make the color white if state is "Horizon Pa" and grey if not?
Beta Was this translation helpful? Give feedback.
All reactions