always load os data if supervisor

This commit is contained in:
Bram Kragten 2022-09-06 11:33:31 +02:00
parent 8c98326e31
commit 7c4837763e
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B
1 changed files with 1 additions and 2 deletions

View File

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