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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,