mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 16:16:31 +00:00
Change rating for ingress add-on (#1451)
* Change rating for ingress add-on * Fix style
This commit is contained in:
parent
a320e42ed5
commit
2a2d92e3c5
@ -39,8 +39,10 @@ def rating_security(addon: AddonModel) -> int:
|
|||||||
elif addon.apparmor == SECURITY_PROFILE:
|
elif addon.apparmor == SECURITY_PROFILE:
|
||||||
rating += 1
|
rating += 1
|
||||||
|
|
||||||
# Home Assistant Login
|
# Home Assistant Login & Ingress
|
||||||
if addon.access_auth_api:
|
if addon.with_ingress:
|
||||||
|
rating += 2
|
||||||
|
elif addon.access_auth_api:
|
||||||
rating += 1
|
rating += 1
|
||||||
|
|
||||||
# Privileged options
|
# Privileged options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user