blob: 727aa7628a45a172764434e18706ba5ffa302ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"""Discover Tellstick devices."""
from . import BaseDiscoverable
class Discoverable(BaseDiscoverable):
"""Add support for discovering a Tellstick device."""
def __init__(self, netdis):
"""Initialize the Tellstick discovery."""
self._netdis = netdis
def get_entries(self):
"""Get all the Tellstick details."""
return self._netdis.tellstick.entries
|