defineRule("roller_shutter_1_up_on", {
asSoonAs: function() { return relay_up_1; }, then: function () { setTimeout(function() { relay_up_1 = 0; }, timeout_s * 1000); } });