parent
6ad4e13b38
commit
043812bfc3
|
@ -8,5 +8,5 @@
|
||||||
"integration_type": "system",
|
"integration_type": "system",
|
||||||
"iot_class": "cloud_push",
|
"iot_class": "cloud_push",
|
||||||
"loggers": ["hass_nabucasa"],
|
"loggers": ["hass_nabucasa"],
|
||||||
"requirements": ["hass-nabucasa==0.66.2"]
|
"requirements": ["hass-nabucasa==0.67.1"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,11 +105,11 @@ def async_user_not_allowed_do_auth(
|
||||||
return "User is local only"
|
return "User is local only"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
remote = ip_address(request.remote) # type: ignore[arg-type]
|
remote_address = ip_address(request.remote) # type: ignore[arg-type]
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return "Invalid remote IP"
|
return "Invalid remote IP"
|
||||||
|
|
||||||
if is_local(remote):
|
if is_local(remote_address):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return "User cannot authenticate remotely"
|
return "User cannot authenticate remotely"
|
||||||
|
|
|
@ -22,7 +22,7 @@ cryptography==40.0.2
|
||||||
dbus-fast==1.86.0
|
dbus-fast==1.86.0
|
||||||
fnv-hash-fast==0.3.1
|
fnv-hash-fast==0.3.1
|
||||||
ha-av==10.0.0
|
ha-av==10.0.0
|
||||||
hass-nabucasa==0.66.2
|
hass-nabucasa==0.67.1
|
||||||
hassil==1.0.6
|
hassil==1.0.6
|
||||||
home-assistant-bluetooth==1.10.0
|
home-assistant-bluetooth==1.10.0
|
||||||
home-assistant-frontend==20230503.3
|
home-assistant-frontend==20230503.3
|
||||||
|
|
|
@ -872,7 +872,7 @@ ha-philipsjs==3.0.0
|
||||||
habitipy==0.2.0
|
habitipy==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.cloud
|
# homeassistant.components.cloud
|
||||||
hass-nabucasa==0.66.2
|
hass-nabucasa==0.67.1
|
||||||
|
|
||||||
# homeassistant.components.splunk
|
# homeassistant.components.splunk
|
||||||
hass_splunk==0.1.1
|
hass_splunk==0.1.1
|
||||||
|
|
|
@ -676,7 +676,7 @@ ha-philipsjs==3.0.0
|
||||||
habitipy==0.2.0
|
habitipy==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.cloud
|
# homeassistant.components.cloud
|
||||||
hass-nabucasa==0.66.2
|
hass-nabucasa==0.67.1
|
||||||
|
|
||||||
# homeassistant.components.conversation
|
# homeassistant.components.conversation
|
||||||
hassil==1.0.6
|
hassil==1.0.6
|
||||||
|
|
Loading…
Reference in New Issue