Just wondering about best practice when LUA coding. Is it better to ping a device and get it’s status before sending a switching instruction. For example if a switch is ON and some code regular switches it, is it better to check the status and if ON don’t bother to send the turn on switch instruction.
What’s more efficient/better use of the Vera units resources?