From 26afaeecfa299041fabbd53979cff4012cd6fe7a Mon Sep 17 00:00:00 2001 From: ARIA Date: Sat, 1 Aug 2026 16:03:02 +0200 Subject: [PATCH] Fix fan_mode type to match backend API ('auto' | 'curve') --- frontend/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/types.ts b/frontend/src/types.ts index c1c37fc..4a40f45 100644 --- a/frontend/src/types.ts +++ b/frontend/src/types.ts @@ -73,7 +73,7 @@ export interface FanPoint { export interface FanState { fan_pct: number | null; - fan_mode: number | null; + fan_mode: 'auto' | 'curve' | null; min_fan_pct: number | null; max_fan_pct: number | null; curve: FanPoint[] | null;