Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 9215698

Browse files
lociiiballoob
authored andcommitted
add support for digitalstrom ip servers (dss-ip) (#239)
1 parent bf53ce4 commit 9215698

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""Discover digitalSTROM server IP (dss-ip) devices."""
2+
from . import MDNSDiscoverable
3+
4+
5+
class Discoverable(MDNSDiscoverable):
6+
"""Add support for discovering digitalSTROM server IP (dss-ip) devices."""
7+
8+
def __init__(self, nd):
9+
super(Discoverable, self).__init__(nd, '_http._tcp.local.')
10+
11+
def get_entries(self):
12+
return self.find_by_device_name('dss-ip')

0 commit comments

Comments
 (0)