2024-01-25 19:50:00.960 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281471675333568] Error handling message: Unknown error (unknown_error) papou from 127.0.0.1 (Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0)
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/websocket_api/commands.py", line 782, in handle_execute_script
script_result = await script_obj.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 1587, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 426, in async_run
await self._async_step(log_exceptions=False)
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 479, in _async_step
self._handle_exception(
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 502, in _handle_exception
raise exception
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 476, in _async_step
await getattr(self, handler)()
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 713, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/script.py", line 675, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/core.py", line 2149, in async_call
response_data = await coro
^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/core.py", line 2186, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/entity_component.py", line 272, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 882, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/service.py", line 952, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/climate/__init__.py", line 731, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/home/homeassistant/.homeassistant/custom_components/aguaiot/climate.py", line 277, in async_set_temperature
await self._device.set_register_value(
File "/home/homeassistant/.homeassistant/custom_components/aguaiot/aguaiot.py", line 583, in set_register_value
value = self.__prepare_value_for_writing(key, value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/aguaiot/aguaiot.py", line 446, in __prepare_value_for_writing
set_min = self.__register_map_dict[item]["set_min"]
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: None