Custom Tile

How can I create a tile with specified color and text states?

I have a garage door status that I want to say open or closed and to be red when open and green when closed.

Further, I have variables that are the result of tests performed by scripts such as testing the power is above a specified level after turning on the outdoor lights. I want to display this variable as a green PASS or red FAIL.

CSS is how this is accomplished and this thread has it all

There is also this app which makes it much easier to do those things.

Having said that, Green when closed and red when open is the default behavior of the "contact sensor" template.

1 Like

I forgot to mention this app. Wonderful for displaying any and everything you want to see in a dashboard and how you want to see it.

2 Likes

For changing tile templates colours on a dashboard.


1 Like