mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-03 14:37:47 +00:00
hide watchdog if addon.startup !== once
This commit is contained in:
parent
4a6ae87c7d
commit
c252827545
@ -405,7 +405,7 @@ class HassioAddonInfo extends LitElement {
|
|||||||
></ha-switch>
|
></ha-switch>
|
||||||
</ha-settings-row>
|
</ha-settings-row>
|
||||||
|
|
||||||
${this.hass.userData?.showAdvanced
|
${this.addon.startup !== "once"
|
||||||
? html`
|
? html`
|
||||||
<ha-settings-row ?three-line=${this.narrow}>
|
<ha-settings-row ?three-line=${this.narrow}>
|
||||||
<span slot="heading">
|
<span slot="heading">
|
||||||
|
@ -52,6 +52,7 @@ export interface HassioAddonDetails extends HassioAddonInfo {
|
|||||||
hassio_api: boolean;
|
hassio_api: boolean;
|
||||||
hassio_role: "default" | "homeassistant" | "manager" | "admin";
|
hassio_role: "default" | "homeassistant" | "manager" | "admin";
|
||||||
homeassistant_api: boolean;
|
homeassistant_api: boolean;
|
||||||
|
startup: "initialize" | "system" | "services" | "application" | "once";
|
||||||
auth_api: boolean;
|
auth_api: boolean;
|
||||||
full_access: boolean;
|
full_access: boolean;
|
||||||
protected: boolean;
|
protected: boolean;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user