Errors
Closed this issue · 1 comments
Hi,
Since I upgraded HA to
- Home Assistant 2023.6.1
- Supervisor 2023.06.1
- Operating System 10.2
- Frontend 20230608.0 - latest
miheater integration stopped working
Errors below:
############################
`This error originated from a custom integration.
Logger: custom_components.miheater.climate
Source: custom_components/miheater/climate.py:72
Integration: miheater (documentation)
First occurred: June 12, 2023 at 10:11:04 PM (678 occurrences)
Last logged: 2:29:40 PM
Fail to setup Xiaomi heater
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 72, in setup_platform
device_info = device.info()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/click_common.py", line 183, in _wrap
self._fetch_info()
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 275, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -30012, 'message': 'busy.'}
`
############################
############################
`This error originated from a custom integration.
Logger: custom_components.miheater.climate
Source: custom_components/miheater/climate.py:193
Integration: miheater (documentation)
First occurred: June 12, 2023 at 11:17:52 PM (14 occurrences)
Last logged: 2:28:23 PM
Fail to get_prop from Xiaomi heater
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 274, in _handle_error
raise RecoverableError(error)
miio.exceptions.RecoverableError: {'code': -9999, 'message': 'user ack timeout'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 193, in getAttrData
target_temperature=self._device.raw_command('get_properties', [{"siid":2,"piid":6}])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/click_common.py", line 184, in _wrap
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 126, in raw_command
return self.send(command, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 248, in send
return self.send(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 275, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -30012, 'message': 'busy.'}
`
############################
Can you please verify?
Thank you.
Solved after restarted the operating system