16.10.2024, 07:26
(16.10.2024, 06:52)Krists Wrote:(15.10.2024, 14:31)Daniel Wrote: 2. Set script "Execution mode" to "Last instance only" and use this code:
The specified option is turned on. In this case - after a short status change (3sec) - the last status is sent.
I want to create an algorithm when absolutely nothing should be sent if the contact is fast-switching.
The problem seems to be solved. I moved os.sleep(10) before the first if loop