I am trying to setup a push notification to be sent to my phone when there is motion in my house and I am not home. Pushbullet is working when I send a notification in the services developer tools by selecting
domain=
notify
service=
my_pushbullet
service data (json, optional)=
{ "message": "A message for many people", "target": [ "device/Galaxy S5" ] }
This is how I have the automation setup:
configuration.yaml:
notify:
- name: my_pushbullet
platform: pushbullet
api_key: xxxxxxxxxxxxxxxxxxxx
automation.yaml:
- alias: "someone is in the house"
trigger:
- platform: state
entity_id: sensor.vision_zp3111_multisensor_4in1_alarm_level_3_1
state: '255'
- platform: state
entity_id: binary_sensor.ecolink_pir_motion_sensor_sensor_4_0
state: 'on'
action:
service: notify.my_pushbullet
data:
massage: "someone is in the house"
target: "device/Galaxy S5"