diff --git a/homeassistant/components/switchbot/cover.py b/homeassistant/components/switchbot/cover.py index da6c710fed838..1da879cb02bfd 100644 --- a/homeassistant/components/switchbot/cover.py +++ b/homeassistant/components/switchbot/cover.py @@ -52,6 +52,7 @@ class SwitchBotCurtainEntity(SwitchbotEntity, CoverEntity, RestoreEntity): | CoverEntityFeature.SET_POSITION ) _attr_translation_key = "cover" + _attr_name = None def __init__(self, coordinator: SwitchbotDataUpdateCoordinator) -> None: """Initialize the Switchbot.""" diff --git a/homeassistant/components/switchbot/humidifier.py b/homeassistant/components/switchbot/humidifier.py index e5f1e3c46b4de..5b53b41020826 100644 --- a/homeassistant/components/switchbot/humidifier.py +++ b/homeassistant/components/switchbot/humidifier.py @@ -41,6 +41,7 @@ class SwitchBotHumidifier(SwitchbotSwitchedEntity, HumidifierEntity): _device: switchbot.SwitchbotHumidifier _attr_min_humidity = 1 _attr_translation_key = "humidifier" + _attr_name = None @property def is_on(self) -> bool | None: diff --git a/homeassistant/components/switchbot/light.py b/homeassistant/components/switchbot/light.py index 5dc99c5d6f1f3..53b40bbf78096 100644 --- a/homeassistant/components/switchbot/light.py +++ b/homeassistant/components/switchbot/light.py @@ -46,6 +46,7 @@ class SwitchbotLightEntity(SwitchbotEntity, LightEntity): """Representation of switchbot light bulb.""" _device: SwitchbotBaseLight + _attr_name = None def __init__(self, coordinator: SwitchbotDataUpdateCoordinator) -> None: """Initialize the Switchbot light.""" diff --git a/homeassistant/components/switchbot/lock.py b/homeassistant/components/switchbot/lock.py index 69ce0aa4750d7..7710cde12a9da 100644 --- a/homeassistant/components/switchbot/lock.py +++ b/homeassistant/components/switchbot/lock.py @@ -27,6 +27,7 @@ class SwitchBotLock(SwitchbotEntity, LockEntity): """Representation of a Switchbot lock.""" _attr_translation_key = "lock" + _attr_name = None _device: switchbot.SwitchbotLock def __init__(self, coordinator: SwitchbotDataUpdateCoordinator) -> None: diff --git a/homeassistant/components/switchbot/switch.py b/homeassistant/components/switchbot/switch.py index 25b76ea24cb96..f62e4d3f918a4 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -35,6 +35,7 @@ class SwitchBotSwitch(SwitchbotSwitchedEntity, SwitchEntity, RestoreEntity): _attr_device_class = SwitchDeviceClass.SWITCH _attr_translation_key = "bot" + _attr_name = None _device: switchbot.Switchbot def __init__(self, coordinator: SwitchbotDataUpdateCoordinator) -> None: