Skip to content

Commit

Permalink
Updated thermostat controller schema capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jsetton committed May 31, 2019
1 parent aeaa307 commit 5a1f037
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions validation_schemas/alexa_smart_home_message_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
}
}
},
"thermostatMode": {
"enum": [
"AUTO",
"COOL",
"HEAT",
"ECO",
"OFF"
]
},
"channel": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -1380,14 +1389,7 @@
]
},
"value": {
"enum": [
"HEAT",
"COOL",
"AUTO",
"ECO",
"OFF",
"CUSTOM"
]
"$ref": "#/definitions/common.properties/thermostatMode"
},
"timeOfSample": {
"$ref": "#/definitions/common.properties/timestamp"
Expand Down Expand Up @@ -1469,14 +1471,7 @@
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"HEAT",
"COOL",
"AUTO",
"ECO",
"OFF"
]
"$ref": "#/definitions/common.properties/thermostatMode"
}
}
}
Expand Down

0 comments on commit 5a1f037

Please sign in to comment.