I’ve got an alarm automation, but the notifications are not sending to pushbullet/my android when its triggered. Am I missing something here?
First things I would check. Can you call the notification service from the frontend (https://home-assistant.io/docs/scripts/service-calls/)? Should be able to fire off a notification to your phone, directly from there.
Also, add another known-working service to the automation, to ensure that it’s actually firing.
I listed the automation on my front end and was able to trigger it there. That worked to send the notification. So it seems the disconnect is between the device changing state and firing the automation.
Try assigning another known-working action to the automation. Like turning on a light or something. Also can you post the specific automation here, so we can take a look? (just copy/paste it here and throw some block quotes around it)
Ok. So I know the notification part is working. If I manually trigger the automation, the notification sends. I think the issue is with the sensors. I have a dsc/envisilink alarm setup. My goal is to make it send the notification when the alarm is armed, and a sensors goes off. I think my issues is which sensor is the trigger vs the condition.
“alarm_control_panel.home_alarm” - When a sensor is triggered this one goes into “Triggered” state, so I assumed that is the state I need to check for on the condition that "sensor.home_alarm_keypad "= “armed-away”
alias: Alarm Triggered front door
initial_state: 'on'
hide_entity: false
trigger:
- platform: state
entity_id: alarm_control_panel.home_alarm
to: 'triggered'
condition:
condition: and
conditions:
- condition: state
entity_id: sensor.home_alarm_keypad
state: 'armed_away'
- condition: state
entity_id: binary_sensor.front_door
state: 'on'
action:
service: notify.Walter_Cell
data:
message: "Alarm Triggered"
title: "Alarm Trigger -> front door"
If I understand your requirements correctly you’ve vastly overcomplicated the automation, and this should work as desired…
alias: Alarm Triggered front door
initial_state: 'on'
hide_entity: false
trigger:
platform: state
entity_id: binary_sensor.front_door
to: 'on'
condition:
condition: state
entity_id: sensor.home_alarm_keypad
state: 'armed_away'
action:
service: notify.Walter_Cell
data:
message: "Alarm Triggered"
title: "Alarm Trigger -> front door"