From 043812bfc325423bae60ba54a18a5e54013c49eb Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 8 May 2023 10:51:47 +0200 Subject: [PATCH] Bump hass-nabucasa to 0.67.1 (#92484) * Bump hass-nabucasa to 0.67.1 * Fix typing --- homeassistant/components/cloud/manifest.json | 2 +- homeassistant/components/http/auth.py | 4 ++-- homeassistant/package_constraints.txt | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/cloud/manifest.json b/homeassistant/components/cloud/manifest.json index 45d540e9780..d352b7226f0 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.66.2"] + "requirements": ["hass-nabucasa==0.67.1"] } diff --git a/homeassistant/components/http/auth.py b/homeassistant/components/http/auth.py index f2cfe067404..21627ef7e4f 100644 --- a/homeassistant/components/http/auth.py +++ b/homeassistant/components/http/auth.py @@ -105,11 +105,11 @@ def async_user_not_allowed_do_auth( return "User is local only" try: - remote = ip_address(request.remote) # type: ignore[arg-type] + remote_address = ip_address(request.remote) # type: ignore[arg-type] except ValueError: return "Invalid remote IP" - if is_local(remote): + if is_local(remote_address): return None return "User cannot authenticate remotely" diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 7d4b54f98a2..122e82c4bf8 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -22,7 +22,7 @@ cryptography==40.0.2 dbus-fast==1.86.0 fnv-hash-fast==0.3.1 ha-av==10.0.0 -hass-nabucasa==0.66.2 +hass-nabucasa==0.67.1 hassil==1.0.6 home-assistant-bluetooth==1.10.0 home-assistant-frontend==20230503.3 diff --git a/requirements_all.txt b/requirements_all.txt index 35472a4037d..e6725db7932 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -872,7 +872,7 @@ ha-philipsjs==3.0.0 habitipy==0.2.0 # homeassistant.components.cloud -hass-nabucasa==0.66.2 +hass-nabucasa==0.67.1 # homeassistant.components.splunk hass_splunk==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 3494c3b1672..23f9df1b847 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -676,7 +676,7 @@ ha-philipsjs==3.0.0 habitipy==0.2.0 # homeassistant.components.cloud -hass-nabucasa==0.66.2 +hass-nabucasa==0.67.1 # homeassistant.components.conversation hassil==1.0.6