[master 11/22] Use availability information in device actions.