It seems like a simple rule, but it is not working.
I am trying to get info about who was the last to unarm the alarm into my HA program (CQC).
I have a series of this rule (one for each user)
WHENEVER Home (area 1) ARM STATE BECOMES DISARMED
AND LAST USER WAS George (user 1)
THEN SET Code (counter 10) TO 2
and so on up to setting counter 10 to 8
However no matter who disarms the system, the counter is not changed to the appropriate #.
I am trying to get info about who was the last to unarm the alarm into my HA program (CQC).
I have a series of this rule (one for each user)
WHENEVER Home (area 1) ARM STATE BECOMES DISARMED
AND LAST USER WAS George (user 1)
THEN SET Code (counter 10) TO 2
and so on up to setting counter 10 to 8
However no matter who disarms the system, the counter is not changed to the appropriate #.