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

Fix serial number reporting for some devices, add locale command #409

Merged
merged 1 commit into from
Nov 14, 2018

Conversation

rytilahti
Copy link
Owner

@rytilahti rytilahti commented Nov 13, 2018

Fix incorrect serial number handling for some devices as reported in #408:

  File "c:\program files\python\python37\lib\site-packages\python_miio-0.4.10-py3.7.egg\miio\vacuum.py", line 363, in serial_number
    return self.send("get_serial_number")[0]["serial_number"]
TypeError: string indices must be integers

Also adds locale command from #372.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 72.839% when pulling ba47efd on fix-serial-number into a86dc9f on master.

@rytilahti rytilahti merged commit 24f18e8 into master Nov 14, 2018
@rytilahti rytilahti deleted the fix-serial-number branch November 14, 2018 11:32
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