mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-06 17:51:36 +00:00
15 lines
395 B
Python
15 lines
395 B
Python
"""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
|