-
-
Notifications
You must be signed in to change notification settings - Fork 687
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设备,多家庭的就不方便了 |
全部不可用了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: