You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to perform the action light/turn_on. Invalid result
How to Reproduce / 复现步骤
点击灯实体的开关,即报错
Expected Behavior / 预期结果
灯开关控制成功
Reproduce Time / 问题复现的时间点
2025-01-07 14:48
Home Assistant Logs / 系统日志
Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: January 6, 2025 at 9:29:23 PM (2 occurrences)
Last logged: 2:46:10 PM
[546616659104] Unexpected exception
[545985675904] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 655, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File "/config/custom_components/xiaomi_home/light.py", line 313, in async_turn_off
return await self.set_property_async(prop=self._prop_on, value=value_on)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_home/miot/miot_device.py", line 880, in set_property_async
await self.miot_device.miot_client.set_prop_async(
did=self.miot_device.did, siid=prop.service.iid,
piid=prop.iid, value=value)
File "/config/custom_components/xiaomi_home/miot/miot_client.py", line 626, in set_prop_async
result = await self._miot_lan.set_prop_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
did=did, siid=siid, piid=piid, value=value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_home/miot/miot_lan.py", line 857, in set_prop_async
raise MIoTError('Invalid result', MIoTErrorCode.CODE_INTERNAL_ERROR)
custom_components.xiaomi_home.miot.miot_error.MIoTError: Invalid result
Log Timezone / 日志时区
Asia/Shanghai
Home Assistant Core Version / Home Assistant Core 版本
2025.1.0
Home Assistant Operation System Version / Home Assistant Operation System 版本
2024.12.3
Xiaomi Home Integration Version / 米家集成版本
v0.15-pre
Additional Context / 其他说明
无
The text was updated successfully, but these errors were encountered:
Describe the Bug / 描述问题
Failed to perform the action light/turn_on. Invalid result
How to Reproduce / 复现步骤
点击灯实体的开关,即报错
Expected Behavior / 预期结果
灯开关控制成功
Reproduce Time / 问题复现的时间点
2025-01-07 14:48
Home Assistant Logs / 系统日志
Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: January 6, 2025 at 9:29:23 PM (2 occurrences)
Last logged: 2:46:10 PM
[546616659104] Unexpected exception
[545985675904] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 655, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File "/config/custom_components/xiaomi_home/light.py", line 313, in async_turn_off
return await self.set_property_async(prop=self._prop_on, value=value_on)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_home/miot/miot_device.py", line 880, in set_property_async
await self.miot_device.miot_client.set_prop_async(
did=self.miot_device.did, siid=prop.service.iid,
piid=prop.iid, value=value)
File "/config/custom_components/xiaomi_home/miot/miot_client.py", line 626, in set_prop_async
result = await self._miot_lan.set_prop_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
did=did, siid=siid, piid=piid, value=value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_home/miot/miot_lan.py", line 857, in set_prop_async
raise MIoTError('Invalid result', MIoTErrorCode.CODE_INTERNAL_ERROR)
custom_components.xiaomi_home.miot.miot_error.MIoTError: Invalid result
Log Timezone / 日志时区
Asia/Shanghai
Home Assistant Core Version / Home Assistant Core 版本
2025.1.0
Home Assistant Operation System Version / Home Assistant Operation System 版本
2024.12.3
Xiaomi Home Integration Version / 米家集成版本
v0.15-pre
Additional Context / 其他说明
无
The text was updated successfully, but these errors were encountered: