Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
* Use an eager task in the update coordinator scheduled refresh
We have a lot of places that will not suspend because the refresh function
decides it does not need to update. Currently these have to be scheduled
on the event loop even though they are a noop.
Since _handle_refresh_interval is subclassed in some integrations, I created
a dunder wrapper function to avoid integraions subclassing it
* fix time fires outside of patch
* add image to roborock
* add vacuum position
* addressing MR comments
* remove room names as it isn't supported in base package
* 100% coverage
* remove unneeded map changes
* fix image logic
* optimize create_coordinator_maps
* only update time if map is valid
* Update test_image.py
* fix linting from merge conflict
* fix mypy complaints
* re-add vacuum to const
* fix hanging test
* Make map sleep a const
* adjust commenting to be less than 88 characters.
* bump map parser