diff --git a/homeassistant/components/switchbot/binary_sensor.py b/homeassistant/components/switchbot/binary_sensor.py index 237a2d97668..7169f01b38f 100644 --- a/homeassistant/components/switchbot/binary_sensor.py +++ b/homeassistant/components/switchbot/binary_sensor.py @@ -41,7 +41,6 @@ BINARY_SENSOR_TYPES: dict[str, BinarySensorEntityDescription] = { ), "is_light": BinarySensorEntityDescription( key="is_light", - translation_key="light", device_class=BinarySensorDeviceClass.LIGHT, ), "door_open": BinarySensorEntityDescription( diff --git a/homeassistant/components/switchbot/sensor.py b/homeassistant/components/switchbot/sensor.py index e9e434bc51c..a408bcb58bc 100644 --- a/homeassistant/components/switchbot/sensor.py +++ b/homeassistant/components/switchbot/sensor.py @@ -46,7 +46,6 @@ SENSOR_TYPES: dict[str, SensorEntityDescription] = { ), "battery": SensorEntityDescription( key="battery", - translation_key="battery", native_unit_of_measurement=PERCENTAGE, device_class=SensorDeviceClass.BATTERY, state_class=SensorStateClass.MEASUREMENT, @@ -60,7 +59,6 @@ SENSOR_TYPES: dict[str, SensorEntityDescription] = { ), "humidity": SensorEntityDescription( key="humidity", - translation_key="humidity", native_unit_of_measurement=PERCENTAGE, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.HUMIDITY, @@ -74,7 +72,6 @@ SENSOR_TYPES: dict[str, SensorEntityDescription] = { ), "power": SensorEntityDescription( key="power", - translation_key="power", native_unit_of_measurement=UnitOfPower.WATT, state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.POWER, diff --git a/homeassistant/components/switchbot/strings.json b/homeassistant/components/switchbot/strings.json index c00f2fe79e4..8eab1ec6f1a 100644 --- a/homeassistant/components/switchbot/strings.json +++ b/homeassistant/components/switchbot/strings.json @@ -67,9 +67,6 @@ "door_timeout": { "name": "Timeout" }, - "light": { - "name": "[%key:component::binary_sensor::entity_component::light::name%]" - }, "door_unclosed_alarm": { "name": "Unclosed alarm" }, @@ -87,17 +84,8 @@ "wifi_signal": { "name": "Wi-Fi signal" }, - "battery": { - "name": "[%key:component::sensor::entity_component::battery::name%]" - }, "light_level": { "name": "Light level" - }, - "humidity": { - "name": "[%key:component::sensor::entity_component::humidity::name%]" - }, - "power": { - "name": "[%key:component::sensor::entity_component::power::name%]" } }, "cover": {