!Help - lamp automation
Hey guys, I need your help with something.
I have a lamp that changes its color when turn off then back on between 3 sec interval.
I used a blueprint for light automation in other rooms and those working perfectly but its a bit different because of the color changing of the lamp.
So i would like to have an automation something like that:
If 1st motion triggered by sensor
Then turn the lamp on
Wait 300 sec
If there is no motion
Turn off and wait a 3 sec delay
If there is motion under the 300sec window then
Repeat the first action
If a motion appears after a turn off in a 3 sec window then wait 3 sec until turning back on the lamp
How can it be possible? I tried many different ways but still can not make it work.
Any help would be appreciated