Removed GET requests for changing device status. Now uses PUT requests.