Open wltng opened 4 days ago
Hello,
thanks for reporting an issue. I'm really puzzled by this report:
custom_components/aquarea/climate.py
file does not have 357 lines in this old version)self._attr_min_temp
(a single underscore before attr
) which is what the current code has but the exception refers to self.__attr_min_temp
(with double underscore) which I can't find anywhere in the code.:thinking:
https://github.com/kamaradclimber/heishamon-homeassistant/pull/251 will fix the second issue by disabling temperature set when heatpump is in external thermostat mode.
Thanks for your quick response.
In HACS it shows I have 1.13.0, when I go to Settings -> Devices and Services -> HeishaMon, I see 1.4.1
Maybe a removing and reinstalling would be the best option. I will check the new version and report back
I removed the intgration completely (aquarea folder in custom_components was gone) and reinstalled from scratch. With the new version 1.13.1 the errors no longer appear in the logs! The version number is however still 1.4.1 in the Settings page
Good catch, it seems the version of the integration there is taken from the manifest file while hacs uses the github release title.
For 2 days I haven't seen the error in the logs, but today I restarted HA, and somehow the same error has returned. The line is different now:
2024-09-16 16:43:20.238 ERROR (MainThread) [homeassistant.components.mqtt.client] Exception in target_temperature_message_received when handling msg on 'panasonic_heat_pump/main/Z1_Heat_Request_Temp': '0'
Traceback (most recent call last):
File "/config/custom_components/aquarea/climate.py", line 362, in target_temperature_message_received
if self._attr_min_temp != None and self._attr_max_temp != None:
^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 323, in __getattribute__
return super().__getattribute__(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 323, in __getattribute__
return super().__getattribute__(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'HeishaMonZoneClimate' object has no attribute '__attr_min_temp'. Did you mean: '_attr_min_temp'?
For now, I cannot reproduce which is very frustrating 😓
Is there anything I can supply to help? If I change the system to internal thermostat the problem is gone immediately.
There is now also an additional warning (that was fixed in the previous update I think)
[HEAT] Target temperature is not within expected range, this is suspicious. 0.0 should be within [10,30]
EDIT: The warning seems to have gone after a reboot of the HA system
Every 5 minutes I get the following error message in the HA log:
Using latest versions:
My Pana is set to external thermostat, so the provided climate entity cannot control the temperature.
Trying to change the temperature (which isn't possible when using external thermostat) results in:
Current attributes of the climate entity are: