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

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