Added wakeup interval
Fixed the edit device when no form