Fix Mill consumption data (#52320)

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
Daniel Hjelseth Høyer 2021-06-30 01:31:56 +02:00 committed by GitHub
parent f772eab7b7
commit 04d8f88269
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -110,7 +110,7 @@ class MillHeater(ClimateEntity):
"controlled_by_tibber": self._heater.tibber_control,
"heater_generation": 1 if self._heater.is_gen1 else 2,
"consumption_today": self._heater.day_consumption,
"consumption_total": self._heater.total_consumption,
"consumption_total": self._heater.year_consumption,
}
if self._heater.room:
res["room"] = self._heater.room.name

View file

@ -2,7 +2,7 @@
"domain": "mill",
"name": "Mill",
"documentation": "https://www.home-assistant.io/integrations/mill",
"requirements": ["millheater==0.4.1"],
"requirements": ["millheater==0.5.0"],
"codeowners": ["@danielhiversen"],
"config_flow": true,
"iot_class": "cloud_polling"

View file

@ -973,7 +973,7 @@ micloud==0.3
miflora==0.7.0
# homeassistant.components.mill
millheater==0.4.1
millheater==0.5.0
# homeassistant.components.minio
minio==4.0.9

View file

@ -545,7 +545,7 @@ mficlient==0.3.0
micloud==0.3
# homeassistant.components.mill
millheater==0.4.1
millheater==0.5.0
# homeassistant.components.minio
minio==4.0.9