-
-
Notifications
You must be signed in to change notification settings - Fork 713
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
升级到1.0.6,所有实体不可用。集成那里显示设置失败。 #2114
Comments
I am getting the same errors, the whole integration has stopped working. Maybe something related to new Python version? |
我的整个集成也已停止工作。也许和我的心情无关? |
Same issue, already roll back to 1.01,the most stable version |
重装一下试试? |
一样,是不是小米官方出了插件不让第三方用的原因? 但是官方插件好像现在只能认证一个HA设备,多家庭的就不方便了 |
全部不可用了 |
检查网络和环境 |
退回1.0.5都正常,试了几次更新到1.0.6就出错。 |
那就检查是都还有其他报错日志,与 wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash - |
更新master分支后正常。 |
我这边也是同样的问题,我这边还要一条日志如下:
|
我的情况1.0.6就是有大量的实体都无法使用,期间每个版本都试过了,原本我用的是1.0还是1.1的来着,这时候我家的设备都是正常的,只是有些实体的英文名很长很长,不太直观。更新到1.0.5后,米家温湿度计不自动更新,但是如果点击诊断中的“按下”,是可以手动更新的。我试着回退到了1.0.4和1.0.3发现这时候就已经存在这个问题了,最后我还是用了1.0.5,自动更新的问题没有解决,但是我在智能场景种添加了自动化,每30秒点击一次诊断中的“按下”操作来实现自动更新。 根本不是什么网络问题,我反复尝试了多个版本,什么清空设备重新添加什么的都尝试过了,没有出现不同的结果,就是插件的问题 |
如果实体都不可用并且提示 |
大哥能不能教我怎么退回1.0.5 |
Error setting up entry Xiaomi: 950275585 for xiaomi_miot
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/init.py", line 242, in async_setup_entry
await async_setup_xiaomi_cloud(hass, config_entry)
File "/config/custom_components/xiaomi_miot/init.py", line 277, in async_setup_xiaomi_cloud
cloud = await entry.get_cloud(check=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/hass_entry.py", line 115, in get_cloud
await self.cloud.async_check_auth(notify=True)
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 167, in async_check_auth
rdt = await self.async_request_api(api, dat, method='POST') or {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 221, in async_request_api
rsp = await self.async_request_rc4_api(api, params, method, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 784, in async_request_rc4_api
response = await session.post(url, data=params, timeout=timeout, headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 512, in _request
raise RuntimeError("Session is closed")
RuntimeError: Session is closed
The text was updated successfully, but these errors were encountered: