mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add physical controls lock to homekit_controller (#75993)
This commit is contained in:
parent
003ee853a3
commit
0167875789
@ -50,6 +50,12 @@ SWITCH_ENTITIES: dict[str, DeclarativeSwitchEntityDescription] = {
|
|||||||
icon="mdi:lock-open",
|
icon="mdi:lock-open",
|
||||||
entity_category=EntityCategory.CONFIG,
|
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,
|
unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
state="0.28999999165535",
|
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(
|
EntityTestInfo(
|
||||||
entity_id="button.eve_energy_50ff_identify",
|
entity_id="button.eve_energy_50ff_identify",
|
||||||
unique_id="homekit-AA00A0A00000-aid:1-sid:1-cid:3",
|
unique_id="homekit-AA00A0A00000-aid:1-sid:1-cid:3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user