Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 4 commits into from
Oct 21, 2017

Conversation

syssi
Copy link
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)))

Choose a reason for hiding this comment

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

undefined name 'CeilStatus'

@@ -29,7 +29,7 @@
"zhimi-humidifier-v1": AirHumidifier,
"yunmi-waterpuri-v2": WaterPurifier,
# It looks like philips devices cannot be discovered via mdns
"philips-light-bulb": Ceil,
"philips-light-bulb": PhilipsBulb,

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

Choose a reason for hiding this comment

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

undefined name 'CeilStatus'

@@ -29,7 +29,7 @@
"zhimi-humidifier-v1": AirHumidifier,
"yunmi-waterpuri-v2": WaterPurifier,
# It looks like philips devices cannot be discovered via mdns
"philips-light-bulb": Ceil,
"philips-light-bulb": PhilipsBulb,

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

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

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

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
Owner

Looks good to me!

@rytilahti rytilahti merged commit ec71776 into rytilahti:master Oct 21, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants