2.3.9.193 Nested "IF" fails - outer "ELSE" never executes"

This logic worked until this new release.
Outer "IF" resolves to "FALSE" and subsequent lines are skipped.
In particular it skips a nested "IF" followed by "END IF". So far so good.
The problem occurs at 11:01:43.736 - the "ELSE" of the outer "IF" is skipped, where in fact it should execute.

Erez

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.749[**info**](http://hubitat.wired.internal/logs#)Action: END-REP

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.748[**info**](http://hubitat.wired.internal/logs#)Action: Repetition stopped

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.743[**info**](http://hubitat.wired.internal/logs#)Action: END-IF

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.739[**info**](http://hubitat.wired.internal/logs#)Action: Off: Garage alarm “Armed” indicator, GFCLK Alarm "Armed" Indicator (Left Outlet) (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.736[**info**](http://hubitat.wired.internal/logs#)Action: ELSE (skipping)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.734[**info**](http://hubitat.wired.internal/logs#)Action: END-IF (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.731[**info**](http://hubitat.wired.internal/logs#)Action: On: Garage alarm “Armed” indicator (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.728[**info**](http://hubitat.wired.internal/logs#)Action: IF (Garage Motion +3-1/2 min motion active(F) [FALSE]) THEN (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.717[**info**](http://hubitat.wired.internal/logs#)Action: // In addition, when alarm is on AND there is motion in garage, turn the Alarm indicator (spotlight) in the garage. (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.715[**info**](http://hubitat.wired.internal/logs#)Action: On: GFCLK Alarm "Armed" Indicator (Left Outlet) (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.712[**info**](http://hubitat.wired.internal/logs#)Action: // If alarm is armed, turn the Grandfather clock indicator on. (skipped)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.710[**info**](http://hubitat.wired.internal/logs#)Action: IF (Alarm {Armed=Closed} contact closed(F) [FALSE]) THEN (skipping)

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.698[**info**](http://hubitat.wired.internal/logs#)Action: Stop Repeating Actions

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.687[**info**](http://hubitat.wired.internal/logs#)Triggered: Alarm {Armed=Closed} contact *changed*

[app:1216](http://hubitat.wired.internal/logs#)2024-10-14 11:01:43.682[**info**](http://hubitat.wired.internal/logs#)Action: Repeating Actions 3 times

Can't say for certain it'll solve this for you, but a likely fix coming in the next release ...

Good to tag Bruce just in case it's a slightly different version of the issue. :slight_smile:

Would need a screenshot of the logs, not copy/paste.
Good chance it is the same issue already reported and being fixed though.




1 Like