This is my automations.yaml file
And I get an error :
Blockquote
expected , but found ‘’
in “/home/homeassistant/.homeassistant/automations.yaml”, line 6, column 4
Any help is appreciated
This is my automations.yaml file
And I get an error :
Blockquote
expected , but found ‘’
in “/home/homeassistant/.homeassistant/automations.yaml”, line 6, column 4
Any help is appreciated
I think your action
was indented one space too many. Try
automation_1:
- alias: Ella_got_home
trigger:
platform: template
value_template: "{% if is_state('device_tracker.ohad_xiamoi_mi5', 'home') %}true{% endif %}"
action:
service: notify.pushbullet_notifier
device: device/xiaomimi5
message: "Ella just got home :)"
title: "Ella - presence message"
I tried another angle at this with your suggestion, still there are errors… must be something I’m missing here
Failed config
automation:
action: [source /home/homeassistant/.homeassistant/automations.yaml:5]
- data: [source /home/homeassistant/.homeassistant/automations.yaml:8]
message: Ella got home
device: device/xiaomimi5
service: notify.pushbullet_notifier
alias: Fucking work
trigger: [source /home/homeassistant/.homeassistant/automations.yaml:2]
- platform: template
value_template: {% if is_state(‘device_tracker.ohad_xiamoi_mi5’, ‘home’) %}true{% endif %}
This is my automations.yaml file - https://pastebin.com/4FGmV4zq