Bump pychromecast to 13.0.2 (#83625)
* Bump pychromecast to 13.0.2 * Pass hass UUID to HomeAssistantControllerpull/83679/head
parent
09f9bb05dc
commit
cd487ccaed
|
@ -7,7 +7,7 @@ import voluptuous as vol
|
|||
from homeassistant import auth, config_entries, core
|
||||
from homeassistant.const import ATTR_ENTITY_ID
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
from homeassistant.helpers import config_validation as cv, dispatcher
|
||||
from homeassistant.helpers import config_validation as cv, dispatcher, instance_id
|
||||
from homeassistant.helpers.network import NoURLAvailableError, get_url
|
||||
from homeassistant.helpers.service import async_register_admin_service
|
||||
|
||||
|
@ -49,10 +49,13 @@ async def async_setup_ha_cast(
|
|||
except NoURLAvailableError as err:
|
||||
raise HomeAssistantError(NO_URL_AVAILABLE_ERROR) from err
|
||||
|
||||
hass_uuid = await instance_id.async_get(hass)
|
||||
|
||||
controller = HomeAssistantController(
|
||||
# If you are developing Home Assistant Cast, uncomment and set to your dev app id.
|
||||
# app_id="5FE44367",
|
||||
hass_url=hass_url,
|
||||
hass_uuid=hass_uuid,
|
||||
client_id=None,
|
||||
refresh_token=refresh_token.token,
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Google Cast",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/cast",
|
||||
"requirements": ["pychromecast==13.0.1"],
|
||||
"requirements": ["pychromecast==13.0.2"],
|
||||
"after_dependencies": [
|
||||
"cloud",
|
||||
"http",
|
||||
|
|
|
@ -1507,7 +1507,7 @@ pycfdns==2.0.1
|
|||
pychannels==1.2.3
|
||||
|
||||
# homeassistant.components.cast
|
||||
pychromecast==13.0.1
|
||||
pychromecast==13.0.2
|
||||
|
||||
# homeassistant.components.pocketcasts
|
||||
pycketcasts==1.0.1
|
||||
|
|
|
@ -1080,7 +1080,7 @@ pybravia==0.2.3
|
|||
pycfdns==2.0.1
|
||||
|
||||
# homeassistant.components.cast
|
||||
pychromecast==13.0.1
|
||||
pychromecast==13.0.2
|
||||
|
||||
# homeassistant.components.comfoconnect
|
||||
pycomfoconnect==0.5.1
|
||||
|
|
Loading…
Reference in New Issue