From 60fbebc16bb818d483ef2dc3f92e6db8fafbdf86 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 19 Nov 2018 14:51:03 +0100 Subject: [PATCH] Rating add-on better they implement hass auth (#819) * Rating add-on better they implement hass auth * Update utils.py --- hassio/addons/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hassio/addons/utils.py b/hassio/addons/utils.py index 47a3fd26f..e64761f21 100644 --- a/hassio/addons/utils.py +++ b/hassio/addons/utils.py @@ -28,6 +28,10 @@ def rating_security(addon): elif addon.apparmor == SECURITY_PROFILE: rating += 1 + # Home Assistant Login + if addon.access_auth_api: + rating += 1 + # Privileged options if any(privilege in addon.privileged for privilege in (PRIVILEGED_NET_ADMIN, PRIVILEGED_SYS_ADMIN,