Hi guys,
I have problems with the pushbullet config in automations.yaml file.
I want that when the aeotec sensor
“binary_sensor.aeotec_zw100_multisensor_6_sensor” is triggered with motion, send a text through Pushbull to Mobile. Have tested multiple config without results.
My file in the configurations.yaml:
# Pushbullet
notify:
- name: Pushbullet
platform: pushbullet
api_key: o.....
group: !include groups.yaml
automation: !include automations.yaml
automation old: !include_dir_merge_list automations
script: !include scripts.yaml
My file in the automations.yaml:
# Send message to pushbullet
- alias: Message to pushbullet
trigger:
platform: numeric_state
entity_id: binary_sensor.aeotec_zw100_multisensor_6_sensor
abo: on
action:
service: notify.mypushbullet
data_template:
title: "Motion"
message: "Motion frontdoor"
In the logg file:
Invalid config for [automation]: [to] is an invalid option for [automation]. Check: automation->trigger->0->to. (See /config/configuration.yaml, line 87). Please check the docs at https://home-assistant.io/components/automation/
Thanks.