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()