summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2025-07-19 15:35:44 +0800
committerLi Zhineng <[email protected]>2025-07-19 15:35:44 +0800
commit02298eb69f34876143e4955b6660d5cd9d2631a5 (patch)
tree7e073c6ff1ee1df1669337f7946ee784b93478d0 /README.md
parente6279ae486eef2d549a4b5dd15e4e446d2180dc7 (diff)
downloadairmx-main.tar.gz
airmx-main.zip
apply fixes by PrettierHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index c5cce11..0af3087 100644
--- a/README.md
+++ b/README.md
@@ -42,11 +42,11 @@ Just provide the device ID and control data.
```typescript
airmx.control(1, {
- power: 1, // 1 indicates on
- mode: 0, // 0 indicates manual control
- cadr: 47, // CADR accepts a number range from 0 - 100
- denoise: 0, // 0 indicates off
- heatStatus: 0 // 0 indicates off
+ power: 1, // 1 indicates on
+ mode: 0, // 0 indicates manual control
+ cadr: 47, // CADR accepts a number range from 0 - 100
+ denoise: 0, // 0 indicates off
+ heatStatus: 0, // 0 indicates off
})
```
@@ -81,10 +81,10 @@ The library replicates the built-in modes available in the official mobile
applications:
- **AI Mode:** Automatically adjusts CADR (Clean Air Delivery Rate) based
- on data from a paired air monitor.
+ on data from a paired air monitor.
- **Silent Mode:** Reduces fan speed to minimize noise output.
- **Turbo Mode:** Maximizes the device's purification capability, operating
- at 100% fan speed for rapid air cleaning.
+ at 100% fan speed for rapid air cleaning.
```typescript
airmx.device(1).ai()