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

Improve roborock update handling #1685

Merged
merged 5 commits into from
Feb 3, 2023
Merged

Commits on Feb 3, 2023

  1. Improve roborock update handling

    Not all devices support all features, but we have currently no way of knowing what is supported.
    In order to allow embedding all supported information in the status container while avoiding making
    unnecessary I/O on subsequent queries, this introduces a small helper to do just that.
    
    The initial status() call will call all defined devicestatus-returning methods to find out which
    information is acquired correctly, and skip the unsupported queries in the following update cycles.
    rytilahti committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    f6f5d62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58450f1 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    rytilahti committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    d70dfef View commit details
    Browse the repository at this point in the history
  4. Add tests to updatehelper

    rytilahti committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    72fe1ad View commit details
    Browse the repository at this point in the history
  5. Name sub status containers

    rytilahti committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    114f3e2 View commit details
    Browse the repository at this point in the history