Hello,
First off, I am very new to this so please forgive anything stupid I may ask…
I am getting this error:
Error loading /config/configuration.yaml: mapping values are not allowed here
in “/config/automations.yaml”, line 22, column 9
I just can’t seem to work out what it means. I’m pretty sure it relates to ‘action’ because but if I copy the action part of the code into dev/services it works as expected.
- id: fgd01
alias: bgd
description: Back gate doods
trigger:
- entity_id: image_processing.doods_back_gate
platform: state
condition:
- condition: or
conditions:
- condition: template
value_template: '{{ ''car'' in state_attr(''image_processing.doods_back_gate'',
''summary'') }}'
- condition: template
value_template: '{{ ''truck'' in state_attr(''image_processing.doods_back_gate'',
''summary'') }}'
- condition: template
value_template: '{{ ''person'' in state_attr(''image_processing.doods_back_gate'',
''summary'') }}'
action:
service: notify.mobile_app_mat
data:
title: CCTV notifacation
message: Someone is at the back gate
data:
image: 'http://192.168.1.200:8123/local/doods_cam.jpg'
actions:
- action: URI
title: View Live Feed
uri: /lovelace/cct
mode: single
Thanks in advance.
6 posts - 2 participants