You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Home-AssistantConfig/deps/netdisco/discoverables/logitech_mediaserver.py

15 lines
443 B

"""Discover Logitech Media Server."""
from . import BaseDiscoverable
class Discoverable(BaseDiscoverable):
"""Add support for discovering Logitech Media Server."""
def __init__(self, netdis):
"""Initialize Logitech Media Server discovery."""
self.netdis = netdis
def get_entries(self):
"""Get all the Logitech Media Server details."""
return [entry['from'] for entry in self.netdis.lms.entries]

Powered by TurnKey Linux.