Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107832

Error loading /config/configuration.yaml: mapping values are not allowed here in

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 107832


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>