tadasdanielius/daikin_altherma

Hot Water tank gives error logs

artstam opened this issue · 12 comments

It works fantastic for controlling the heatpump but i have no water tank connected. In the error log i get a list of errors like:
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
capabilities=entity.capability_attributes,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/water_heater/init.py", line 206, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision

If i inactivate the water tank its makes no difference. What can i do to get rid of the errors?

Technically you should only see a warning message "Cannot find daikin hot water tank unit." without any errors but I have no way of testing it as I do have integrated water tank.
The error you posted does not include any reference to integration so it is tricky to say at which point this error is originating. Do you see water heater device created?

Okay, it appears that the gateway still reports that the hot water tank is "available," even without any sensors. If I have some time at some point, I will try to do additional logic to check if it is actually a valid hot water tank before adding it to the HA. In the meantime, have you tried disabling the domestic hot water device?

Since some days, the fantastic Altherma HVAC that worked fine with Home Assistant, cycles becoming non available also in short (minutes) cicles. Only reloading the integration solved the issue until becoming unavailable again. I saw that the hot water tank went into error (i never had one) so I disactivated the sensor with the result that the integration itself does recover (sometimes) the controller after becoming unavailable. I can send you a log, maybe it can be of any help? Home assistant core 2023.11.3 last 0S with BRP069A62 adapter.
AlthermaHVAC.log

@Bettinaglio It looks like it is unable to connect to the device. Have you made some changes to the network? Maybe in your router your device IP has changed. Somewhere in the Onecta app (Hot water tank > settings > block > LAN I don't remember exactly the path but you should find it). Check if IP address of your device is 192.168.222.2. Worst case scenario you can try to delete the devices and add again.

@artstam Made some changes can you check if you see any changes with new release?

Dunc63 commented

I love this integration but I also get an error with the Hot Water Tank. It says Unavailable and then on clicking shows "This entity is no longer being provided by the daikin_altherma integration. If the entity is no longer in use, delete it in settings." It was working until recently. Is there a plan to get this back working please?

Which version you are using? This could be a problem with new HA release. Some of the functionality was deprecated by HA. I suggest you to try to upgrade to the latest version of this integration. Some of the problems I have already addressed.

Dunc63 commented

Core
2024.1.0
Supervisor
2023.12.0
Operating System
11.2
Frontend
20240103.3

Dunc63 commented

Updated to latest version of the integration and it's working again now. Many Thanks

It works smoothly like before, thanks a lot, good work Dan! Enjoy a happy week-end.