diff --git a/homeassistant/components/switchbot/cover.py b/homeassistant/components/switchbot/cover.py index da6c710fed8..1da879cb02b 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 e5f1e3c46b4..5b53b410208 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 5dc99c5d6f1..53b40bbf780 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 69ce0aa4750..7710cde12a9 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 25b76ea24cb..f62e4d3f918 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: