Skip to content

Commit

Permalink
[valloxmv] Fix co2 channel, hopefully working this time (openhab#10555)
Browse files Browse the repository at this point in the history
Signed-off-by: Mikael Gustafsson <[email protected]>
  • Loading branch information
mikaelgu80 authored and computergeek1507 committed Jul 13, 2021
1 parent eeed93b commit aa886ab
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,7 @@ public void onBinary(InputStream in) {
updateChannel(ValloxMVBindingConstants.CHANNEL_TEMPERATURE_INCOMING,
new QuantityType<>(bdTempIncoming, SIUnits.CELSIUS));
updateChannel(ValloxMVBindingConstants.CHANNEL_HUMIDITY, new QuantityType<>(iHumidity, Units.PERCENT));
updateChannel(ValloxMVBindingConstants.CHANNEL_CO2,
new QuantityType<>(iHumidity, Units.PARTS_PER_MILLION));
updateChannel(ValloxMVBindingConstants.CHANNEL_CO2, new QuantityType<>(iCo2, Units.PARTS_PER_MILLION));
updateChannel(ValloxMVBindingConstants.CHANNEL_CELLSTATE, new DecimalType(iCellstate));
updateChannel(ValloxMVBindingConstants.CHANNEL_UPTIME_YEARS, new DecimalType(iUptimeYears));
updateChannel(ValloxMVBindingConstants.CHANNEL_UPTIME_HOURS, new DecimalType(iUptimeHours));
Expand Down

0 comments on commit aa886ab

Please sign in to comment.