mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +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:
|
||||
rating += 1
|
||||
|
||||
# Home Assistant Login
|
||||
if addon.access_auth_api:
|
||||
# Home Assistant Login & Ingress
|
||||
if addon.with_ingress:
|
||||
rating += 2
|
||||
elif addon.access_auth_api:
|
||||
rating += 1
|
||||
|
||||
# Privileged options
|
||||
|
Loading…
x
Reference in New Issue
Block a user