I have this script:
https://pastebin.com/HC0WCy2N
The purpose of this automaton is to first create snapshot of my light light.bathroom_wled then to turn on light while is in listening mode, and when it backs to idle mode, to call scene.apply and to restore this light a s is was before
How can I do that?
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.