Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

空调伴侣无法控制 #635

Open
lianxb opened this issue Jan 12, 2025 · 0 comments
Open

空调伴侣无法控制 #635

lianxb opened this issue Jan 12, 2025 · 0 comments

Comments

@lianxb
Copy link

lianxb commented Jan 12, 2025

Describe the Bug / 描述问题

报错:无法执行动作“climate/set_hvac_mode” 。 Invalid result

How to Reproduce / 复现步骤

ha里点击图形化界面无反应。并提示:无法执行动作“climate/set_hvac_mode” 。 Invalid result

Expected Behavior / 预期结果

应该可以控制

Reproduce Time / 问题复现的时间点

2025-1-13

Home Assistant Logs / 系统日志

日志记录器: homeassistant.components.websocket_api.http.connection
来源: components/websocket_api/commands.py:245
集成: Home Assistant WebSocket API (文档, 问题)
首次出现: 2025年1月12日 00:52:08 (36 次总计出现)
上次记录: 02:00:00

[140162603261600] Unexpected exception
[140162411102704] Unexpected exception
[140162453314800] Unexpected exception
[140162453322000] Unexpected exception
[140162447069616] 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/climate/init.py", line 954, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/xiaomi_home/climate.py", line 291, in async_set_temperature
await self.set_property_async(
prop=self._prop_target_temp, value=temp)
File "/config/custom_components/xiaomi_home/miot/miot_device.py", line 867, 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 / 日志时区

shanghai

Home Assistant Core Version / Home Assistant Core 版本

2025.1.2

Home Assistant Operation System Version / Home Assistant Operation System 版本

14.1

Xiaomi Home Integration Version / 米家集成版本

v0.1.4

Additional Context / 其他说明

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant