mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix Mill consumption data (#52320)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
parent
f772eab7b7
commit
04d8f88269
@ -110,7 +110,7 @@ class MillHeater(ClimateEntity):
|
|||||||
"controlled_by_tibber": self._heater.tibber_control,
|
"controlled_by_tibber": self._heater.tibber_control,
|
||||||
"heater_generation": 1 if self._heater.is_gen1 else 2,
|
"heater_generation": 1 if self._heater.is_gen1 else 2,
|
||||||
"consumption_today": self._heater.day_consumption,
|
"consumption_today": self._heater.day_consumption,
|
||||||
"consumption_total": self._heater.total_consumption,
|
"consumption_total": self._heater.year_consumption,
|
||||||
}
|
}
|
||||||
if self._heater.room:
|
if self._heater.room:
|
||||||
res["room"] = self._heater.room.name
|
res["room"] = self._heater.room.name
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "mill",
|
"domain": "mill",
|
||||||
"name": "Mill",
|
"name": "Mill",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/mill",
|
"documentation": "https://www.home-assistant.io/integrations/mill",
|
||||||
"requirements": ["millheater==0.4.1"],
|
"requirements": ["millheater==0.5.0"],
|
||||||
"codeowners": ["@danielhiversen"],
|
"codeowners": ["@danielhiversen"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "cloud_polling"
|
"iot_class": "cloud_polling"
|
||||||
|
@ -973,7 +973,7 @@ micloud==0.3
|
|||||||
miflora==0.7.0
|
miflora==0.7.0
|
||||||
|
|
||||||
# homeassistant.components.mill
|
# homeassistant.components.mill
|
||||||
millheater==0.4.1
|
millheater==0.5.0
|
||||||
|
|
||||||
# homeassistant.components.minio
|
# homeassistant.components.minio
|
||||||
minio==4.0.9
|
minio==4.0.9
|
||||||
|
@ -545,7 +545,7 @@ mficlient==0.3.0
|
|||||||
micloud==0.3
|
micloud==0.3
|
||||||
|
|
||||||
# homeassistant.components.mill
|
# homeassistant.components.mill
|
||||||
millheater==0.4.1
|
millheater==0.5.0
|
||||||
|
|
||||||
# homeassistant.components.minio
|
# homeassistant.components.minio
|
||||||
minio==4.0.9
|
minio==4.0.9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user