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.

9 lines
281 B

4 years ago
  1. """Discover Home Assistant servers."""
  2. from . import MDNSDiscoverable
  3. class Discoverable(MDNSDiscoverable):
  4. """Add support for discovering Home Assistant instances."""
  5. def __init__(self, nd):
  6. super(Discoverable, self).__init__(nd, '_home-assistant._tcp.local.')