i have several Aeon Labs (Aeotec) ZW100 Multisensor 6 items. Since i upgraded to OH 2.4 i’m having problems with my rules.
When a sensor detects motion i’m checking the luminance value of the item to check if the light i necessary or not.
One of my rules:
rule “Kitchen Light ON”
when
Item MultiSensor_Kitchen_MotionAlarm changed from OFF to ON
then
if (MultiSensor_Kitchen_SensorLuminance.state < 30 && now.getHourOfDay >= 7 && now.getHourOfDay < 20)
{
Switch_Light_Kitchen_Switch1.sendCommand(ON)
}
end
before the upgrade i got the plain number value with “MultiSensor_Kitchen_SensorLuminance.state”. Now i also receive the unit as postfix (i’ve seen this when i’ve send the state value via telegram -> 18 % was the value).
Why i’m getting “18 %” instead of “18” and for a zero value “0E+1 %”?
The item is configured as Type “Number” and Dimension “LuminousIntensity”