mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Add litter level sensor for Litter-Robot 4 (#78602)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
cc51052be5
commit
c3ca9f3ad1
@ -100,12 +100,18 @@ ROBOT_SENSOR_MAP: dict[type[Robot], list[RobotSensorEntityDescription]] = {
|
||||
),
|
||||
],
|
||||
LitterRobot4: [
|
||||
RobotSensorEntityDescription[LitterRobot4](
|
||||
key="litter_level",
|
||||
name="Litter level",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
icon_fn=lambda state: icon_for_gauge_level(state, 10),
|
||||
),
|
||||
RobotSensorEntityDescription[LitterRobot4](
|
||||
key="pet_weight",
|
||||
name="Pet weight",
|
||||
icon="mdi:scale",
|
||||
native_unit_of_measurement=MASS_POUNDS,
|
||||
)
|
||||
),
|
||||
],
|
||||
FeederRobot: [
|
||||
RobotSensorEntityDescription[FeederRobot](
|
||||
|
Loading…
x
Reference in New Issue
Block a user