diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index 410029c2716..17a1ad4800d 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -50,7 +50,6 @@ from . import ( from .client import CloudClient from .const import ( CONF_ACCOUNT_LINK_SERVER, - CONF_ACCOUNTS_SERVER, CONF_ACME_SERVER, CONF_ALEXA, CONF_ALIASES, @@ -138,7 +137,6 @@ _BASE_CONFIG_SCHEMA = vol.Schema( vol.Optional(CONF_ALEXA): ALEXA_SCHEMA, vol.Optional(CONF_GOOGLE_ACTIONS): GACTIONS_SCHEMA, vol.Optional(CONF_ACCOUNT_LINK_SERVER): str, - vol.Optional(CONF_ACCOUNTS_SERVER): str, vol.Optional(CONF_ACME_SERVER): str, vol.Optional(CONF_API_SERVER): str, vol.Optional(CONF_RELAYER_SERVER): str, diff --git a/homeassistant/components/cloud/const.py b/homeassistant/components/cloud/const.py index 2922d62792e..f69533aabe4 100644 --- a/homeassistant/components/cloud/const.py +++ b/homeassistant/components/cloud/const.py @@ -76,7 +76,6 @@ CONF_GOOGLE_ACTIONS = "google_actions" CONF_USER_POOL_ID = "user_pool_id" CONF_ACCOUNT_LINK_SERVER = "account_link_server" -CONF_ACCOUNTS_SERVER = "accounts_server" CONF_ACME_SERVER = "acme_server" CONF_API_SERVER = "api_server" CONF_DISCOVERY_SERVICE_ACTIONS = "discovery_service_actions" diff --git a/homeassistant/components/cloud/manifest.json b/homeassistant/components/cloud/manifest.json index bcf2d015808..87f6df0f067 100644 --- a/homeassistant/components/cloud/manifest.json +++ b/homeassistant/components/cloud/manifest.json @@ -13,6 +13,6 @@ "integration_type": "system", "iot_class": "cloud_push", "loggers": ["acme", "hass_nabucasa", "snitun"], - "requirements": ["hass-nabucasa==1.7.0"], + "requirements": ["hass-nabucasa==1.8.0"], "single_config_entry": true } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 42eee2dd3f3..3a6f54cac30 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -36,7 +36,7 @@ fnv-hash-fast==1.6.0 go2rtc-client==0.4.0 ha-ffmpeg==3.2.2 habluetooth==5.8.0 -hass-nabucasa==1.7.0 +hass-nabucasa==1.8.0 hassil==3.5.0 home-assistant-bluetooth==1.13.1 home-assistant-frontend==20260107.1 diff --git a/pyproject.toml b/pyproject.toml index 88db30b4ce5..ffd08a69778 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ dependencies = [ "fnv-hash-fast==1.6.0", # hass-nabucasa is imported by helpers which don't depend on the cloud # integration - "hass-nabucasa==1.7.0", + "hass-nabucasa==1.8.0", # When bumping httpx, please check the version pins of # httpcore, anyio, and h11 in gen_requirements_all "httpx==0.28.1", diff --git a/requirements.txt b/requirements.txt index b78cf645e81..4b7fbc3084b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,7 +24,7 @@ cronsim==2.7 cryptography==46.0.2 fnv-hash-fast==1.6.0 ha-ffmpeg==3.2.2 -hass-nabucasa==1.7.0 +hass-nabucasa==1.8.0 hassil==3.5.0 home-assistant-bluetooth==1.13.1 home-assistant-intents==2026.1.6 diff --git a/requirements_all.txt b/requirements_all.txt index f53ecd1617b..b417ca2cfe5 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1172,7 +1172,7 @@ habluetooth==5.8.0 hanna-cloud==0.0.7 # homeassistant.components.cloud -hass-nabucasa==1.7.0 +hass-nabucasa==1.8.0 # homeassistant.components.splunk hass-splunk==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 560329e11b8..5ab5e508cd3 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1042,7 +1042,7 @@ habluetooth==5.8.0 hanna-cloud==0.0.7 # homeassistant.components.cloud -hass-nabucasa==1.7.0 +hass-nabucasa==1.8.0 # homeassistant.components.assist_satellite # homeassistant.components.conversation diff --git a/tests/components/cloud/test_http_api.py b/tests/components/cloud/test_http_api.py index f2844264ef0..eaaf42bc9bd 100644 --- a/tests/components/cloud/test_http_api.py +++ b/tests/components/cloud/test_http_api.py @@ -130,7 +130,6 @@ async def setup_cloud_fixture(hass: HomeAssistant, cloud: MagicMock) -> None: "relayer_server": "relayer", "acme_server": "cert-server", "api_server": "api-test.example.com", - "accounts_server": "api-test.hass.io", "google_actions": {"filter": {"include_domains": "light"}}, "alexa": { "filter": {"include_entities": ["light.kitchen", "switch.ac"]} diff --git a/tests/components/cloud/test_init.py b/tests/components/cloud/test_init.py index 71ff04d9f3a..92d9660016c 100644 --- a/tests/components/cloud/test_init.py +++ b/tests/components/cloud/test_init.py @@ -45,7 +45,6 @@ async def test_constructor_loads_info_from_config(hass: HomeAssistant) -> None: "region": "test-region", "api_server": "test-api-server", "relayer_server": "test-relayer-server", - "accounts_server": "test-acounts-server", "acme_server": "test-acme-server", "remotestate_server": "test-remotestate-server", "discovery_service_actions": { @@ -63,7 +62,6 @@ async def test_constructor_loads_info_from_config(hass: HomeAssistant) -> None: assert cl.region == "test-region" assert cl.relayer_server == "test-relayer-server" assert cl.iot.ws_server_url == "wss://test-relayer-server/websocket" - assert cl.accounts_server == "test-acounts-server" assert cl.acme_server == "test-acme-server" assert cl.api_server == "test-api-server" assert cl.remotestate_server == "test-remotestate-server" diff --git a/tests/components/cloud/test_repairs.py b/tests/components/cloud/test_repairs.py index 0377ee81dba..48e807b1598 100644 --- a/tests/components/cloud/test_repairs.py +++ b/tests/components/cloud/test_repairs.py @@ -48,7 +48,7 @@ async def test_create_repair_issues_at_startup_if_logged_in( ) -> None: """Test that we create repair issue at startup if we are logged in.""" aioclient_mock.get( - "https://accounts.nabucasa.com/payments/subscription_info", + "https://api.nabucasa.com/account/payments/subscription_info", json={"provider": "legacy"}, ) @@ -88,11 +88,11 @@ async def test_legacy_subscription_repair_flow( ) -> None: """Test desired flow of the fix flow for legacy subscription.""" aioclient_mock.get( - "https://accounts.nabucasa.com/payments/subscription_info", + "https://api.nabucasa.com/account/payments/subscription_info", json={"provider": None}, ) aioclient_mock.post( - "https://accounts.nabucasa.com/payments/migrate_paypal_agreement", + "https://api.nabucasa.com/account/payments/migrate_paypal_agreement", json={"url": "https://paypal.com"}, ) diff --git a/tests/components/cloud/test_subscription.py b/tests/components/cloud/test_subscription.py index 45c199421d6..2a8fb0eb5ff 100644 --- a/tests/components/cloud/test_subscription.py +++ b/tests/components/cloud/test_subscription.py @@ -20,7 +20,6 @@ from tests.test_util.aiohttp import AiohttpClientMocker async def mocked_cloud_object(hass: HomeAssistant) -> Cloud: """Mock cloud object.""" return Mock( - accounts_server="accounts.nabucasa.com", auth=Mock(async_check_token=AsyncMock()), websession=async_get_clientsession(hass), payments=Mock( diff --git a/tests/components/cloud/test_tts.py b/tests/components/cloud/test_tts.py index f830cb27259..ff7915ceee5 100644 --- a/tests/components/cloud/test_tts.py +++ b/tests/components/cloud/test_tts.py @@ -345,10 +345,10 @@ async def test_get_tts_audio_logged_out( @pytest.mark.parametrize( - ("mock_process_tts_side_effect"), + "mock_process_tts_side_effect", [ - (None,), - (VoiceError("Boom!"),), + None, + VoiceError("Boom!"), ], ) async def test_tts_entity(