Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/yunmi/water_heater.py:208
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 23:22:16 (3 occurrences)
Last logged: 23:24:09
[281472695506592] {'code': -9999, 'message': 'undefined command'}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 760, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/config/custom_components/yunmi/water_heater.py", line 208, in async_set_operation_mode
self._device.send('set_power', [1])
File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 178, in send
return self._protocol.send(
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 274, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -9999, 'message': 'undefined command'}
2021-06-25 21:48:09 WARNING (MainThread) [homeassistant.loader] You are using a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-25 21:48:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-25 21:48:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration ble_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-25 21:48:13 WARNING (MainThread) [homeassistant.loader] You are using a custom integration konke which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-25 21:48:16 WARNING (MainThread) [homeassistant.loader] You are using a custom integration yunmi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-25 21:48:55 ERROR (MainThread) [pyhap.characteristic] TargetHeatingCoolingState: value=0 is an invalid value.
2021-06-25 21:49:50 ERROR (MainThread) [custom_components.yunmi.water_heater] Fail to get_prop from Yunmi Water Heater
Traceback (most recent call last):
File "/config/custom_components/yunmi/water_heater.py", line 120, in async_update
state = self._device.send('get_prop', ["washStatus","velocity","waterTemp","targetTemp","errStatus"])
File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 177, in send
return self._protocol.send(
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 274, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -9999, 'message': 'undefined command'}
2021-06-25 21:49:50 ERROR (MainThread) [homeassistant.helpers.entity] Update for water_heater.yun_mi_re_shui_qi fails
Traceback (most recent call last):
File "/config/custom_components/yunmi/water_heater.py", line 120, in async_update
state = self._device.send('get_prop', ["washStatus","velocity","waterTemp","targetTemp","errStatus"])
File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 177, in send
return self._protocol.send(
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 274, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -9999, 'message': 'undefined command'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 292, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 490, in async_device_update
raise exc
File "/config/custom_components/yunmi/water_heater.py", line 135, in async_update
raise PlatformNotReady
homeassistant.exceptions.PlatformNotReady
2021-06-25 21:49:57 ERROR (MainThread) [custom_components.yunmi.water_heater] Fail to get_prop from Yunmi Water Heater
Traceback (most recent call last):
File "/config/custom_components/yunmi/water_heater.py", line 120, in async_update
state = self._device.send('get_prop', ["washStatus","velocity","waterTemp","targetTemp","errStatus"])
File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 177, in send
return self._protocol.send(
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 274, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -9999, 'message': 'undefined command'}
2021-06-25 21:49:57 ERROR (MainThread) [homeassistant.helpers.entity] Update for water_heater.yun_mi_re_shui_qi fails
Traceback (most recent call last):
File "/config/custom_components/yunmi/water_heater.py", line 120, in async_update
state = self._device.send('get_prop', ["washStatus","velocity","waterTemp","targetTemp","errStatus"])
File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 177, in send
return self._protocol.send(
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 214, in send
self._handle_error(payload["error"])
File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 274, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {'code': -9999, 'message': 'undefined command'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 292, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 490, in async_device_update
raise exc
File "/config/custom_components/yunmi/water_heater.py", line 135, in async_update
raise PlatformNotReady
homeassistant.exceptions.PlatformNotReady