rule "Set item values when system starts"
when
System started
then
if (Presence.state==NULL) Presence.sendCommand(ON)
if (MainDoor.state == NULL) MainDoor.sendCommand(CLOSED)
if (Hum_Threshold == NULL) Hum_Threshold.postUpdate(20)
end
Presence and MainDoor items are being set just fine but Hum_threshold item remains NULL
Here’s the item configuration