addition removed
According to this [documentation](https://dresden-elektronik.github.io/deconz-rest-doc/devices/philips/sml001_motion_sensor/#state-attributes_1) for `lightlevel` the addition of 0,5 is not correct
@@ -6,7 +6,7 @@ R.item('state/dark').val = measuredValue <= tholddark;
R.item('state/daylight').val = measuredValue >= tholddark + tholdoffset;
if (measuredValue >= 0 && measuredValue < 0xffff) {
const exp = measuredValue - 1;
- const l = Math.pow(10, exp / 10000.0) + 0.5;
+ const l = Math.pow(10, exp / 10000.0);
R.item('state/lux').val = Math.floor(l);
}
Item.val = measuredValue;
