refactor: add getMeterState function

This commit is contained in:
henrygd
2025-08-02 23:44:07 -04:00
parent 5f7950b474
commit 8af3a0eb5b
3 changed files with 33 additions and 18 deletions

View File

@@ -21,3 +21,10 @@ export enum Unit {
Celsius,
Fahrenheit,
}
/** Meter state for color */
export enum MeterState {
Good,
Warn,
Crit,
}