Skip to content

Commit

Permalink
Don't round lux after conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
spatialdude committed Apr 15, 2021
1 parent 0713d48 commit 862ef4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WH65.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class WH65 extends ThermoHygroSensor {
this.updateName(this.solarRadiation, `Solar Radiation: ${wm2} W/m²`);
this.solarRadiation.updateCharacteristic(
this.platform.Characteristic.CurrentAmbientLightLevel,
Math.round(lux));
lux);
this.updateStatusLowBattery(this.solarRadiation, lowBattery);
}

Expand Down

0 comments on commit 862ef4f

Please sign in to comment.