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:
Hello everyone, trying to do the similar thing, but after restoring scene “before”, light brightness remains low. Here’s the full automation. Let’s imagine - I manually set the light.strop_zvonka to 80%, then turn off the light (toggle). Then the automation below triggers, turn on the light to 20%, after minute turn off and restore scene. Then when I turn on the light manually, it’s not restored to 80%, but remains on 20%… Any suggestions? Thanks!
A single Hue colour ambiance bulb (connected via Hue hub/integration) and I cannot get it to restore to the previous state after flashing red. With the following script, it always turns back on with red/brightness 1.
I also had the problem that the scene did not restore. I think the first example here is wrong (or outdated). So if you still have the problem or someone else finds this thread. The following change did the trick at least for me:
I am also having a similar issue, I have 2 separate automation and both have the same issue.
This one, takes a snapshot of the current state of room lights, calls it “scene.masterbedroom_currentstate” , then loads a scene “Blue DoorBell” (otherwise the routine starts with white) tells it to flash for 5 seconds then restore to the scene. But I get two different outcomes, depending on if the trigger starts with the lights on or off.
If there are already on, then the scene restores ok, if they are off when it triggers, then next time the bulbs are turned on they are at 1% brightness and then blue.
If you try and add a “white” scene at the end, you get a white flash before it completes, not sure how to fix this different outcomes depending on the on/off state.