Skip to content

Commit

Permalink
add preliminary error codes for sound install status
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Jan 24, 2018
1 parent 6aee3c5 commit 047704a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions miio/vacuumcontainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,13 @@ class SoundInstallStatus:
"""Container for sound installation status."""
def __init__(self, data):
# {'progress': 0, 'sid_in_progress': 0, 'state': 0, 'error': 0}
# error 0 = no error
# error 1 = unknown 1
# error 2 = download error
# error 3 = checksum error
# error 4 = unknown 4


self.data = data

@property
Expand Down

0 comments on commit 047704a

Please sign in to comment.