From b2577ba378ada3b516c2061e52639272a5898a10 Mon Sep 17 00:00:00 2001 From: Kiwi Cam <32912464+kiwi-cam@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:17:54 +1200 Subject: [PATCH] Reduced log level for onHumidity events (now debug events) --- accessories/humidifier-dehumidifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessories/humidifier-dehumidifier.js b/accessories/humidifier-dehumidifier.js index 2ff2517d..c44e95b1 100755 --- a/accessories/humidifier-dehumidifier.js +++ b/accessories/humidifier-dehumidifier.js @@ -215,7 +215,7 @@ class HumidifierDehumidifierAccessory extends FanAccessory { humidity += humidityAdjustment; state.currentHumidity = humidity; - if(logLevel <=2) {log(`\x1b[36m[INFO] \x1b[0m${name} onHumidity (` + humidity + `)`);} + if(logLevel <=1) {log(`\x1b[34m[DEBUG]\x1b[0m ${name} onHumidity (` + humidity + `)`);} //Fakegato history update //Ignore readings of exactly zero - the default no value value.