Is it possible to automatically hide Seasonal lights on a Picture Elements Card?
I am using this (thanks petro!!):
And this is how it’s listed in my Elements Card
- type: conditional
conditions:
- entity: sensor.christmas_season
state: 'false'
elements:
- type: state-icon
entity: light.christmas_lights
title: Christmas Lights
tap_action:
action: toggle
style:
top: 98%
left: 43.5%
But it’s not looking like it’s working when I test it by changing ‘false’ to ‘true’.
petro
(Petro)
2
if it’s a binary sensor the states are ‘on’ or ‘off’.
I switched ‘false’ to both ‘off’ then ‘on’ to see if the light would show up. Nothing changed.