Skip to content

Device support of the Xioami Philips Smart LED Ball Lamp#94

Merged
rytilahti merged 4 commits intorytilahti:masterfrom
syssi:feature/philips-led-ball
Oct 21, 2017
Merged

Device support of the Xioami Philips Smart LED Ball Lamp#94
rytilahti merged 4 commits intorytilahti:masterfrom
syssi:feature/philips-led-ball

Conversation

@syssi
Copy link
Copy Markdown
Collaborator

@syssi syssi commented Oct 21, 2017

I like to see this device supported instead of using a subset of the Philips Celing Lamp.

"count (%s) of received values.",
properties_count, values_count)

return CeilStatus(defaultdict(lambda: None, zip(properties, values)))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

undefined name 'CeilStatus'

"yunmi-waterpuri-v2": WaterPurifier,
# It looks like philips devices cannot be discovered via mdns
"philips-light-bulb": Ceil,
"philips-light-bulb": PhilipsBulb,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

undefined name 'PhilipsBulb'

"count (%s) of received values.",
properties_count, values_count)

return CeilStatus(defaultdict(lambda: None, zip(properties, values)))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

undefined name 'CeilStatus'

"yunmi-waterpuri-v2": WaterPurifier,
# It looks like philips devices cannot be discovered via mdns
"philips-light-bulb": Ceil,
"philips-light-bulb": PhilipsBulb,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

undefined name 'PhilipsBulb'

"count (%s) of received values.",
properties_count, values_count)

return PhilipsBulbStatus(defaultdict(lambda: None, zip(properties, values)))
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 (84 > 79 characters)

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+0.5%) to 33.989% when pulling 1af39e5 on syssi:feature/philips-led-ball into 67196c2 on rytilahti:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+0.5%) to 33.989% when pulling 1af39e5 on syssi:feature/philips-led-ball into 67196c2 on rytilahti:master.

@rytilahti
Copy link
Copy Markdown
Owner

Looks good to me!

@rytilahti rytilahti merged commit ec71776 into rytilahti:master Oct 21, 2017
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