if ("true".equalsIgnoreCase(arguments.get("meter_reset")))
return;
String meterScale = arguments.get("meter_scale");
String meterZero = arguments.get("meter_zero");
ZWaveMeterValueEvent meterEvent = (ZWaveMeterValueEvent)event;
// Don't trigger event if this item is bound to another sensor type
if (meterScale != null && MeterScale.getMeterScale(meterScale) != meterEvent.getMeterScale())
return;
Object val = event.getValue();
// If we've set a zero, then anything below this value needs to be considered ZERO