async_get_url -> get_url (#35382)

This commit is contained in:
Franck Nijhof 2020-05-08 21:53:28 +02:00 committed by GitHub
parent 62f2520ee1
commit e3e3a113e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 243 additions and 315 deletions

View file

@ -7,7 +7,7 @@ import voluptuous as vol
from homeassistant import auth, config_entries, core
from homeassistant.const import ATTR_ENTITY_ID
from homeassistant.helpers import config_validation as cv, dispatcher
from homeassistant.helpers.network import async_get_url
from homeassistant.helpers.network import get_url
from .const import DOMAIN, SIGNAL_HASS_CAST_SHOW_VIEW
@ -41,7 +41,7 @@ async def async_setup_ha_cast(
async def handle_show_view(call: core.ServiceCall):
"""Handle a Show View service call."""
hass_url = async_get_url(hass, require_ssl=True)
hass_url = get_url(hass, require_ssl=True)
controller = HomeAssistantController(
# If you are developing Home Assistant Cast, uncomment and set to your dev app id.