diff --git a/pychromecast/dial.py b/pychromecast/dial.py index 49228ba43..927fbf238 100644 --- a/pychromecast/dial.py +++ b/pychromecast/dial.py @@ -7,6 +7,7 @@ import logging import requests +from .const import CAST_TYPE_CHROMECAST from .discovery import get_info_from_service, get_host_from_service_info XML_NS_UPNP_DEVICE = "{urn:schemas-upnp-org:device-1-0}" @@ -81,6 +82,8 @@ def get_device_status(host, services=None, zconf=None): udn = status.get("ssdp_udn", None) + cast_type = CAST_TYPE_CHROMECAST + uuid = None if udn: uuid = UUID(udn.replace("-", ""))