summaryrefslogtreecommitdiff
path: root/netdisco/discoverables/wink.py
diff options
context:
space:
mode:
Diffstat (limited to 'netdisco/discoverables/wink.py')
-rw-r--r--netdisco/discoverables/wink.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/netdisco/discoverables/wink.py b/netdisco/discoverables/wink.py
index 9e6833f..3678d60 100644
--- a/netdisco/discoverables/wink.py
+++ b/netdisco/discoverables/wink.py
@@ -1,5 +1,8 @@
"""Discover Wink hub devices."""
+from typing import List # noqa: F401
+
from . import SSDPDiscoverable
+from ..ssdp import UPNPEntry # noqa: F401
class Discoverable(SSDPDiscoverable):
@@ -7,7 +10,7 @@ class Discoverable(SSDPDiscoverable):
def get_entries(self):
"""Return all Wink entries."""
- results = []
+ results = [] # type: List[UPNPEntry]
results.extend(self.find_by_st('urn:wink-com:device:hub2:2'))
results.extend(self.find_by_st('urn:wink-com:device:hub:2'))
results.extend(self.find_by_st('urn:wink-com:device:relay:2'))