18.02.2016, 10:12
(18.02.2016, 08:21)Pawel Wrote: Is there any solution to prevent executing this function on every tag change?
When there is 5 - 10 statuses, there is no problem, but if there is 100 or 200 statuses of whole house, script has to execute 100 time which can slow down LM...
Before doing a function you can check if the status of this lamp is the same that the central status.
Code:
tag="kitchen"
if status1~=central then
tag_or(tag)
end