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

@ -18,7 +18,7 @@ from homeassistant.const import (
)
from homeassistant.core import Context, HomeAssistant, State, callback
from homeassistant.helpers.event import async_call_later
from homeassistant.helpers.network import async_get_url
from homeassistant.helpers.network import get_url
from homeassistant.helpers.storage import Store
from . import trait
@ -426,7 +426,7 @@ class GoogleEntity:
"webhookId": self.config.local_sdk_webhook_id,
"httpPort": self.hass.http.server_port,
"httpSSL": self.hass.config.api.use_ssl,
"baseUrl": async_get_url(self.hass, prefer_external=True),
"baseUrl": get_url(self.hass, prefer_external=True),
"proxyDeviceId": agent_user_id,
}