How can I change button’s icon state with a timer/delay? I have a button that activates a scene which will turn on a light for 5 mins. I would like the button, when being clicked on, to change its state to on (yellow color) and turn itself off after 5 mins. Is it possible?
- type: button
entity: scene.lvvvqga8asvfpxyz
name: Side Door
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.lvvvqga8asvfpxyz
This is what i have in my lovelace.yaml