Hello,
I am trying to setup a push notification to be sent to my phone when there is motion in my hose me.
i use xiaomi smart home.
i made it like this
configuration.yaml:
notify:
- name: xiaomi
platform: pushbullet
api_key: MyKey
automation.yaml:
- alias: “someone is in the house”
trigger:- platform: state
entity_id: binary_sensor.motion_sensor_158d00013e7a62
state: ‘255’ - platform: state
entity_id: binary_sensor.motion_sensor_158d00013e7a62
state: ‘on’
action:
service: notify.my_pushbullet
data:
message: “someone is in the house”
target: “device/LGE Nexus 5X”
- platform: state
but i do not get any notify , what i miss or do wrong?
Thanks!
MP