-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Conversation
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. |
There was a problem hiding this 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 '\/'
There was a problem hiding this 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 '\/'
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. |
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