Translations:Rule Examples/61/en

Материал из Wiren Board
Версия от 20:39, 21 сентября 2022; Matveevrj (обсуждение | вклад) (Новая страница: «defineRule("roller_shutter_both_on" + suffix, { asSoonAs: function() { return dev[relay_up_device][relay_up_control] && dev[relay_down_device][relay_down_control]; }, then: function () { if (relay_up_timer_id) { relay_up_timer_id = clearTimeout(relay_up_timer_id); };»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

defineRule("roller_shutter_both_on" + suffix, {

   asSoonAs: function() {
     return dev[relay_up_device][relay_up_control] && dev[relay_down_device][relay_down_control];
   },
   then: function () {
     if (relay_up_timer_id) {
       relay_up_timer_id = clearTimeout(relay_up_timer_id); 
     };