I’ve added a yeelight rgb lamp. Also works well with the pimatic-led-light plugin. Now to my problem. I want to let the lamp flash. Have the following rule tried. Unfortunately does not work.
Would like to visualize my door bell.
When
contact of doorbell=ring
then
set lamp to red and switch lamp on and after 2 seconds switch lamp off and switch lamp on and after 2 seconds switch lamp off
What am I doing wrong?