You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
473 B

"""Discover Philips Hue bridges."""
from . import SSDPDiscoverable
class Discoverable(SSDPDiscoverable):
"""Add support for discovering Philips Hue bridges."""
def get_entries(self):
"""Get all the Hue bridge uPnP entries."""
return self.find_by_device_description({
"manufacturer": "Royal Philips Electronics",
"manufacturerURL": "http://www.philips.com",
"modelNumber": ["929000226503", "BSB002"]
})