I’m having a similar problem. I have a dome siren and an ecolink door sensor, both Zwave devices.
The weird thing for me is that if I just create the automation, it works fine. I tested it for half a day. The next day, I opened the door and nothing. so I check and sure enough, it is detecting that the door is opened. So I thought that maybe the siren isn’t connected but when I activate the siren from the frontpanel it works as well. The ecolink door sensor says “Sleeping” in the Zwave card though… not sure if that has anything to do with it because it still detects it on the frontpanel. Something is not right with the automation then I think.
My configure.yaml has the manual alarm as such:
# setup the use of the "manual" home alarm panel. This should add a card to the front panel after reboot.
alarm_control_panel:
- platform: manual
armed_home:
pending_time: 0
delay_time: 0
And I built my automation using the GUI, but here’s the results it gives me, again nothing out of the ordinary…:
- id: '1574468021858'
alias: Front door open triggers alarm
description: Turn on siren if front door opens
trigger:
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor
from: 'off'
platform: state
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: armed_away
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: armed_home
action:
- device_id: <Hiding from you...>
domain: switch
entity_id: switch.elexa_consumer_products_inc_dome_siren_switch
type: turn_on
- id: '1574471404053'
alias: Turn siren off when front door shut
description: ''
trigger:
- entity_id: binary_sensor.ecolink_door_window_sensor_sensor
from: 'on'
platform: state
to: 'off'
condition: []
action:
- device_id: <Hiding from you...>
domain: switch
entity_id: switch.elexa_consumer_products_inc_dome_siren_switch
type: turn_off
I’m banging my head against a wall with this thing.The automation is turned on, the sensor is detecting, the siren can be triggered from the front panel, it literally worked repeatedly as expected yesterday for hours… what the heck else could be the problem? What am I missing?