Skip to content

Rule is not executed on Switch change #22642

Answered by sfromis
gon0 asked this question in Support request
Dec 14, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

I saw no indication of you making sure to actually have your 3 rule sets enabled in addition to just being stored. Another thing is that having a Switch1#state==1 rule will only take care of state value 1, but state value 0 will still have the default action, unless you have taken other steps to decouple.

I'd suggest using test rules like on Switch1#state do var1 %value% endon to verify that you even get the switch state values you expect, at the right time.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@barbudor
Comment options

@sfromis
Comment options

Answer selected by gon0
@gon0
Comment options

@sfromis
Comment options

@gon0
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants