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

hacs安装登陆小米云报错 #36

Closed
mxltxt opened this issue Mar 18, 2021 · 5 comments
Closed

hacs安装登陆小米云报错 #36

mxltxt opened this issue Mar 18, 2021 · 5 comments
Labels
bug Something isn't working fixed bug fixed

Comments

@mxltxt
Copy link

mxltxt commented Mar 18, 2021

安装完 进入集成 搜索小米mito 登陆账号报Unknown error occurred错误
111

@mxltxt
Copy link
Author

mxltxt commented Mar 18, 2021

账号密码是正确的

@al-one
Copy link
Owner

al-one commented Mar 18, 2021

进入配置 > 日志 查看有无相关错误日志

@mxltxt
Copy link
Author

mxltxt commented Mar 18, 2021

记录器:aiohttp.server
来源:custom_components / xiaomi_miot / config_flow.py:115 第一次发生: 下午8:35:30 (2次出现) 上次记录: 下午8:35:32

错误处理要求
追溯(最近一次通话):
_handle_request中的文件“ /usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py”,第422行
resp =等待自己._request_handler(请求)
_handle中的文件“ /usr/local/lib/python3.8/site-packages/aiohttp/web_app.py”,行499
resp =等待处理程序(请求)
impl中的文件“ /usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py”,第119行
返回等待处理程序(请求)
在security_filter_middleware中的第56行,文件“ /usr/src/homeassistant/homeassistant/components/http/security_filter.py”
返回等待处理程序(请求)
在request_context_middleware中,文件“ /usr/src/homeassistant/homeassistant/components/http/request_context.py”,第18行
返回等待处理程序(请求)
ban_middleware中的文件“ /usr/src/homeassistant/homeassistant/components/http/ban.py”,第72行
返回等待处理程序(请求)
auth_middleware中的文件“ /usr/src/homeassistant/homeassistant/components/http/auth.py”,第129行
返回等待处理程序(请求)
句柄中的文件“ /usr/src/homeassistant/homeassistant/components/http/view.py”,第129行
结果=等待结果
文件“ /usr/src/homeassistant/homeassistant/components/config/config_entries.py”,第150行,在帖子中
返回await super()。post(request,flow_id)
包装中的文件“ /usr/src/homeassistant/homeassistant/components/http/data_validator.py”,第60行
结果=等待方法(视图,请求,* args,** kwargs)
文件“ /usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”,第106行
结果=等待自我._flow_mgr.async_configure(flow_id,数据)
文件“ /usr/src/homeassistant/homeassistant/data_entry_flow.py”,第158行,位于async_configure中
结果=等待自己。_async_handle_step(流程,cur_step [“ step_id”],用户输入)
_async_handle_step中的文件“ /usr/src/homeassistant/homeassistant/data_entry_flow.py”,第216行
结果:Dict =等待getattr(flow,method)(user_input)
文件“ /config/custom_components/xiaomi_miot/config_flow.py”,行179,位于async_step_cloud中
返回等待self.async_step_cloud_filter(user_input)
文件“ /config/custom_components/xiaomi_miot/config_flow.py”,第197行,位于async_step_cloud_filter中
模式=等待get_cloud_filter_schema(self.hass,user_input,错误,模式)
get_cloud_filter_schema中的文件“ /config/custom_components/xiaomi_miot/config_flow.py”,第115行
hass.data [DOMAIN] ['prev_input'] = user_input
KeyError: 'xiaomi_miot'

@al-one
Copy link
Owner

al-one commented Mar 18, 2021

建议手动安装插件后重启HA再试下。 #34

@mxltxt
Copy link
Author

mxltxt commented Mar 18, 2021

已解决 谢谢

@al-one al-one closed this as completed Mar 18, 2021
al-one added a commit that referenced this issue Mar 19, 2021
@al-one al-one added fixed bug fixed bug Something isn't working labels Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed bug fixed
Projects
None yet
Development

No branches or pull requests

2 participants