Skip to content

Initial support for wifi speakers#86

Merged
rytilahti merged 4 commits intomasterfrom
wifispeaker
Oct 2, 2017
Merged

Initial support for wifi speakers#86
rytilahti merged 4 commits intomasterfrom
wifispeaker

Conversation

@rytilahti
Copy link
Copy Markdown
Owner

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

import codecs
from . import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil,
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier)
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier, WifiSpeaker)
Copy link
Copy Markdown

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)

import codecs
from . import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil,
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier)
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier, WifiSpeaker)
Copy link
Copy Markdown

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)

import codecs
from . import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil,
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier)
PhilipsEyecare, ChuangmiIr, AirHumidifier, WaterPurifier, WifiSpeaker)
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

Coverage Status

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

1 similar comment
@coveralls
Copy link
Copy Markdown

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.

4 participants