Bump pychromecast to 13.0.2 (#83625)

* Bump pychromecast to 13.0.2

* Pass hass UUID to HomeAssistantController
pull/83679/head
Erik Montnemery 2022-12-09 20:33:00 +01:00 committed by GitHub
parent 09f9bb05dc
commit cd487ccaed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import voluptuous as vol
from homeassistant import auth, config_entries, core from homeassistant import auth, config_entries, core
from homeassistant.const import ATTR_ENTITY_ID from homeassistant.const import ATTR_ENTITY_ID
from homeassistant.exceptions import HomeAssistantError 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.network import NoURLAvailableError, get_url
from homeassistant.helpers.service import async_register_admin_service from homeassistant.helpers.service import async_register_admin_service
@ -49,10 +49,13 @@ async def async_setup_ha_cast(
except NoURLAvailableError as err: except NoURLAvailableError as err:
raise HomeAssistantError(NO_URL_AVAILABLE_ERROR) from err raise HomeAssistantError(NO_URL_AVAILABLE_ERROR) from err
hass_uuid = await instance_id.async_get(hass)
controller = HomeAssistantController( controller = HomeAssistantController(
# If you are developing Home Assistant Cast, uncomment and set to your dev app id. # If you are developing Home Assistant Cast, uncomment and set to your dev app id.
# app_id="5FE44367", # app_id="5FE44367",
hass_url=hass_url, hass_url=hass_url,
hass_uuid=hass_uuid,
client_id=None, client_id=None,
refresh_token=refresh_token.token, refresh_token=refresh_token.token,
) )

View File

@ -3,7 +3,7 @@
"name": "Google Cast", "name": "Google Cast",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/cast", "documentation": "https://www.home-assistant.io/integrations/cast",
"requirements": ["pychromecast==13.0.1"], "requirements": ["pychromecast==13.0.2"],
"after_dependencies": [ "after_dependencies": [
"cloud", "cloud",
"http", "http",

View File

@ -1507,7 +1507,7 @@ pycfdns==2.0.1
pychannels==1.2.3 pychannels==1.2.3
# homeassistant.components.cast # homeassistant.components.cast
pychromecast==13.0.1 pychromecast==13.0.2
# homeassistant.components.pocketcasts # homeassistant.components.pocketcasts
pycketcasts==1.0.1 pycketcasts==1.0.1

View File

@ -1080,7 +1080,7 @@ pybravia==0.2.3
pycfdns==2.0.1 pycfdns==2.0.1
# homeassistant.components.cast # homeassistant.components.cast
pychromecast==13.0.1 pychromecast==13.0.2
# homeassistant.components.comfoconnect # homeassistant.components.comfoconnect
pycomfoconnect==0.5.1 pycomfoconnect==0.5.1