-
-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VacuumDeviceStatus and VacuumState (#1560)
This provides a common, vendor agnostic API for obtaining vacuum state information, to be used by downstreams like homeassistant. This also converts roborock vacuum to use these common facilities. Added common API: * `VacuumDeviceStatus` is an interface extending `DeviceStatus` to enforce common API for devices implementing `VacuumInterface`. * `VacuumState` provides a generic interface to map different vacuum statuses. These interfaces are bound to change and are introduced to make it simpler to make other vacuum integrations available to downstream users. This is related to #1495.
- Loading branch information
Showing
6 changed files
with
256 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.