I’m having an issue to include extra yaml files into my configuration.yaml. I tried differed ways , looked all over youtube and even started a new Home assistant server to test from scratch. Probably I’m doing something wrong
I’m using the Following code in my configuration ( I added the cameras.yaml )
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
camera: !include cameras.yaml
#### alamrs #####
alarm_control_panel:
- platform: manual
I keep getting the following error code and can’t figure out why its not working. It was working before without issue but I was recently adding new code for alexa switches then started getting errors that point me to the lines for my camera. Can anyone tell whats going on. I checked all the spacing?
Configuration errors Error loading /config/configuration.yaml: while parsing a block collection
** in “/config/configuration.yaml”, line 20, column 3** expected , but found ‘?’
** in “/config/configuration.yaml”, line 36, column 3**
amcrest:
host: 192.168.xx.xxx
username: admin
password:
name: Camera 1
binary_sensors:
motion_detected
crossline_detected
online
host: 192.168.xx.xxxx
username: admin
name: Camera 2
password:
binary_sensors:
motion_detected
crossline_detected
online
sensors:
sdcard
Add thrid camera
host: 192.168.xx.xxx
username: admin
password:
name: Camera 3
binary_sensors:
Configuration errors
Error loading /config/configuration.yaml: while parsing a block collection
in “/config/configuration.yaml”, line 20, column 3
expected , but found ‘?’
in “/config/configuration.yaml”, line 36, column 3