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
425 B

4 years ago
  1. """Discover Xbox SmartGlass devices."""
  2. from . import BaseDiscoverable
  3. class Discoverable(BaseDiscoverable):
  4. """Add support for discovering a Xbox SmartGlass device."""
  5. def __init__(self, netdis):
  6. """Initialize the Xbox SmartGlass discovery."""
  7. self._netdis = netdis
  8. def get_entries(self):
  9. """Get all the Xbox SmartGlass details."""
  10. return self._netdis.xbox_smartglass.entries