[valloxmv] Fix co2 channel, hopefully working this time (#10555)

Signed-off-by: Mikael Gustafsson <mikael.gustafsson80@gmail.com>
This commit is contained in:
Mikael Gustafsson 2021-04-22 21:32:31 +03:00 committed by GitHub
parent d3c137c73d
commit 0e4810e651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,8 +506,7 @@ public class ValloxMVWebSocket {
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));