-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
针对“Commit 05d196d——add miio2miot for zhimi.aircondition.v1”的问题反馈:本地接入的智米空调模式不可调节 #2107
Comments
在米家 react 组件代码中未找到获取室外温湿度的相关代码,云端模式下,可能是米家服务器另外加的。 其他已修复。 |
'prop.5.1': { 我改了一下miio2miot_specs.py里的配置,现在空调音量和显示屏亮度的显示和控制都正常啦!但是还有一些问题我搞不定了。
|
1. 主要修改了提示音和显示屏亮度的Setter以适用这个型号特殊的空调 2. 扫风角度实体没有如期生成,而且'set_ver_pos'这个Setter也不适用该空调,暂时没有找到正确的Setter 还有一些问题,见issue al-one#2107 al-one#2107 希望大佬抽出时间,我们一起把这个空调完美搞定🤝
Device model / 设备型号
zhimi.aircondition.v1
Component version / 插件版本
1.0.6
HA core version / HA版本
2024.12.3
Integrated mode / 集成方式
Local (本地模式)
The problem / 问题详情
Entity attributes / 实体属性
Home Assistant Logs / 系统日志
日志记录器: homeassistant.components.websocket_api.http.connection
来源: components/websocket_api/commands.py:245
集成: Home Assistant WebSocket API (文档, 问题)
首次出现: 11:37:48 (10 次总计出现)
上次记录: 11:51:54
[548005098496] 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 2802, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, 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 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 807, in async_handle_set_hvac_mode_service
await self.async_set_hvac_mode(hvac_mode)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 815, in async_set_hvac_mode
await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/xiaomi_miot/climate.py", line 393, in set_hvac_mode
return self.set_preset_mode(mode)
~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/config/custom_components/xiaomi_miot/climate.py", line 453, in set_preset_mode
return self.set_property(self._prop_mode, val)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/init.py", line 1191, in set_property
return self.device.set_property(field, value)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 971, in set_property
result = self.set_miot_property(siid, piid, value)
File "/config/custom_components/xiaomi_miot/core/device.py", line 1010, in set_miot_property
if not result.is_success:
^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_success'
The text was updated successfully, but these errors were encountered: