I’m trying to get HA to send an alert if/when my abode alarm system is triggered, but not having any luck. I have the abode integration all setup and working - I can trigger automations on all sensors or when arming/disarming the alarm. From what I’ve read, it seems like this should work, but it’s not.
I think your notify is probably erroring out and stopping the rest of the automation from executing. Look at the log for the error message. If you put the lights first I bet they will turn on and you would see that your automation is triggering. I think the problem is you have no target for your notify.
The notification and lights all work when I fire each trigger manually, so I don’t think it has to do with the notification. Also, I don’t get any errors in the log. The problem seems to be that I’m not getting the state change to ‘triggered’ on the control panel, nor the event from the abode component.
@micque … I think you were spot on that I had my trigger indented too far.
FYI, I could never get it to work with this as the trigger (regardless of the indentation):
platform: state
entity_id: alarm_control_panel.abode_alarm
to: 'triggered'
While I was testing and had the alarm triggered, the state for the alarm_control_panel.abode_alarm entity always showed the armed state (home or away) and never went into a “triggered” state.