I installed this last week and it works so well! I hope this becomes a standard integration.
There’s ONE thing that isn’t working, which seems very mysterious and I’d like to get some suggestion on how to figure out what is going on, and that is specifically that automations do not trigger on the armed_home payload for alarm_control_panel. That’s so weird because they DO trigger for disarmed, and everything else is working–I can change the state of the alarm, control all the lights, get events from motion detectors and door sensors, control cameras – pretty much everything is working, and that’s so great!
But it’s a mystery to me why just this one thing isn’t working.
I can see in the UI that it knows the alarm is in armed_home state, I can see the event in the MQTT Alarm debug info “last 10 events” history, but the automation set up to trigger on it has never been invoked (last invoked time null).
Here’s the yaml:
>
> - id: '1602283406443'
> alias: Alarm Armed Home
> description: ''
> trigger:
> - platform: device
> device_id: 94xxxxxxxxxxxxxxxxxxxxxxxxxxx47f
> domain: alarm_control_panel
> entity_id: alarm_control_panel.home_alarm
> type: armed_home
> condition: []
>
> - id: '1602345095561'
> alias: Alarm Disarmed
> description: ''
> trigger:
> - platform: device
> device_id: 94xxxxxxxxxxxxxxxxxxxxxxxxxxx47f
> domain: alarm_control_panel
> entity_id: alarm_control_panel.home_alarm
> type: disarmed
> condition: []
I obfuscated the device_id because I don’t know if that’s sensitive, but they match and are the same for both triggers. I see this event in the MQTT. I can see this in the MQTT debug info in the UI:
> Received 8:54:12 AM
>
> * QoS: 0
> * Payload: `armed_home`
And I also see the disarmed one there, which DOES trigger automation.
I have actually seen this consistently as well, in that I saw this issue when I first set up HA/ring-mqtt. Since then for other reasons I blew away the whole install and reinstalled from scratch again, and AGAIN saw this issue.
Any suggestion on how to debug it, or what information I should look for to see what’s going on?
I would like to trigger some stuff on armed_home because that basically means we’ve gone to bed for the night and so turn down the thermostat, turn off the lights, etc.