summaryrefslogtreecommitdiff
path: root/netdisco/discoverables/sonos.py
blob: 29c96c095bbec3c0df3958ceb3da609d2fd929e0 (plain)
1
2
3
4
5
6
7
8
9
10
"""Discover Sonos devices."""
from . import SSDPDiscoverable


class Discoverable(SSDPDiscoverable):
    """Add support for discovering Sonos devices."""

    def get_entries(self):
        """Get all the Sonos device uPnP entries."""
        return self.find_by_st("urn:schemas-upnp-org:device:ZonePlayer:1")