${this.supervisor.host.features.includes("hostname")
? html`
${this.supervisor.localize("system.host.hostname")}
${this.supervisor.host.hostname}
`
: ""}
${this.supervisor.host.features.includes("network")
? html`
${this.supervisor.localize("system.host.ip_address")}
${primaryIpAddress}
`
: ""}
${this.supervisor.localize("system.host.operating_system")}
${this.supervisor.host.operating_system}
${!atLeastVersion(this.hass.config.version, 2021, 12) &&
this.supervisor.os.update_available
? html`
`
: ""}
${!this.supervisor.host.features.includes("haos")
? html`
${this.supervisor.localize("system.host.docker_version")}
${this.supervisor.info.docker}
`
: ""}
${this.supervisor.host.deployment
? html`
${this.supervisor.localize("system.host.deployment")}
${this.supervisor.host.deployment}
`
: ""}
${this.supervisor.host.disk_life_time !== "" &&
this.supervisor.host.disk_life_time >= 10
? html`
${this.supervisor.localize(
"system.host.emmc_lifetime_used"
)}
${this.supervisor.host.disk_life_time - 10} % -
${this.supervisor.host.disk_life_time} %
`
: ""}
${metrics.map(
(metric) => html`
`
)}
${this.supervisor.host.features.includes("reboot")
? html`
${this.supervisor.localize("system.host.reboot_host")}
`
: ""}
${this.supervisor.host.features.includes("shutdown")
? html`
${this.supervisor.localize("system.host.shutdown_host")}
`
: ""}
${this.supervisor.localize("system.host.hardware")}
${this.supervisor.host.features.includes("haos")
? html`
${this.supervisor.localize("system.host.import_from_usb")}
${this.supervisor.host.features.includes("os_agent") &&
atLeastVersion(this.supervisor.host.agent_version, 1, 2, 0)
? html`
${this.supervisor.localize(
"system.host.move_datadisk"
)}
`
: ""}
`
: ""}