Last Updated on : 2023-12-07 03:33:56download
Query weather conditions supported by a specified automation scene.
GET: /v1.0/homes/automation/weather/conditions
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
category | String | The category. |
category_name | String | The name of the specified category. |
operators | String | The operator. |
property | JSONObject | The property of the specified category. |
GET: /v1.0/homes/automation/weather/conditions
{
"result": [
{
"category_name": "Temperature",
"operators": "[\"<\",\"==\",\">\"]",
"property": {
"max": 40,
"type": "value",
"unit": "℃",
"min": -40,
"step": 1
},
"category": "temp"
}
],
"t": 1572936751228,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback