This is a home assistant custom component. It is a thermostat including various control options, such as: on-off, PID, weather controlled. The thermostat can be used in stand-alone mode or as zoned heating (master- satellites).
2023-04-09 22:03:25.555 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'HVACSetting' object has no attribute 'integral'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 452, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1820, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1857, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 809, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 798, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 977, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 829, in _handle_entity_call
result = hass.async_run_job(
File "/usr/src/homeassistant/homeassistant/core.py", line 641, in async_run_job
return self.async_run_hass_job(HassJob(target), args)
File "/usr/src/homeassistant/homeassistant/core.py", line 593, in async_run_hass_job
hassjob.target(args)
File "/config/custom_components/multizone_thermostat/climate.py", line 1051, in async_set_integral
self._hvac_def[hvac_mode].integral(integral)
AttributeError: 'HVACSetting' object has no attribute 'integral'
Hi,
calling set_integral fails with below stacktrace:
2023-04-09 22:03:25.555 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'HVACSetting' object has no attribute 'integral' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 452, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_call_service_step await service_task File "/usr/src/homeassistant/homeassistant/core.py", line 1820, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1857, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 809, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 798, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 977, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 829, in _handle_entity_call result = hass.async_run_job( File "/usr/src/homeassistant/homeassistant/core.py", line 641, in async_run_job return self.async_run_hass_job(HassJob(target), args) File "/usr/src/homeassistant/homeassistant/core.py", line 593, in async_run_hass_job hassjob.target(args) File "/config/custom_components/multizone_thermostat/climate.py", line 1051, in async_set_integral self._hvac_def[hvac_mode].integral(integral) AttributeError: 'HVACSetting' object has no attribute 'integral'
config:
using latest version downloaded on 2023/04/06