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

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