core: Error while setting up suez_water platform for sensor
The problem
Suez water integration stopped working (around 10 days ago). Entity sensor.suez_water_client not available. No more data available in Home assistant.
What version of Home Assistant Core has the issue?
2023.2.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Suez Water
Link to integration documentation on our website
https://www.home-assistant.io/integrations/suez_water/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.sensor
Source: components/suez_water/sensor.py:50
Integration: Sensor (documentation, issues)
First occurred: 14:13:40 (1 occurrences)
Last logged: 14:13:40
Error while setting up suez_water platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/suez_water/sensor.py", line 50, in setup_platform
if not client.check_credentials():
File "/usr/local/lib/python3.10/site-packages/pysuez/client.py", line 192, in check_credentials
self._get_token()
File "/usr/local/lib/python3.10/site-packages/pysuez/client.py", line 55, in _get_token
self._token = result.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 16 (6 by maintainers)
Hi, if anyone interested I created this HACS integration, relatively easy to integrate: https://github.com/laurent-martin/hass_int_toutsurmoneau
Also, it can now be used as water provider, so you can get: