ady624 / CoRE

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

Mode switching backwards? #27

Open jjslegacy opened 8 years ago

jjslegacy commented 8 years ago

I think I may be losing my mind...

I have a "simple" piston that looks like: If Denon is ON and Theater Riser Lights are ON then Turn on virtual switch Theater_Mode Set mode to Moving playing in theater else turn off virtual switch set mode to Home

The virtual switch seems to work fine - turns on and off as expected. The mode does the opposite.

When the conditions are true it changes mode to home and when false it sets it to movie playing in theater.

Seems backwards and very strange.

jjslegacy commented 8 years ago

I should also add I had it as two separate tasks.

  1. Set mode
  2. Turn on virtual switch

If I change it to turn on virtual switch and change mode in the same task it seems to work

ady624 commented 8 years ago

Do you have any logs please? Enable debugging mode and post some logs please.

ady624 commented 8 years ago

Is this still an open problem?

jjslegacy commented 8 years ago

Sorry I haven't had a chance to debug this any further - been tied up and traveling too much. Will hopefully get to it soon. Again sorry for the delay