Add icon translations to Sensibo (#112222)
* Add icon translations to Sensibo * Add icon translations to Sensibo * Add icon translations to Sensibo
This commit is contained in:
parent
58d0420a6b
commit
91b2dd4b83
8 changed files with 54 additions and 19 deletions
|
@ -70,13 +70,11 @@ MOTION_SENSOR_TYPES: tuple[SensiboMotionBinarySensorEntityDescription, ...] = (
|
|||
key="is_main_sensor",
|
||||
translation_key="is_main_sensor",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
icon="mdi:connection",
|
||||
value_fn=lambda data: data.is_main_sensor,
|
||||
),
|
||||
SensiboMotionBinarySensorEntityDescription(
|
||||
key="motion",
|
||||
device_class=BinarySensorDeviceClass.MOTION,
|
||||
icon="mdi:motion-sensor",
|
||||
value_fn=lambda data: data.motion,
|
||||
),
|
||||
)
|
||||
|
@ -86,7 +84,6 @@ MOTION_DEVICE_SENSOR_TYPES: tuple[SensiboDeviceBinarySensorEntityDescription, ..
|
|||
key="room_occupied",
|
||||
translation_key="room_occupied",
|
||||
device_class=BinarySensorDeviceClass.MOTION,
|
||||
icon="mdi:motion-sensor",
|
||||
value_fn=lambda data: data.room_occupied,
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue