summaryrefslogtreecommitdiff
path: root/netdisco/discoverables/xbox_smartglass.py
diff options
context:
space:
mode:
Diffstat (limited to 'netdisco/discoverables/xbox_smartglass.py')
-rw-r--r--netdisco/discoverables/xbox_smartglass.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/netdisco/discoverables/xbox_smartglass.py b/netdisco/discoverables/xbox_smartglass.py
new file mode 100644
index 0000000..191ee7b
--- /dev/null
+++ b/netdisco/discoverables/xbox_smartglass.py
@@ -0,0 +1,14 @@
+"""Discover Xbox SmartGlass devices."""
+from . import BaseDiscoverable
+
+
+class Discoverable(BaseDiscoverable):
+ """Add support for discovering a Xbox SmartGlass device."""
+
+ def __init__(self, netdis):
+ """Initialize the Xbox SmartGlass discovery."""
+ self._netdis = netdis
+
+ def get_entries(self):
+ """Get all the Xbox SmartGlass details."""
+ return self._netdis.xbox_smartglass.entries