Merge "Clear pending actions on local device on wakeup."