コード例 #1
0
        /// <summary>
        /// Retrieve private or partner thermostat data
        /// </summary>
        /// <param name="deviceId">leave null or empty to get all devices, specify to get target device</param>
        public async Task <Response <NetatmoThermostatModuleData> > GetThermostatData(string deviceId = null)
        {
            var content  = HttpContentCreator.CreateGetThermostatDataHttpContent(deviceId);
            var response = await Request <NetatmoThermostatModuleData>(AppConstants.NetatmoGetThermostatDataUrl, content);

            return(response);
        }