Getting following message when trying to setup my Arlo into HA
Nay help on whats wrong would be apreciated
Error loading /home/homeassistant/.homeassistant/configuration.yaml: while parsing a block mapping in "/home/homeassistant/.homeassistant/configuration.yaml", line 1, column 1 expected <block end>, but found '<block sequence start>' in "/home/homeassistant/.homeassistant/configuration.yaml", line 130, column 2
- id: disarm_arlo_when_arriving
alias: Set Arlo cameras to Home mode when arriving
trigger:
platform: state
entity_id: group.family
from: not_home
to: home
action:
service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.kamera_server
trigger:
platform: state
entity_id: group.family
from: home
to: not_home
action:
service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.kamera_server
- id: disarm_arlo_when_arriving
alias: Set Arlo cameras to Home mode when arriving
trigger:
platform: state
entity_id: group.family
#Arlo
arlo:
username: XXX
password: XXX
scan_interval: 60
alarm_control_panel:
- platform: arlo
sensor:
- platform: arlo
monitored_conditions:
- captured_today
- last_capture
- total_cameras
- battery_level
- signal_strength
camera:
- platform: arlo
ffmpeg_arguments: '-pred 1 -q:v 2'
group:
family:
name: Familjen
entities:
- device_tracker.robbans_iphone
- device_tracker.helenas_iphonex
- id: disarm_arlo_when_arriving
alias: Set Arlo cameras to Home mode when arriving
trigger:
platform: state
entity_id: group.family
from: not_home
to: home
action:
service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.kamera_server
trigger:
platform: state
entity_id: group.family
from: home
to: not_home
action:
service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.kamera_server
- id: disarm_arlo_when_arriving
alias: Set Arlo cameras to Home mode when arriving
trigger:
platform: state
entity_id: group.family
You’re all over the board here. You really need to read and learn yaml. It’s clear you don’t understand the spacing or how the fields work. I suggest reading the docs to figure it out
You are missing the automation section.
Your spacing is off just about everywhere. Please read and understand yaml spacing.
You’re duplicating automations without adding a new bullet.
You have half an automation at the end with no actions.
#Arlo
arlo:
username: XXX
password: XXX
scan_interval: 60
alarm_control_panel:
- platform: arlo
sensor:
- platform: arlo
monitored_conditions:
- captured_today
- last_capture
- total_cameras
- battery_level
- signal_strength
camera:
- platform: arlo
ffmpeg_arguments: '-pred 1 -q:v 2'
group:
family:
name: Familjen
entities:
- device_tracker.robbans_iphone
- device_tracker.helenas_iphonex
automation:
- id: disarm_arlo_when_arriving
alias: Set Arlo cameras to Home mode when arriving
trigger:
platform: state
entity_id: group.family
from: not_home
to: home
action:
service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.kamera_server
- id: something
trigger:
platform: state
entity_id: group.family
from: home
to: not_home
action:
service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.kamera_server