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

Tva/fixes #26

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

Conversation

takthetank
Copy link

  • fix for HA deprecation warning device_state_attributes
  • hacs updates for iot_class and python-miio version

Copy link
Owner

@KrzysztofHajdamowicz KrzysztofHajdamowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix that single issue and rebase your PR? I'll merge it then, good work! :)

],
"dependencies": [],
"codeowners": ["@nqkdev", "@KrzysztofHajdamowicz"],
"config_flow": false,
"iot_class": "local_polling"
"iot_class": "cloud_polling"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why cloud_polling?
According to Documentation local_polling is acceptable value and this integration communicates with vacuum locally.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it communicate locally? I thouhght that it sends commands to the xiaomi server and the only way to communicate locally is to root the vacuum, am I wrong?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_LOGGER.info("Initializing with host %s (token %s...)", host, token[:5])

It uses IP and token of vacuum to connect locally using Xiaomi protocol.

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.

2 participants