You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of any previous issues..
Describe the issue
When my heat pump turns on Optispark crashes with the logs shown below. Also this error is in the logs:
This error originated from a custom integration.
Logger: custom_components.optispark
Source: helpers/update_coordinator.py:318
integration: Optispark (documentation, issues)
First occurred: 3:44:49 PM (1 occurrences)
Last logged: 3:44:49 PM
Unexpected error fetching optispark data: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'
Traceback (most recent call last):
File "/config/custom_components/optispark/coordinator.py", line 135, in update_heat_pump_temperature
if self.heat_pump_target_temperature == temp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/optispark/coordinator.py", line 213, in heat_pump_target_temperature
temperature = climate_entity.target_temperature_low
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute
return super().getattribute(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/backports/functools.py", line 70, in get
val = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 571, in target_temperature_low
return self._attr_target_temperature_low
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute
return super().getattribute(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 345, in _getter
return getattr(o, private_attr_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute
return super().getattribute(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'. Did you mean: '_attr_target_temperature_low'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 318, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/optispark/coordinator.py", line 289, in _async_update_data
await self.update_heat_pump_temperature(data)
File "/config/custom_components/optispark/coordinator.py", line 147, in update_heat_pump_temperature
raise OptisparkSetTemperatureError(err)
custom_components.optispark.coordinator.OptisparkSetTemperatureError: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'
Reproduction steps
Install optispark
Turn on air conditioning heat pump
...
Debug logs
This error originated from a custom integration.
Logger: custom_components.optispark
Source: custom_components/optispark/coordinator.py:146
integration: Optispark (documentation, issues)
First occurred: 3:44:49 PM (1 occurrences)
Last logged: 3:44:49 PM
Traceback (most recent call last): File "/config/custom_components/optispark/coordinator.py", line 135, in update_heat_pump_temperature if self.heat_pump_target_temperature == temp: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/optispark/coordinator.py", line 213, in heat_pump_target_temperature temperature = climate_entity.target_temperature_low ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 322, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/backports/functools.py", line 70, in __get__ val = self.func(instance) ^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 571, in target_temperature_low return self._attr_target_temperature_low ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 322, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 345, in _getter return getattr(o, private_attr_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 322, in __getattribute__ return super().__getattribute__(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'. Did you mean: '_attr_target_temperature_low'?
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered:
System Health details
As per previous issues
Checklist
Describe the issue
When my heat pump turns on Optispark crashes with the logs shown below. Also this error is in the logs:
This error originated from a custom integration.
Logger: custom_components.optispark
Source: helpers/update_coordinator.py:318
integration: Optispark (documentation, issues)
First occurred: 3:44:49 PM (1 occurrences)
Last logged: 3:44:49 PM
Unexpected error fetching optispark data: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'
Traceback (most recent call last):
File "/config/custom_components/optispark/coordinator.py", line 135, in update_heat_pump_temperature
if self.heat_pump_target_temperature == temp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/optispark/coordinator.py", line 213, in heat_pump_target_temperature
temperature = climate_entity.target_temperature_low
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute
return super().getattribute(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/backports/functools.py", line 70, in get
val = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 571, in target_temperature_low
return self._attr_target_temperature_low
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute
return super().getattribute(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 345, in _getter
return getattr(o, private_attr_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 322, in getattribute
return super().getattribute(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'. Did you mean: '_attr_target_temperature_low'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 318, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/optispark/coordinator.py", line 289, in _async_update_data
await self.update_heat_pump_temperature(data)
File "/config/custom_components/optispark/coordinator.py", line 147, in update_heat_pump_temperature
raise OptisparkSetTemperatureError(err)
custom_components.optispark.coordinator.OptisparkSetTemperatureError: 'LGEACClimate' object has no attribute '__attr_target_temperature_low'
Reproduction steps
...
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: