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