From cdab4e89020621de52fa0bffec5584bdd3d16e2d Mon Sep 17 00:00:00 2001 From: Thomas Germain <12560542+thomasgermain@users.noreply.github.com> Date: Fri, 3 Sep 2021 14:51:04 +0200 Subject: [PATCH] 1 9 0 (#93) 1.9.0 release --- custom_components/multimatic/manifest.json | 5 +++-- custom_components/multimatic/sensor.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/custom_components/multimatic/manifest.json b/custom_components/multimatic/manifest.json index 4d2a1df..93dd36d 100644 --- a/custom_components/multimatic/manifest.json +++ b/custom_components/multimatic/manifest.json @@ -5,7 +5,7 @@ "documentation": "https://github.com/thomasgermain/vaillant-component", "issue_tracker": "https://github.com/thomasgermain/vaillant-component/issues", "requirements": [ - "pymultimatic==0.6.0" + "pymultimatic==0.6.1" ], "ssdp": [], "zeroconf": [], @@ -14,6 +14,7 @@ "codeowners": [ "@thomasgermain" ], - "version": "1.8.1", + "version": "1.9.0", + "homeassistant": "2021.9.1", "iot_class": "cloud_polling" } diff --git a/custom_components/multimatic/sensor.py b/custom_components/multimatic/sensor.py index 81a9ca2..c04e2ea 100644 --- a/custom_components/multimatic/sensor.py +++ b/custom_components/multimatic/sensor.py @@ -12,7 +12,7 @@ DEVICE_CLASS_PRESSURE, DEVICE_CLASS_TEMPERATURE, DOMAIN, - STATE_CLASS_MEASUREMENT, + STATE_CLASS_TOTAL_INCREASING, SensorEntity, ) from homeassistant.const import ENERGY_WATT_HOUR, TEMP_CELSIUS @@ -215,4 +215,4 @@ def last_reset(self) -> datetime.datetime: @property def state_class(self) -> str: """Return the state class of this entity.""" - return STATE_CLASS_MEASUREMENT + return STATE_CLASS_TOTAL_INCREASING