Sync all pin states on open