Automatically create HomeKit accessory mode entries (#46473)
When we set up HomeKit, we asked users if they wanted to create an entry in bridge or accessory mode. This approach required the user to understand how HomeKit works and choose which type to create. When the user includes the media player or camera domains, we exclude them from the bridge and create the additional entries for each entity in accessory mode.
This commit is contained in:
parent
9159f54900
commit
87cbbcb014
11 changed files with 472 additions and 428 deletions
|
@ -42,6 +42,7 @@ CONF_ENTITY_CONFIG = "entity_config"
|
|||
CONF_FEATURE = "feature"
|
||||
CONF_FEATURE_LIST = "feature_list"
|
||||
CONF_FILTER = "filter"
|
||||
CONF_EXCLUDE_ACCESSORY_MODE = "exclude_accessory_mode"
|
||||
CONF_LINKED_BATTERY_SENSOR = "linked_battery_sensor"
|
||||
CONF_LINKED_BATTERY_CHARGING_SENSOR = "linked_battery_charging_sensor"
|
||||
CONF_LINKED_DOORBELL_SENSOR = "linked_doorbell_sensor"
|
||||
|
@ -68,6 +69,7 @@ DEFAULT_AUDIO_CODEC = AUDIO_CODEC_OPUS
|
|||
DEFAULT_AUDIO_MAP = "0:a:0"
|
||||
DEFAULT_AUDIO_PACKET_SIZE = 188
|
||||
DEFAULT_AUTO_START = True
|
||||
DEFAULT_EXCLUDE_ACCESSORY_MODE = False
|
||||
DEFAULT_LOW_BATTERY_THRESHOLD = 20
|
||||
DEFAULT_MAX_FPS = 30
|
||||
DEFAULT_MAX_HEIGHT = 1080
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue