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

fix: get miot device mapping from rest api #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tinymins
Copy link
Contributor

由于外部获取了 model 设置 unique_id ,导致类初始化时 model 永远不会为空,获取 mapping 部分逻辑不能再通过 model 是否为空作为依据,而应该使用 model 是否存在于 MIOT_MAPPING 中为依据。

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

Successfully merging this pull request may close these issues.

1 participant