From 5fa9da25f2d25ac83dd5a360d0f23ff9a75cc0c0 Mon Sep 17 00:00:00 2001 From: Hans Oischinger Date: Sun, 11 Dec 2022 18:53:05 +0100 Subject: [PATCH] Rename "Power production this week" vicare sensor (#83771) vicare: Rename "Power production this week" sensor 'Power' should be 'Energy' like for the other timespanns. This one was forgotten last time this area was cleaned up. --- homeassistant/components/vicare/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/vicare/sensor.py b/homeassistant/components/vicare/sensor.py index b8eb3f61c15..9f74df79e2b 100644 --- a/homeassistant/components/vicare/sensor.py +++ b/homeassistant/components/vicare/sensor.py @@ -342,7 +342,7 @@ GLOBAL_SENSORS: tuple[ViCareSensorEntityDescription, ...] = ( ), ViCareSensorEntityDescription( key="power_production_this_week", - name="Power production this week", + name="Energy production this week", native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, value_getter=lambda api: api.getPowerProductionThisWeek(), device_class=SensorDeviceClass.ENERGY,