Could someone help me out with the following?
In some of my flows I set a variable in order to be able to revert back to previous state. This is meant to be used for temporary states, like the one set by my “Watch TV” flow. I don’t want normal lighting when watching TV. I will also use it for stuff like changing from daytime lighting to nighttime lighting.
Is there some way to make a flow do the following?
If laststate=x then xfunc
Else if laststate=y then yfunc
Else if laststate=y then zfunc
It would also be awesome if there was a way to handle inline code (or script the whole flow), to do stuff like “if light_source.ison() then …” to dim lights that are on without turning on lights that have been turned manually off (for å reason).