Closed soloam closed 4 years ago
the card
property is not an array (it's call card
not cards
😉 ):
light_rgb_template:
card:
type: custom:slider-entity-row
entity: light.[[light_name]]
style: |
:host {
color: {% if is_state('binary_sensor.[[light_name]]_autoon', 'on') %} green {% endif %};
}
toggle: true
Thank you, that was it!
Hello, I have this template:
And I use it like this:
This is replacing my old config:
In the Lovelace I get the error:
What I'm doing wrong? Or is this a bug?
Thank you