Add physical controls lock to homekit_controller (#75993)
parent
003ee853a3
commit
0167875789
|
@ -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,
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -74,6 +74,13 @@ async def test_eve_degree_setup(hass):
|
|||
unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
state="0.28999999165535",
|
||||
),
|
||||
EntityTestInfo(
|
||||
entity_id="switch.eve_energy_50ff_lock_physical_controls",
|
||||
unique_id="homekit-AA00A0A00000-aid:1-sid:28-cid:36",
|
||||
friendly_name="Eve Energy 50FF Lock Physical Controls",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
state="off",
|
||||
),
|
||||
EntityTestInfo(
|
||||
entity_id="button.eve_energy_50ff_identify",
|
||||
unique_id="homekit-AA00A0A00000-aid:1-sid:1-cid:3",
|
||||
|
|
Loading…
Reference in New Issue