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

Add initial support for Xiao AI Smart Alarm Clock (zimi.clock.myk01) #558

Merged
merged 4 commits into from
Oct 19, 2019

Conversation

rytilahti
Copy link
Owner

As I don't have access to the device I'm not interested in this, but it would work as a base for someone to finish the support.

Fixes #505

miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
miio/alarmclock.py Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented Oct 10, 2019

Coverage Status

Coverage decreased (-0.2%) to 72.002% when pulling d19838f on zimi_clock into 849bc9e on master.

@syssi
Copy link
Collaborator

syssi commented Oct 11, 2019

If the conflict and unused import is fixed could we just merge this PR? It's more likely somebody improves the support if it's part of the libary instead of an pending PR.

Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

./miio/alarmclock.py:233:-355: W605 invalid escape sequence '\/'
./miio/alarmclock.py:233:-355: W605 invalid escape sequence '\/'
./miio/alarmclock.py:233:-24: W605 invalid escape sequence '\/'
./miio/alarmclock.py:248:-148: W605 invalid escape sequence '\/'
./miio/alarmclock.py:248:-146: W605 invalid escape sequence '\/'

Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

./miio/alarmclock.py:233:-355: W605 invalid escape sequence '\/'
./miio/alarmclock.py:233:-355: W605 invalid escape sequence '\/'
./miio/alarmclock.py:233:-24: W605 invalid escape sequence '\/'
./miio/alarmclock.py:248:-148: W605 invalid escape sequence '\/'
./miio/alarmclock.py:248:-146: W605 invalid escape sequence '\/'

@rytilahti
Copy link
Owner Author

Agreed on that, that's why I decided to PR it even when it's not yet ready :-) I fixed the linting issues and added some more commentary for anyone interested in working on it, I think this can be merged now.

@syssi syssi merged commit c7d2779 into master Oct 19, 2019
@rytilahti rytilahti deleted the zimi_clock branch October 19, 2019 19:38
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.

Support for Xiaomi Xiao AI Smart Alarm Clock (zimi.clock.myk01)
4 participants