mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-06 17:51:36 +00:00
12 lines
392 B
Python
12 lines
392 B
Python
"""Discover devices that implement the Google Cast platform."""
|
|
from . import MDNSDiscoverable
|
|
|
|
|
|
# pylint: disable=too-few-public-methods
|
|
class Discoverable(MDNSDiscoverable):
|
|
"""Add support for discovering Google Cast platform devices."""
|
|
|
|
def __init__(self, nd):
|
|
"""Initialize the Cast discovery."""
|
|
super(Discoverable, self).__init__(nd, '_googlecast._tcp.local.')
|