Safe Mode Activated: "mapping values are not allowed" in configuration.yaml?

Hi - just started using HA OS a few days ago, and ran into a problem when trying to get my Ring Doorbell to show up properly in HomeKit as a doorbell.

I first setup a live video feed entity, which is working fine, thanks to the MQTT video streaming add on.

In configuration.yaml I added:

camera:
  - platform: generic
    name: Front Door Doorbell Video
    still_image_url: https://*mydomain*{{ states.camera.front_door_snapshot.attributes.entity_picture }}
    stream_source: rtsp://*mystream*_live

This allowed me to add the video to HomeKit, but not as a doorbell, with the AppleTV integration upon doorbell ringing.

I then read I needed to setup a new entity in configuration.yaml to associate the doorbell ring sensor with the camera feed. I added this code:

homekit:
  filter:
    include_entities:
      - camera.front_door_doorbell_video
  entity_config:
    camera.front_door_doorbell_video
      name: Front Doorbell
      support_audio: True
      linked_doorbell_sensor: binary_sensor.front_door_ding

This led to the above error, and I can’t figure out how to resolve. Any tips?

You are missing a colon here:

  entity_config:
    camera.front_door_doorbell_video:
                                    ^
                                    |
1 Like

2 hours of pain, one colon. :slight_smile:

Thanks so much for your quick response. Got everything working now.

Note for anyone else attempting to get the doorbell integration working with Ring: There appears to be quite a delay between when you start the feed and see the live stream come through (I counted ~20 seconds) vs the native Ring app, so while it may be helpful as a notification on AppleTV, it may not be the best solution for watching an event in real time.

1 Like