+
+ ${description}
+
+
+
+ ${roundedValue}%
+
+ 50,
+ "target-critical": roundedValue > 85,
+ })}"
+ .value=${value}
+ >
+
+ `;
+ }
+
+ private _getUsedSpace = memoizeOne((hostInfo: HassioHostInfo) =>
+ roundWithOneDecimal(
+ getValueInPercentage(hostInfo.disk_used, 0, hostInfo.disk_total)
+ )
+ );
+
+ private async _loadData(): Promise