Add icon translations to Litterrobot (#111899)
This commit is contained in:
parent
f0be33fc6a
commit
e43c62af1e
6 changed files with 46 additions and 17 deletions
|
@ -52,7 +52,6 @@ BINARY_SENSOR_MAP: dict[type[Robot], tuple[RobotBinarySensorEntityDescription, .
|
|||
RobotBinarySensorEntityDescription[LitterRobot](
|
||||
key="sleeping",
|
||||
translation_key="sleeping",
|
||||
icon="mdi:sleep",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
is_on_fn=lambda robot: robot.is_sleeping,
|
||||
|
@ -60,7 +59,6 @@ BINARY_SENSOR_MAP: dict[type[Robot], tuple[RobotBinarySensorEntityDescription, .
|
|||
RobotBinarySensorEntityDescription[LitterRobot](
|
||||
key="sleep_mode",
|
||||
translation_key="sleep_mode",
|
||||
icon="mdi:sleep",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
is_on_fn=lambda robot: robot.sleep_mode_enabled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue