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

Obtain information about robots from cloud #278

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Obtain information about robots from cloud #278

wants to merge 3 commits into from

Conversation

Orhideous
Copy link
Collaborator

The password for new iRobot devices can only be obtained from the cloud. So it's nice to have these APIs to make the initial setup in HA easier and provide a seamless user experience.

@Orhideous Orhideous marked this pull request as draft March 1, 2024 19:15
@@ -27,6 +27,7 @@ paho-mqtt = "~1.6.1"
mashumaro = {version = "^3.12"}
click = { version = "^8.1", optional = true }
tabulate = { version = "^0.9", optional = true }
requests = "^2.31.0"
Copy link

Choose a reason for hiding this comment

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

Can't we use aiohttp or httpx for this to keep the lib async?

Copy link
Collaborator Author

@Orhideous Orhideous Mar 1, 2024

Choose a reason for hiding this comment

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

There are only three requests, which will be done well if once a year.
After all, there is asyncio.to_thread. What do you think?

@Orhideous Orhideous mentioned this pull request Mar 5, 2024
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