Closed Nezz closed 2 months ago
When the integration breaks, the IP in .storage/core.config_entries
is changed to IPv6:
That's why re-adding the device (with IPv4) fixes the integration.
Sorry for the late reply, I changed to code so it ignores IPv6 addresses, if you can test the beta release v2024.6.0b1 it should work.
Thank you, it's working nicely.
About two weeks ago I started having an issue where the integration stops working. The entities become unavailable and the integration is stuck in this state:![image](https://github.com/theneweinstein/somneo/assets/431167/d13ed7c5-a2a1-427d-8478-98f5264a1cb6)
The device has a fixed IP and I have IPv6 disabled in Home Assistant. I don't know where the error that's shown on mouseover comes from and why it has IPv6, but it's not in the logs.
Logs with DEBUG log level when restarting the integration:
The data returned by https://192.168.0.55/di/v1/products/1/wusts
The device works fine and can be accessed using the SleepMapper app. Restarting it or HA does not help. Removing the existing device and re-adding it resolves the issue for a day or two: