I have a plugin that has "runConcurrentThread" to sleep every 30 seconds. I have a debug line in the method to check "runConcurrentThread" is running and it is, every 30 seconds. The problem is that the Last Updated time never updates automatically each time "runConcurrentThread" runs. Other plugins work fine in this respect. Is there a setting for this?
- Code: Select all
def runConcurrentThread(self):
try:
while True:
self.errorLog('running concurrent thread')
self.updateDeviceStates()
self.sleep(30)
except self.StopThread:
kind regards,
Z