Translations:Rule Examples/63/en: различия между версиями

Материал из Wiren Board
(Новая страница: «dev[relay_up_device][relay_up_control] = 0; dev[relay_down_device][relay_down_control] = 0; log("Both roller shutter relays on, switching them off"); } }); })(); </syntaxhighlight>»)
 
 
Строка 1: Строка 1:
dev[relay_up_device][relay_up_control] = 0;
dev[relay_up_device][relay_up_control] = 0;
       dev[relay_down_device][relay_down_control] = 0;
       dev["relay_down_device/relay_down_control"] = 0;
       log("Both roller shutter relays on, switching them off");
       log("Both roller shutter relays on, switching them off");
     }
     }

Текущая версия на 21:55, 21 сентября 2022

Определение сообщения (Rule Examples)
dev[relay_up_device][relay_up_control] = 0;
     dev["relay_down_device/relay_down_control"] = 0;
     log("Both roller shutter relays on, switching them off");
   }
  });
})();
</syntaxhighlight>

dev[relay_up_device][relay_up_control] = 0;

     dev["relay_down_device/relay_down_control"] = 0;
     log("Both roller shutter relays on, switching them off");
   }
 });

})(); </syntaxhighlight>