Update: Probably "fixed", it looks like the Hub just needed to roll through the key times, specifically Sunrise this morning. It now shows "Required expression false" on the Apps summary screen, and doesn't turn on the light when motion is triggered.
Goal: Turn on lights if motion is detected between 4:30am and Sunrise.
Problem: The event always runs when motion is detected, regardless of the time.
app:142022-06-19 12:15:08.064 pm infoAction: On: Counter Lights
app:142022-06-19 12:15:08.061 pm infoAction: IF (Time between 4:31 AM and Sunrise(5:41 AM)(T) [TRUE]) THEN
app:142022-06-19 12:15:07.987 pm infoTriggered
app:142022-06-19 12:15:07.978 pm infoEvent: HSM-200 Hallway motion active
What I would do is toggle on the āUse Required Expressionā and add āTime between 4:30am and Sunriseā in there.
Then, remove the If condition. Leave the rest as is.
That said, it is obvious in the logs that the time is not between those two variables⦠It shouldnāt have runā¦. Curious if it will work better with the change to use Required Expressionā¦?
Probably "fixed", it looks like the Hub just needed to roll through the key times, specifically Sunrise this morning. It now shows "Required expression false" on the Apps summary screen, and doesn't turn on the light when motion is triggered.