Hi
I have a problem with notification not working, I setup notify html5 without any issue as below, note I’ve hidden my key / id. I’ve been able to click the slider on the chrome browser and it then adds the browser to html5_push_registrations.conf so I think everything is setup correctly in configuration.yaml (as below)
Configuration.yaml
notify:
- name: Home Assistant
platform: html5
gcm_api_key: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
gcm_sender_id: 'XXXXXXXXXXXXXXX'
The problem is involving my automation code.
Automation.yaml
- alias: Test notification
trigger:
- platform: state
entity_id: binary_sensor.door_window_sensor_158d0001d63b07
action:
- service: notify.html5
data_template:
message: "This is a test notification"
Error message when checking configuration
Error loading /config/configuration.yaml: expected '<document start>', but found '<block sequence start>'
in "/config/automations.yaml", line 19, column 1
If I remove the code above from automation.yaml I don’t get an error.