設定スキーマ

Google Nest Thermostat 

sdm.devices.traits.Settings

このトレイトは、デバイス関連の設定情報を持つデバイスに使用します。

フィールド

フィールド 説明 データ型
temperatureScale Google Nest Thermostat に表示される温度の形式。 string
値: "CELSIUS"、"FAHRENHEIT"

GET リクエストとレスポンスの例

リクエスト

GET /enterprises/project-id/devices/device-id

レスポンス

{
  "name" : "enterprises/project-id/devices/device-id",
  "traits" : {
    "sdm.devices.traits.Settings" : {
      "temperatureScale" : "CELSIUS"
    }
  }
}

コマンド

この特性で使用できるコマンドはありません。

エラー

API エラーコードの一覧については、API エラーコードのリファレンスをご覧ください。