Yes I have already read this page and I tried different configuration but rine does not. I already made a template to extract the temperature and humidity without problem but I block it.
Hi, how did you get the suez integration work? never succedeed
Logger: homeassistant.components.sensor
Integration: Capteur (documentation, issues)
First occured: 11:56:22 (1 occurences)
Last logged: 11:56:22
suez_water: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 312, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/suez_water/sensor.py", line 124, in update
self._fetch_data()
File "/usr/src/homeassistant/homeassistant/components/suez_water/sensor.py", line 88, in _fetch_data
self.client.update()
File "/usr/local/lib/python3.7/site-packages/pysuez/client.py", line 234, in update
self._fetch_data()
File "/usr/local/lib/python3.7/site-packages/pysuez/client.py", line 112, in _fetch_data
yesterday_day)-1][1])*1000)
IndexError: list index out of range
I have the same problem. suez_water sensor give a json list of historical values (this_month_consumption) and I don’t know how to make an historical graph with that.
If anyone would like, here’s an example using the HACS add-on ApexCharts. This will give an 8 week graph ending in the current month, and displays the daily consumption.
I’ve tried to make it slightly more useful by finding a rolling 7 day average, but haven’t been successful at getting that up and running in a format that looks nice. But this code below works, if only to display the available data from the sensor integration!