Compare commits

...

1 Commits

Author SHA1 Message Date
Bram Kragten
7c4837763e always load os data if supervisor 2022-09-06 11:33:31 +02:00

View File

@@ -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) {