diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-12-21 21:01:06 +0100 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-12-21 21:01:06 +0100 |
commit | d41ea366e7c2e51c9f7e68092d89e3f0be580362 (patch) | |
tree | 949fd6476faf99d225a5787356a48b54b8b15192 /netdisco/discoverables/hass_ios.py |
Import python-netdisco_2.2.0.orig.tar.gz
[dgit import orig python-netdisco_2.2.0.orig.tar.gz]
Diffstat (limited to 'netdisco/discoverables/hass_ios.py')
-rw-r--r-- | netdisco/discoverables/hass_ios.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/netdisco/discoverables/hass_ios.py b/netdisco/discoverables/hass_ios.py new file mode 100644 index 0000000..84c1eaa --- /dev/null +++ b/netdisco/discoverables/hass_ios.py @@ -0,0 +1,9 @@ +"""Discover Home Assistant iOS app.""" +from . import MDNSDiscoverable + + +class Discoverable(MDNSDiscoverable): + """Add support for discovering the Home Assistant iOS app.""" + + def __init__(self, nd): + super(Discoverable, self).__init__(nd, '_hass-ios._tcp.local.') |