Don't forget to update the device state! :)