Mill Heater: Add support for Energy consumption (#43523)

This commit is contained in:
Daniel Hjelseth Høyer 2020-11-23 10:26:50 +01:00 committed by GitHub
parent 47ff04d9ad
commit 3b105c415b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -114,6 +114,8 @@ class MillHeater(ClimateEntity):
"heating": self._heater.is_heating,
"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,
}
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.3.4"],
"requirements": ["millheater==0.4.0"],
"codeowners": ["@danielhiversen"],
"config_flow": true
}

View File

@ -943,7 +943,7 @@ mficlient==0.3.0
miflora==0.7.0
# homeassistant.components.mill
millheater==0.3.4
millheater==0.4.0
# homeassistant.components.minio
minio==4.0.9

View File

@ -468,7 +468,7 @@ meteofrance-api==0.1.1
mficlient==0.3.0
# homeassistant.components.mill
millheater==0.3.4
millheater==0.4.0
# homeassistant.components.minio
minio==4.0.9