Commit afe4763
committed
feat: Implement conditional logic for dehumidifier and fan based on smart mode, humidity, and temperature
✅ Logic:
- If smartMode is enabled:
- Activates dehumidifier if humidity > 0.7
- Else, activates fan only
- If smartMode is disabled:
- Activates dehumidifier if humidity > 0.7
- Else, activates fan if temperature > 24°C.
Signed-off-by: Somesh diwan <[email protected]>1 parent 310ae5a commit afe4763
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments