From a0a3d91a28cc5670877c299a0f05f2abc72ff679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Fri, 13 Oct 2023 21:46:52 +0200 Subject: [PATCH] Update hass-nabucasa from 0.71.0 to 0.73.0 (#101939) --- homeassistant/components/cloud/client.py | 6 ++++++ homeassistant/components/cloud/manifest.json | 2 +- homeassistant/package_constraints.txt | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/cloud/client.py b/homeassistant/components/cloud/client.py index c216ec85c5c..41ea4aa2b7d 100644 --- a/homeassistant/components/cloud/client.py +++ b/homeassistant/components/cloud/client.py @@ -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.""" diff --git a/homeassistant/components/cloud/manifest.json b/homeassistant/components/cloud/manifest.json index fe0628f1886..653ceafdaf0 100644 --- a/homeassistant/components/cloud/manifest.json +++ b/homeassistant/components/cloud/manifest.json @@ -8,5 +8,5 @@ "integration_type": "system", "iot_class": "cloud_push", "loggers": ["hass_nabucasa"], - "requirements": ["hass-nabucasa==0.71.0"] + "requirements": ["hass-nabucasa==0.73.0"] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 2a5ed1274b2..f4b8bdb73f3 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -19,7 +19,7 @@ cryptography==41.0.4 dbus-fast==2.11.1 fnv-hash-fast==0.4.1 ha-av==10.1.1 -hass-nabucasa==0.71.0 +hass-nabucasa==0.73.0 hassil==1.2.5 home-assistant-bluetooth==1.10.3 home-assistant-frontend==20231005.0 diff --git a/requirements_all.txt b/requirements_all.txt index 7fc8f713e17..b20c830f9a9 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -967,7 +967,7 @@ ha-philipsjs==3.1.1 habitipy==0.2.0 # homeassistant.components.cloud -hass-nabucasa==0.71.0 +hass-nabucasa==0.73.0 # homeassistant.components.splunk hass-splunk==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f88ca559a4c..8a529492f1e 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -768,7 +768,7 @@ ha-philipsjs==3.1.1 habitipy==0.2.0 # homeassistant.components.cloud -hass-nabucasa==0.71.0 +hass-nabucasa==0.73.0 # homeassistant.components.conversation hassil==1.2.5