mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Rename 'life' to 'lifetime' in Tuya (#96813)
This commit is contained in:
parent
9b29cbd71c
commit
43842e243d
@ -854,25 +854,25 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
|
|||||||
),
|
),
|
||||||
TuyaSensorEntityDescription(
|
TuyaSensorEntityDescription(
|
||||||
key=DPCode.DUSTER_CLOTH,
|
key=DPCode.DUSTER_CLOTH,
|
||||||
name="Duster cloth life",
|
name="Duster cloth lifetime",
|
||||||
icon="mdi:ticket-percent-outline",
|
icon="mdi:ticket-percent-outline",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
TuyaSensorEntityDescription(
|
TuyaSensorEntityDescription(
|
||||||
key=DPCode.EDGE_BRUSH,
|
key=DPCode.EDGE_BRUSH,
|
||||||
name="Side brush life",
|
name="Side brush lifetime",
|
||||||
icon="mdi:ticket-percent-outline",
|
icon="mdi:ticket-percent-outline",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
TuyaSensorEntityDescription(
|
TuyaSensorEntityDescription(
|
||||||
key=DPCode.FILTER_LIFE,
|
key=DPCode.FILTER_LIFE,
|
||||||
name="Filter life",
|
name="Filter lifetime",
|
||||||
icon="mdi:ticket-percent-outline",
|
icon="mdi:ticket-percent-outline",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
TuyaSensorEntityDescription(
|
TuyaSensorEntityDescription(
|
||||||
key=DPCode.ROLL_BRUSH,
|
key=DPCode.ROLL_BRUSH,
|
||||||
name="Rolling brush life",
|
name="Rolling brush lifetime",
|
||||||
icon="mdi:ticket-percent-outline",
|
icon="mdi:ticket-percent-outline",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user