From 8d6926bdfe133861d790e41beeab6acc9fc28c04 Mon Sep 17 00:00:00 2001 From: Jin Date: Tue, 7 Dec 2021 11:44:03 +0700 Subject: [PATCH] jet mode status AC thinq1 --- src/v1/transforms/AirState.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/v1/transforms/AirState.ts b/src/v1/transforms/AirState.ts index 367aa62..ed3b031 100644 --- a/src/v1/transforms/AirState.ts +++ b/src/v1/transforms/AirState.ts @@ -52,5 +52,9 @@ export default function AirState(deviceModel: DeviceModel, decodedMonitor) { airState['airState.quality.PM10'] = parseInt(decodedMonitor['SensorPM10']); } + if (decodedMonitor['Jet']) { + airState['airState.wMode.jet'] = parseInt(decodedMonitor['Jet']); + } + return airState; }