added retrieval of currentTemp and desiredTemp in api