ady624 / CoRE

CoRE - Community's own Rule Engine
GNU General Public License v3.0
222 stars 663 forks source link

All switches OFF restriction #32

Closed Luvien closed 8 years ago

Luvien commented 8 years ago

Hello! For my test purpose, I created a simulated virtual switch. I created a simple piston 👍

IF motion changes to active THEN Turn on light ELSE wait 3 mins Turn off light

Restriction : Execute only when all switch OFF (my simulated switch).

Result : When I enter the room, the light goes on... I tried 'Prevent already scedule task...' but it's not working. When I turn on the switch, I'm not in the room.

ady624 commented 8 years ago

What was the status of the virtual switch when the light turned on? Was it off?

Luvien commented 8 years ago

No, ON, I checked to be sure. I'm sure it doesnt change anything, but my light is on a Z-Wave dimmer. I don't use setlevel or anything, only ON and OFF.

ady624 commented 8 years ago

Just tested with one switch in the OFF restriction, v0.1.114.20160706 - Beta M1 - Some more minor bug fixes, including some piston restriction fixes

Switch off, light changed colors. Switch on, light no longer changing color.

Please confirm and close if found to be working.

Luvien commented 8 years ago

You nailed it. I tested multiple time today and it's working with the new version you provided. Thanks!