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 {
|
||||
if (isComponentLoaded(this.hass, "hardware")) {
|
||||
this._hardwareInfo = await this.hass.callWS({ type: "hardware/info" });
|
||||
} else if (isHassioLoaded) {
|
||||
this._OSData = await fetchHassioHassOsInfo(this.hass);
|
||||
}
|
||||
|
||||
if (isHassioLoaded) {
|
||||
this._OSData = await fetchHassioHassOsInfo(this.hass);
|
||||
this._hostData = await fetchHassioHostInfo(this.hass);
|
||||
}
|
||||
} catch (err: any) {
|
||||
|
|
Loading…
Reference in New Issue