*/
private class HumidityListener implements BrickletHumidity.HumidityListener {
@Override
public void humidity(int humidity) {
DecimalValue newValue = Tools.calculate10(humidity);
logger.trace("{} got new value {}", LoggerConstants.TFMODELUPDATE, newValue);
if (newValue.compareTo(getSensorValue(), getThreshold()) != 0 ) {
logger.trace("{} setting new value {}", LoggerConstants.TFMODELUPDATE, newValue);
setSensorValue(newValue);
} else {
logger.trace("{} omitting new value {}", LoggerConstants.TFMODELUPDATE, newValue);
}