Ecowater Hydrolink Custom integration for Home Assistant
Hi everyone
First release of my custom integration for Ecowater water softeners that use the Hydrolink platform (EU). This integration allows you to monitor your water softener directly from Home Assistant, with detailed sensors and alerts.
Currently, there are 30 sensors available, and many more are possible. Although I think the most important ones have been adopted.
I tried configuring the integration and it logged in just fine but it fails when it initializes. Error message is "Failed setup, will retry: Error connecting to Ecowater API: Update failed: Update failed: “NoneType” object has no attribute.
The logs says this:
This error originated from a custom integration.
Logger: custom_components.ecowater_hydrolink_custom.coordinator
Source: custom_components/ecowater_hydrolink_custom/coordinator.py:474
Integration: Ecowater Hydrolink Custom (documentation, issues)
First occurred: 10:48:47 AM (10 occurrences)
Last logged: 10:52:33 AM
Error fetching Ecowater data
Traceback (most recent call last):
File “/config/custom_components/ecowater_hydrolink_custom/coordinator.py”, line 474, in _fetch_data
return await self._parse_device_data(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/ecowater_hydrolink_custom/coordinator.py”, line 322, in _parse_device_data
“salt_level_rounded”: wt.get(“salt_level”, {}).get(“salt_level_percent_rounded”),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘get’
Now I do have 2 devices set up on the account and I saw that this hasn’t been tested with more than one device. I have a softener and and iron filter. Could that be the issue?