Rename 'life' to 'lifetime' in Tuya (#96813)

pull/96818/head
c0ffeeca7 2023-07-18 09:54:07 +02:00 committed by GitHub
parent 9b29cbd71c
commit 43842e243d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -854,25 +854,25 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
),
TuyaSensorEntityDescription(
key=DPCode.DUSTER_CLOTH,
name="Duster cloth life",
name="Duster cloth lifetime",
icon="mdi:ticket-percent-outline",
state_class=SensorStateClass.MEASUREMENT,
),
TuyaSensorEntityDescription(
key=DPCode.EDGE_BRUSH,
name="Side brush life",
name="Side brush lifetime",
icon="mdi:ticket-percent-outline",
state_class=SensorStateClass.MEASUREMENT,
),
TuyaSensorEntityDescription(
key=DPCode.FILTER_LIFE,
name="Filter life",
name="Filter lifetime",
icon="mdi:ticket-percent-outline",
state_class=SensorStateClass.MEASUREMENT,
),
TuyaSensorEntityDescription(
key=DPCode.ROLL_BRUSH,
name="Rolling brush life",
name="Rolling brush lifetime",
icon="mdi:ticket-percent-outline",
state_class=SensorStateClass.MEASUREMENT,
),