تاریخ آخرین بهروزرسانی 2025-06-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-06-24 بهوقت ساعت هماهنگ جهانی."],[[["The `sdm.devices.traits.Temperature` trait applies to devices with temperature sensors and provides the current temperature in Celsius."],["The `ambientTemperatureCelsius` field represents the device's measured temperature in degrees Celsius."],["You can retrieve a device's temperature by sending a GET request to its resource endpoint, which includes the `sdm.devices.traits.Temperature` trait in the response if available."],["This trait is read-only, meaning there are no commands to control or modify the temperature."]]],["The `Temperature` trait, found in devices with temperature sensors, provides the `ambientTemperatureCelsius` field. This field reports the temperature in degrees Celsius measured at the device, as a number (e.g., 23.0). A GET request to a device's endpoint retrieves a response, including the device's name and its `Temperature` trait with the current `ambientTemperatureCelsius` reading. No commands are available for this trait, and API errors are listed in a separate reference.\n"]]