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.
 
 
 
 

15 lines
451 B

"""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"
}
)