home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.04k stars 30.56k forks source link

homekit bridge linked_doorbell_sensor is an invalid option for homekit #129443

Open krauseerl opened 9 hours ago

krauseerl commented 9 hours ago

The problem

2024.8 brings support for an event entity as a linked_doorbell_sensor in homekit bridge. 2024.9 should also enable events for linked_doorbell_sensor (see #123991) changed by @frenck

documentation says:

linked_doorbell_sensor string (Optional) The entity_id of a binary_sensor or event entity to use as the doorbell sensor of the camera accessory to enable doorbell notifications.

My homekit config in configuration.yaml:

- name: HomeKit Ring.com
  port: 21065
  mode: accessory
  filter:
    include_entities:
      - lock.mydoor
  entity_config:
    lock.mydoor:
      low_battery_threshold: 25
      linked_doorbell_sensor: event.mydoor_doorbell
      linked_battery_sensor: sensor.mydoor_battery

checking config in developer tools produces this warning:

Invalid config for 'homekit' at homekit.yaml, line 28: 'linked_doorbell_sensor' is an invalid option for 'homekit', check: homekit->2->entity_config->linked_doorbell_sensor

If you ignore that warning and restart anyway, homekit bridge doesn't reload. I am using ring.com integration

What version of Home Assistant Core has the issue?

core-2024.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Homekit Bridge

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit

Diagnostics information

No response

Example YAML snippet

- name: HomeKit Ring.com
  port: 21065
  mode: accessory
  filter:
    include_entities:
      - lock.mydoor
  entity_config:
    lock.mydoor:
      low_battery_threshold: 25
      linked_doorbell_sensor: event.mydoor_doorbell
      linked_battery_sensor: sensor.mydoor_battery

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 9 hours ago

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `homekit` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign homekit` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homekit documentation homekit source (message by IssueLinks)