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.

12 lines
440 B

4 years ago
  1. """Discover Ziggo Mediabox XL devices."""
  2. from . import SSDPDiscoverable
  3. class Discoverable(SSDPDiscoverable):
  4. """Add support for discovering Ziggo Mediabox XL devices."""
  5. def get_entries(self):
  6. """Return all Ziggo (UPC) Mediabox XL entries."""
  7. return self.find_by_device_description(
  8. {'modelDescription': 'UPC Hzn Gateway',
  9. 'deviceType': 'urn:schemas-upnp-org:device:RemoteUIServer:2'})