diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index 53b3958ecf66..be6c3b8bfe00 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -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, + ), } diff --git a/tests/components/homekit_controller/specific_devices/test_eve_energy.py b/tests/components/homekit_controller/specific_devices/test_eve_energy.py index 0ba9b0bee250..70ae4a1db23f 100644 --- a/tests/components/homekit_controller/specific_devices/test_eve_energy.py +++ b/tests/components/homekit_controller/specific_devices/test_eve_energy.py @@ -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",