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

Initial support for wifi speakers #86

Merged
merged 4 commits into from Oct 2, 2017
Merged

Initial support for wifi speakers #86

merged 4 commits into from Oct 2, 2017

Conversation

rytilahti
Copy link
Owner

First steps towards fixing #69, we require feedback
from someone who owns the device to complete it.

@@ -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)

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)

@@ -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)

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)

@@ -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)

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.
@coveralls
Copy link

coveralls commented Oct 1, 2017

Coverage Status

Coverage increased (+0.8%) to 30.996% when pulling 65e6561 on wifispeaker into e6e72e0 on master.

@coveralls
Copy link

coveralls commented Oct 1, 2017

Coverage Status

Coverage increased (+0.8%) to 30.996% when pulling 633bdaf on wifispeaker into e6e72e0 on master.

Copy link
Collaborator

@syssi syssi left a comment

Choose a reason for hiding this comment

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

Perfect! Please merge.

def track_next(self):
return self.send("next_track")

def track_location(self):
Copy link
Collaborator

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.

Copy link
Owner Author

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__)
Copy link
Collaborator

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?

Copy link
Owner Author

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.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.8%) to 30.996% when pulling 20e5c85 on wifispeaker into e6e72e0 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Oct 2, 2017

Coverage Status

Coverage increased (+0.8%) to 30.996% when pulling 20e5c85 on wifispeaker into e6e72e0 on master.

@rytilahti rytilahti merged commit db7e4fb into master Oct 2, 2017
@rytilahti rytilahti deleted the wifispeaker branch October 2, 2017 08:16
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.

None yet

4 participants