Skip to content

Commit

Permalink
Reduced log level for onHumidity events (now debug events)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-cam committed Jul 12, 2024
1 parent 7176d5a commit b2577ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessories/humidifier-dehumidifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b2577ba

Please sign in to comment.