Skip to content

Commit

Permalink
jet mode status AC thinq1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin committed Dec 7, 2021
1 parent e35e2eb commit 8d6926b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/v1/transforms/AirState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 8d6926b

Please sign in to comment.