-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Conversation
miio/philips_bulb.py
Outdated
"count (%s) of received values.", | ||
properties_count, values_count) | ||
|
||
return CeilStatus(defaultdict(lambda: None, zip(properties, values))) |
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.
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, |
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.
undefined name 'PhilipsBulb'
miio/philips_bulb.py
Outdated
"count (%s) of received values.", | ||
properties_count, values_count) | ||
|
||
return CeilStatus(defaultdict(lambda: None, zip(properties, values))) |
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.
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, |
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.
undefined name 'PhilipsBulb'
miio/philips_bulb.py
Outdated
"count (%s) of received values.", | ||
properties_count, values_count) | ||
|
||
return PhilipsBulbStatus(defaultdict(lambda: None, zip(properties, values))) |
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 (84 > 79 characters)
Looks good to me! |
I like to see this device supported instead of using a subset of the Philips Celing Lamp.