I’m currrently running a condition card which tells me if my media server goes off line. I know nothing technical there!!
However, being new to coding on HA I’m wondering if there’s a way to get the background of the card to show (or possibly flash) red if it goes off line instead of the boring dark colour.
I thought possibly using a theme might be my answer but I was hoping for something a bit more flashy!
Below is my code (so far) very simple I know but any help to change that would be really helpful.
type: conditional
conditions:
- condition: state
entity: binary_sensor....
state: “off”
card:
type: entity
entity: binary_sensor._******
name: Media Server
Happy Homeassisting!
Paul
1 post - 1 participant