mirror of
https://github.com/home-assistant/core.git
synced 2025-11-23 09:46:54 +00:00
Add entity translations to Litterrobot (#95316)
This commit is contained in:
@@ -51,7 +51,7 @@ BINARY_SENSOR_MAP: dict[type[Robot], tuple[RobotBinarySensorEntityDescription, .
|
||||
LitterRobot: (
|
||||
RobotBinarySensorEntityDescription[LitterRobot](
|
||||
key="sleeping",
|
||||
name="Sleeping",
|
||||
translation_key="sleeping",
|
||||
icon="mdi:sleep",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
@@ -59,7 +59,7 @@ BINARY_SENSOR_MAP: dict[type[Robot], tuple[RobotBinarySensorEntityDescription, .
|
||||
),
|
||||
RobotBinarySensorEntityDescription[LitterRobot](
|
||||
key="sleep_mode",
|
||||
name="Sleep mode",
|
||||
translation_key="sleep_mode",
|
||||
icon="mdi:sleep",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
@@ -69,7 +69,7 @@ BINARY_SENSOR_MAP: dict[type[Robot], tuple[RobotBinarySensorEntityDescription, .
|
||||
Robot: (
|
||||
RobotBinarySensorEntityDescription[Robot](
|
||||
key="power_status",
|
||||
name="Power status",
|
||||
translation_key="power_status",
|
||||
device_class=BinarySensorDeviceClass.PLUG,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
|
||||
Reference in New Issue
Block a user