mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 13:07:49 +00:00
always load os data if supervisor
This commit is contained in:
parent
8c98326e31
commit
7c4837763e
@ -352,11 +352,10 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
|
|||||||
try {
|
try {
|
||||||
if (isComponentLoaded(this.hass, "hardware")) {
|
if (isComponentLoaded(this.hass, "hardware")) {
|
||||||
this._hardwareInfo = await this.hass.callWS({ type: "hardware/info" });
|
this._hardwareInfo = await this.hass.callWS({ type: "hardware/info" });
|
||||||
} else if (isHassioLoaded) {
|
|
||||||
this._OSData = await fetchHassioHassOsInfo(this.hass);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isHassioLoaded) {
|
if (isHassioLoaded) {
|
||||||
|
this._OSData = await fetchHassioHassOsInfo(this.hass);
|
||||||
this._hostData = await fetchHassioHostInfo(this.hass);
|
this._hostData = await fetchHassioHostInfo(this.hass);
|
||||||
}
|
}
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user