New emtp subtheme in custom folder

tis is the page-title.html.twig in new theme

Exclude a device using javascript

Submitted by hamza.sarhrouni_1 on

Hello evryone,

I need to know if someone among you had already done a script to exclude devices in emtp?

h.gras

Hi Hamza,

Here is how to do:

var cct = currentCircuit()  //grab the circuit

var dev = cct.devices('Name', 'Dev')[0]  //grab the device named Dev

dev.setAttribute('Exclude', 'Ex')   //exclude the device.

Let me know if anything.

Thanks

Henry

Wed, 06/06/2018 - 13:16 Permalink