The problem
Hello,
i have a ELV Max Cube integration, i can see info from wall and radiator thermostats, so it seems ok, but i can't set the mode of the heating to "auto".
I get a disconnection error and in logs i see this:
'MaxWallThermostat' object has no attribute 'get_programmed_temp_at'
with this traceback:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service return await cast( ^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service return await service.entity_service_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 848, in entity_service_call response_data = task.result() # pop exception if have ^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1192, in async_request_call return await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 497, in async_set_hvac_mode await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode) File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 132, in set_hvac_mode self._set_target(MAX_DEVICE_MODE_AUTOMATIC, None) File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 150, in _set_target self._cubehandle.cube.set_temperature_mode(self._device, temp, mode) File "/usr/local/lib/python3.11/site-packages/maxcube/cube.py", line 315, in set_temperature_mode thermostat.target_temperature = thermostat.get_programmed_temp_at( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MaxWallThermostat' object has no attribute 'get_programmed_temp_at'
On the other side it seems i can set (for example) off or heat modes, but automatic is just crashing:

What version of Home Assistant Core has the issue?
core-2023.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ELV Max!
Link to integration documentation on our website
https://www.home-assistant.io/integrations/maxcube/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service
return await cast(
^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 848, in entity_service_call
response_data = task.result() # pop exception if have
^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1192, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 497, in async_set_hvac_mode
await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 132, in set_hvac_mode
self._set_target(MAX_DEVICE_MODE_AUTOMATIC, None)
File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 150, in _set_target
self._cubehandle.cube.set_temperature_mode(self._device, temp, mode)
File "/usr/local/lib/python3.11/site-packages/maxcube/cube.py", line 315, in set_temperature_mode
thermostat.target_temperature = thermostat.get_programmed_temp_at(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'MaxWallThermostat' object has no attribute 'get_programmed_temp_at
Additional information
No response
The problem
Hello,
i have a ELV Max Cube integration, i can see info from wall and radiator thermostats, so it seems ok, but i can't set the mode of the heating to "auto".
I get a disconnection error and in logs i see this:
'MaxWallThermostat' object has no attribute 'get_programmed_temp_at'
with this traceback:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service return await cast( ^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service return await service.entity_service_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 848, in entity_service_call response_data = task.result() # pop exception if have ^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1192, in async_request_call return await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 497, in async_set_hvac_mode await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode) File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 132, in set_hvac_mode self._set_target(MAX_DEVICE_MODE_AUTOMATIC, None) File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 150, in _set_target self._cubehandle.cube.set_temperature_mode(self._device, temp, mode) File "/usr/local/lib/python3.11/site-packages/maxcube/cube.py", line 315, in set_temperature_mode thermostat.target_temperature = thermostat.get_programmed_temp_at( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MaxWallThermostat' object has no attribute 'get_programmed_temp_at'On the other side it seems i can set (for example) off or heat modes, but automatic is just crashing:

What version of Home Assistant Core has the issue?
core-2023.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ELV Max!
Link to integration documentation on our website
https://www.home-assistant.io/integrations/maxcube/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service return await cast( ^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service return await service.entity_service_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 848, in entity_service_call response_data = task.result() # pop exception if have ^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1192, in async_request_call return await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 497, in async_set_hvac_mode await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode) File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 132, in set_hvac_mode self._set_target(MAX_DEVICE_MODE_AUTOMATIC, None) File "/usr/src/homeassistant/homeassistant/components/maxcube/climate.py", line 150, in _set_target self._cubehandle.cube.set_temperature_mode(self._device, temp, mode) File "/usr/local/lib/python3.11/site-packages/maxcube/cube.py", line 315, in set_temperature_mode thermostat.target_temperature = thermostat.get_programmed_temp_at( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MaxWallThermostat' object has no attribute 'get_programmed_temp_atAdditional information
No response