One of my SmartApps is logging the exception “Execution time exceeded 20 app execution seconds” every time it runs.
I think it started on Friday, but I was made aware of it yesterday morning.
The error is happening because the command “device.events(max:50)” is taking between 80ms and 1,800ms to execute.
That means that most SmartApps that periodically check the events of more than 25 devices are probably experiencing the same timeout errors.