I’m trying to set up an automation for an alarm to strobe a light when triggered until disarmed, then return the light to its previous state.
I’ve tried many things such as saving and restoring scenes and nothing really has worked.
I read through the Yeelight docs and noted that flows have a “recover” action when the flow stops, but I just can’t get it to work, even when copy-pasting the example in the development tools area. I’ve scoured forums and the internet but I can’t find anything, or even a full example of the flows service call. I get following after correct (I believe) syntax:
“Failed to call service yeelight.start_flow. Unknown error”
Here’s my yaml:
service: yeelight.start_flow
target:
device_id: bf1162696f8ad8330a200a5fb182947f
data:
count: 1
action: recover
transitions:
- TemperatureTransition:
- 1900
- 1000
- 80
- TemperatureTransition:
- 1900
- 1000
- 10
Help is appreciated.