Arlo alarm config error

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

wrong spacing.


Correct spacing:

 - id: disarm_arlo_when_arriving
   alias: Set Arlo cameras to Home mode when arriving

You’ll have to fix all lines under alias.

1 Like

Still same error
Complain is on - id line


camera:
  - platform: arlo
    ffmpeg_arguments: '-pred 1 -q:v 2'

group:
  family:
    name: Familjen
    entities:
      - device_tracker.robbans_iphone
      - device_tracker.helenas_iphonex


 - id: arm_arlo_when_leaving
   alias: Arm Arlo cameras when leaving
   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

I am not sure wha i am missing here.

#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

  1. You are missing the automation section.
  2. Your spacing is off just about everywhere. Please read and understand yaml spacing.
  3. You’re duplicating automations without adding a new bullet.
  4. 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

All the red on the right image is what you were missing.
All the red on the left image is what you had that shouldn’t be there.

1 Like