@EcoJoe wrote:
I’m working on setting up an automation when a certain NHL team scores, my lights flash red and then go back to their previous state. I have it successfully triggering and flashing red, but it isn’t reverting the light to it’s previous color and brightness, it stays red. Below is the script that I’m calling from the automation:
blackhawksgoal: sequence: - service: scene.create data_template: scene_id: before snapshot_entities: - light.couch_left: - service: light.turn_on data: entity_id: light.couch_left brightness: 255 rgb_color: [255, 0, 0] flash: long - delay: seconds: 20 - service: scene.turn_on data: entity_id: scene.before
Here is the documentation I was following for creating scenes on the fly - https://www.home-assistant.io/integrations/scene/#creating-scenes-on-the-fly
Posts: 4
Participants: 2