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

@ -2,7 +2,7 @@
"domain": "tibber",
"name": "Tibber",
"documentation": "https://www.home-assistant.io/integrations/tibber",
"requirements": ["pyTibber==0.21.1"],
"requirements": ["pyTibber==0.21.4"],
"codeowners": ["@danielhiversen"],
"quality_scale": "silver",
"config_flow": true,

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

View file

@ -1336,7 +1336,7 @@ pyRFXtrx==0.27.0
# pySwitchmate==0.4.6
# homeassistant.components.tibber
pyTibber==0.21.1
pyTibber==0.21.4
# homeassistant.components.dlink
pyW215==0.7.0

View file

@ -817,7 +817,7 @@ pyMetno==0.9.0
pyRFXtrx==0.27.0
# homeassistant.components.tibber
pyTibber==0.21.1
pyTibber==0.21.4
# homeassistant.components.nextbus
py_nextbusnext==0.1.5