Refering to this example code for Manual Alarm, there is one issue with it.
The alarm will only triggers if all sensors are “true”.
This is very wrong. It suppose to trigger when any of the sensors are “true”.
Please correct me if I am wrong.
Refering to this example code for Manual Alarm, there is one issue with it.
The alarm will only triggers if all sensors are “true”.
This is very wrong. It suppose to trigger when any of the sensors are “true”.
Please correct me if I am wrong.
I’m surprised nobody has replied about this as I agree with you. Can somebody weigh in on this?
actually, it seems to be OK now. Now, my alarm trip when either one of the sensors is true.
Would you mind posting your config for the alarm and your automation? I’d just like to compare it to what I have and see where mine is going wrong.
I replaced the example sensors with my own sensors and I added another block for an “Armed Home” instance (removing the motion sensors in the bedroom and one internal door) and I’m not getting a trigger if I leave one of the sensors on.
I just tested my setup now and it went to pending - hoping it was setting up to trigger, but instead it disarmed itself!!
WTH?? Here’s my automation code:
alarmcode.yaml (1.8 KB)
It is possible to get the code to arm/dissarm the alarm from input_text component from the front end user interface?