toggledbits / Reactor

Reactor (for Vera and openLuup) is a Vera Home Automation plugin that provides advanced programmable logic.
17 stars 0 forks source link

RS with Interval condition loses sanity on date/time conditions #39

Closed toggledbits closed 5 years ago

toggledbits commented 5 years ago

If an RS contains an Interval condition, any date/time conditions that follow in the evaluation order do not test date correctly.

The problem is that the Interval condition task was modifying a time variable on the state handle that the other conditions need, resulting in incorrect time comparisons thereafter.

The short-term workaround is to make the Interval condition at late as possible in the evaluation order, and after all date/time and sunrise/sunset conditions.

toggledbits commented 5 years ago

Fix in stable branch.

toggledbits commented 5 years ago

Fixed in 3.1 release.