Update hass-nabucasa from 0.71.0 to 0.73.0 (#101939)

This commit is contained in:
Joakim Sørensen 2023-10-13 21:46:52 +02:00 committed by GitHub
parent 85fa364152
commit a0a3d91a28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 4 deletions

View file

@ -19,6 +19,7 @@ from homeassistant.components.alexa import (
from homeassistant.components.google_assistant import smart_home as ga
from homeassistant.const import __version__ as HA_VERSION
from homeassistant.core import Context, HassJob, HomeAssistant, callback
from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE
from homeassistant.helpers.dispatcher import async_dispatcher_send
from homeassistant.helpers.event import async_call_later
from homeassistant.util.aiohttp import MockRequest, serialize_response
@ -86,6 +87,11 @@ class CloudClient(Interface):
"""Return true if we want start a remote connection."""
return self._prefs.remote_enabled
@property
def client_name(self) -> str:
"""Return the client name that will be used for API calls."""
return SERVER_SOFTWARE
@property
def relayer_region(self) -> str | None:
"""Return the connected relayer region."""