Hi all
Somebody can tell me how to get number of lights turn on in JSTemplate to display in badge ?
I have the following YAML which working but don’t understand to get it OK in JSTemplate.
Maybe I’m dumb but is there a way to make the badges conditional? I want a badge with how many lights are on but it still returns a blank badge even with the sensor outputting null.