frontend/hassio
Stefan Agner 92cf8b5579
Remove eMMC specific references in disk life time handling (#26379)
* Remove eMMC specific references in disk life time handling

Remove eMMC specific calculations and references in the disk life
time handling to generalize the code for all disk types. This includes
updating translations and UI components to reflect a more generic
approach to disk life time metrics.

* Assume 30 MB/s as the speed for disk operations

The previous code tried to estimate based on disk type, 30 MB/s for
eMMC devices and 10 MB/s for others. However, this did not work
correctly since the disk_life_time returns null for non-eMMC devices,
leading to 30 MB/s being used for all devices.

Now disk_life_time is not a eMMC indicator anymore. Simply assume a
constant speed of 30 MB/s for all disk operations explicitly.
2025-08-05 10:42:42 +02:00
..
script Refactor Webpack build scripts (#4093) 2019-10-21 15:02:54 -07:00
src Remove eMMC specific references in disk life time handling (#26379) 2025-08-05 10:42:42 +02:00
config.cjs Make module types explicit and convert some to ESM (#15964) 2023-03-30 11:23:43 +02:00