From 43842e243d96d68c593a7247a1d6a456d787584c Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:54:07 +0200 Subject: [PATCH] Rename 'life' to 'lifetime' in Tuya (#96813) --- homeassistant/components/tuya/sensor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/tuya/sensor.py b/homeassistant/components/tuya/sensor.py index afa40f27afd..96866b7cd67 100644 --- a/homeassistant/components/tuya/sensor.py +++ b/homeassistant/components/tuya/sensor.py @@ -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, ),