File: lutron.py

package info (click to toggle)
python-netdisco 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 516 kB
  • sloc: python: 1,550; xml: 247; sh: 10; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
"""Discover Lutron Caseta Smart Bridge and Smart Bridge Pro devices."""
from . import MDNSDiscoverable


class Discoverable(MDNSDiscoverable):
    """Add support for discovering Lutron Caseta Smart Bridge
    and Smart Bridge Pro devices."""

    def __init__(self, nd):
        """Initialize the Lutron Smart Bridge discovery."""
        super(Discoverable, self).__init__(nd, '_lutron._tcp.local.')