Fix iotawatt warnings about "Detected new cycle for sensor.{sensorname}_wh_last" (#115909)

* Bump ha-iotawattpy to 0.1.2

* Remove energy energy-over-period sensors: they cause issue for HA

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Simon Roberts 2024-04-24 18:24:49 +10:00 committed by GitHub
parent 102b34123c
commit 07d68eacfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View File

@ -63,6 +63,7 @@ class IotawattUpdater(DataUpdateCoordinator):
self.entry.data.get(CONF_USERNAME),
self.entry.data.get(CONF_PASSWORD),
integratedInterval="d",
includeNonTotalSensors=False,
)
try:
is_authenticated = await api.connect()

View File

@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/iotawatt",
"iot_class": "local_polling",
"loggers": ["iotawattpy"],
"requirements": ["ha-iotawattpy==0.1.1"]
"requirements": ["ha-iotawattpy==0.1.2"]
}

View File

@ -1026,7 +1026,7 @@ ha-av==10.1.1
ha-ffmpeg==3.2.0
# homeassistant.components.iotawatt
ha-iotawattpy==0.1.1
ha-iotawattpy==0.1.2
# homeassistant.components.philips_js
ha-philipsjs==3.1.1

View File

@ -840,7 +840,7 @@ ha-av==10.1.1
ha-ffmpeg==3.2.0
# homeassistant.components.iotawatt
ha-iotawattpy==0.1.1
ha-iotawattpy==0.1.2
# homeassistant.components.philips_js
ha-philipsjs==3.1.1