-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Initial support for wifi speakers #86
Conversation
mirobo/discovery.py
Outdated
@@ -4,7 +4,7 @@ | |||
import inspect | |||
import codecs | |||
from . import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil, | |||
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier) | |||
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier, WifiSpeaker) |
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.
line too long (85 > 79 characters)
mirobo/discovery.py
Outdated
@@ -4,7 +4,7 @@ | |||
import inspect | |||
import codecs | |||
from . import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil, | |||
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier) | |||
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier, WifiSpeaker) |
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.
line too long (85 > 79 characters)
mirobo/discovery.py
Outdated
@@ -4,7 +4,7 @@ | |||
import inspect | |||
import codecs | |||
from . import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil, | |||
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier) | |||
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier, WifiSpeaker) |
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.
line too long (85 > 79 characters)
First steps towards fixing #69, we require feedback from someone who owns the device to complete it.
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.
Perfect! Please merge.
mirobo/wifispeaker.py
Outdated
def track_next(self): | ||
return self.send("next_track") | ||
|
||
def track_location(self): |
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.
I would prefer track_position here.
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.
Changed + added some apidocs & fixed the broken status
.
import logging | ||
from .device import Device | ||
|
||
_LOGGER = logging.getLogger(__name__) |
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.
The logger isn't used?
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.
It is not currently, but I think it's ok to leave it like that for now. This will probably need some revisions to be remotely useful, and for that there'll be debug outputs I hope.
…ix invalid send() in status()
First steps towards fixing #69, we require feedback
from someone who owns the device to complete it.