mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Add HomeKit battery config (#9159)
This commit is contained in:
parent
9e62468d17
commit
e3eb5c89d4
@ -31,9 +31,13 @@ homekit:
|
|||||||
- alarm_control_panel
|
- alarm_control_panel
|
||||||
- light
|
- light
|
||||||
- media_player
|
- media_player
|
||||||
|
include_entities:
|
||||||
|
- binary_sensor.living_room_motion
|
||||||
entity_config:
|
entity_config:
|
||||||
alarm_control_panel.home:
|
alarm_control_panel.home:
|
||||||
code: 1234
|
code: 1234
|
||||||
|
binary_sensor.living_room_motion:
|
||||||
|
linked_battery_sensor: sensor.living_room_motion_battery
|
||||||
light.kitchen_table:
|
light.kitchen_table:
|
||||||
name: Kitchen Table Light
|
name: Kitchen Table Light
|
||||||
lock.front_door:
|
lock.front_door:
|
||||||
@ -113,6 +117,10 @@ homekit:
|
|||||||
description: Name of the entity to show in HomeKit. HomeKit will cache the name on the first run so a device must be removed and then re-added for any change to take effect.
|
description: Name of the entity to show in HomeKit. HomeKit will cache the name on the first run so a device must be removed and then re-added for any change to take effect.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
linked_battery_sensor:
|
||||||
|
description: The `entity_id` of a `sensor` entity to use as the battery of the accessory. HomeKit will cache an accessory's feature set on the first run so a device must be removed and then re-added for any change to take effect.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
code:
|
code:
|
||||||
description: Code to `arm / disarm` an alarm or `lock / unlock` a lock. Only applicable for `alarm_control_panel` or `lock` entities.
|
description: Code to `arm / disarm` an alarm or `lock / unlock` a lock. Only applicable for `alarm_control_panel` or `lock` entities.
|
||||||
required: false
|
required: false
|
||||||
@ -439,3 +447,7 @@ Unfortunately, that sometimes happens at the moment. It might help to close the
|
|||||||
#### {% linkable_title Accessories not responding / behaving unusual - Upgrade from `0.65.x` %}
|
#### {% linkable_title Accessories not responding / behaving unusual - Upgrade from `0.65.x` %}
|
||||||
|
|
||||||
To fix this, you need to unpair the `Home Assistant Bridge`, delete the `.homekit.state` file ([guide](#deleting-the-homekitstate-file)) and pair it again. This should only be an issue if you're upgrading from `0.65.x` or below.
|
To fix this, you need to unpair the `Home Assistant Bridge`, delete the `.homekit.state` file ([guide](#deleting-the-homekitstate-file)) and pair it again. This should only be an issue if you're upgrading from `0.65.x` or below.
|
||||||
|
|
||||||
|
#### {% linkable_title The linked battery sensor isn't recognized %}
|
||||||
|
|
||||||
|
Try removing the entity from HomeKit and then adding it again. If you are adding this config option to an existing entity in HomeKit, any changes you make to this entity's config options won't appear until the accessory is removed from HomeKit and then re-added.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user