Skip to content

Commit

Permalink
higher max value odor
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky-ESA committed Mar 5, 2024
1 parent 7eeff54 commit d897ee6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1791,8 +1791,8 @@ class LgThinq extends utils.Adapter {
common.max = 200;
} else if (state === "timeSetting") {
common.max = 360;
} else if (state === "airState.quality.odor") {
common.max = 20000;
} else if (state === "AirPolution" || state === "airState.quality.odor") {
common.max = 2000000;
} else if (
this.modelInfos[device.deviceId]["signature"] &&
(state === "reserveTimeMinute" ||
Expand Down Expand Up @@ -1886,9 +1886,7 @@ class LgThinq extends utils.Adapter {
common.max = 200;
} else if (state === "timeSetting") {
common.max = 360;
} else if (state === "airState.quality.odor") {
common.max = 20000;
} else if (state === "AirPolution") {
} else if (state === "AirPolution" || state === "airState.quality.odor") {
common.max = 2000000;
} else {
if (valueDefault != null && valueDefault > valueObject.max) {
Expand Down

0 comments on commit d897ee6

Please sign in to comment.