blob: 582fbc1991f712b49d32a4e71faf2b909bc72958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"""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"]
})
|