Files
Home-AssistantConfig/deps/netdisco/discoverables/tellstick.py

15 lines
395 B
Python
Raw Normal View History

2016-10-11 16:42:06 +00:00
"""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