bugfix
This commit is contained in:
parent
41c15c68c8
commit
30530c0648
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ public class Oregon0x1A2DProtocol extends TellstickProtocol {
|
||||||
list.add(new TellstickDecodedEntry(
|
list.add(new TellstickDecodedEntry(
|
||||||
new Oregon0x1A2D(address, OregonSensorType.TEMPERATURE),
|
new Oregon0x1A2D(address, OregonSensorType.TEMPERATURE),
|
||||||
new TemperatureSensorData(temperature)));
|
new TemperatureSensorData(temperature)));
|
||||||
if (!humidityFound && humidity!=0)
|
if (!humidityFound && humidity>0.0)
|
||||||
list.add(new TellstickDecodedEntry(
|
list.add(new TellstickDecodedEntry(
|
||||||
new Oregon0x1A2D(address, OregonSensorType.HUMIDITY),
|
new Oregon0x1A2D(address, OregonSensorType.HUMIDITY),
|
||||||
new HumiditySensorData(humidity)));
|
new HumiditySensorData(humidity)));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue