-
-
-
Add-on Security Rating
-
- Hass.io provides a security rating to each of the add-ons, which indicates the risks involved when using this add-on. The more access an add-on requires on your system, the lower the score, thus raising the possible security risks.
-
+
+
+
Show in sidebar
+
+
+ This option requires Home Assistant 0.92 or later.
+
+
+
-
Protection mode
+
+ Protection mode
+
+
+ Grant the add-on elevated system access.
+
+
-
-
-
@@ -580,5 +599,14 @@ class HassioAddonInfo extends EventsMixin(PolymerElement) {
this.fire("hass-api-called", eventData);
});
}
+
+ _computeCannotIngressSidebar(hass, addon) {
+ return !addon.ingress || !this._computeHA92plus(hass);
+ }
+
+ _computeHA92plus(hass) {
+ const [major, minor] = hass.config.version.split(".", 2);
+ return Number(major) > 0 || (major === "0" && Number(minor) >= 92);
+ }
}
customElements.define("hassio-addon-info", HassioAddonInfo);