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.
This commit is contained in:
Hans Oischinger
2022-12-11 18:53:05 +01:00
committed by GitHub
parent 188ce9bf49
commit 5fa9da25f2

View File

@@ -342,7 +342,7 @@ GLOBAL_SENSORS: tuple[ViCareSensorEntityDescription, ...] = (
), ),
ViCareSensorEntityDescription( ViCareSensorEntityDescription(
key="power_production_this_week", key="power_production_this_week",
name="Power production this week", name="Energy production this week",
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
value_getter=lambda api: api.getPowerProductionThisWeek(), value_getter=lambda api: api.getPowerProductionThisWeek(),
device_class=SensorDeviceClass.ENERGY, device_class=SensorDeviceClass.ENERGY,