Add Tibber estimated hour consumption sensor (#62003)

This commit is contained in:
Daniel Hjelseth Høyer 2021-12-16 12:15:40 +01:00 committed by GitHub
parent a9879487cc
commit b1b3079d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View file

@ -88,6 +88,12 @@ RT_SENSORS: tuple[SensorEntityDescription, ...] = (
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
state_class=SensorStateClass.TOTAL_INCREASING,
),
SensorEntityDescription(
key="estimatedHourConsumption",
name="Estimated consumption current hour",
device_class=SensorDeviceClass.ENERGY,
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
),
SensorEntityDescription(
key="accumulatedProduction",
name="accumulated production",