Skip to content

Obtain information about robots from cloud#278

Draft
Orhideous wants to merge 3 commits intomainfrom
cloud
Draft

Obtain information about robots from cloud#278
Orhideous wants to merge 3 commits intomainfrom
cloud

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
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