mirror of
https://github.com/home-assistant/core.git
synced 2026-02-15 07:36:16 +00:00
Bump hass-nabucasa from 1.7.0 to 1.8.0 (#160775)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
2
requirements.txt
generated
2
requirements.txt
generated
@@ -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
|
||||
|
||||
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@@ -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
|
||||
|
||||
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@@ -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
|
||||
|
||||
@@ -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"]}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"},
|
||||
)
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user