Add physical controls lock to homekit_controller (#75993)

This commit is contained in:
Jc2k 2022-07-31 21:30:29 +01:00 committed by GitHub
parent 003ee853a3
commit 0167875789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -50,6 +50,12 @@ SWITCH_ENTITIES: dict[str, DeclarativeSwitchEntityDescription] = {
icon="mdi:lock-open",
entity_category=EntityCategory.CONFIG,
),
CharacteristicsTypes.LOCK_PHYSICAL_CONTROLS: DeclarativeSwitchEntityDescription(
key=CharacteristicsTypes.LOCK_PHYSICAL_CONTROLS,
name="Lock Physical Controls",
icon="mdi:lock-open",
entity_category=EntityCategory.CONFIG,
),
}