blob: 4328c60dfd1c705ef70bc517b1aaa9daf5d774fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
"""Discover LG WebOS TV devices."""
from . import SSDPDiscoverable
class Discoverable(SSDPDiscoverable):
"""Add support for discovering LG WebOS TV devices."""
def get_entries(self):
"""Get all the LG WebOS TV device uPnP entries."""
return self.find_by_device_description(
{
"deviceType": "urn:schemas-upnp-org:device:Basic:1",
"modelName": "LG Smart TV"
}
)
|