mirror of
https://github.com/home-assistant/core.git
synced 2026-04-29 21:21:46 +01:00
101 lines
1.9 KiB
JSON
101 lines
1.9 KiB
JSON
{
|
|
"endpoint": "https://apigw.tuyaeu.com",
|
|
"mqtt_connected": true,
|
|
"disabled_by": null,
|
|
"disabled_polling": false,
|
|
"name": "blinds",
|
|
"category": "cl",
|
|
"product_id": "cpbo62rn",
|
|
"product_name": "curtain robot",
|
|
"online": true,
|
|
"sub": true,
|
|
"time_zone": "+00:00",
|
|
"active_time": "2023-06-29T15:14:19+00:00",
|
|
"create_time": "2023-06-29T15:14:19+00:00",
|
|
"update_time": "2023-06-29T15:14:19+00:00",
|
|
"function": {
|
|
"control": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["open", "stop", "close", "continue"]
|
|
}
|
|
},
|
|
"percent_control": {
|
|
"type": "Integer",
|
|
"value": {
|
|
"unit": "%",
|
|
"min": 0,
|
|
"max": 100,
|
|
"scale": 0,
|
|
"step": 1
|
|
}
|
|
},
|
|
"mode": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["morning", "night"]
|
|
}
|
|
}
|
|
},
|
|
"status_range": {
|
|
"control": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["open", "stop", "close", "continue"]
|
|
}
|
|
},
|
|
"percent_control": {
|
|
"type": "Integer",
|
|
"value": {
|
|
"unit": "%",
|
|
"min": 0,
|
|
"max": 100,
|
|
"scale": 0,
|
|
"step": 1
|
|
}
|
|
},
|
|
"percent_state": {
|
|
"type": "Integer",
|
|
"value": {
|
|
"unit": "%",
|
|
"min": 0,
|
|
"max": 100,
|
|
"scale": 0,
|
|
"step": 1
|
|
}
|
|
},
|
|
"mode": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["morning", "night"]
|
|
}
|
|
},
|
|
"fault": {
|
|
"type": "Bitmap",
|
|
"value": {
|
|
"label": ["motor_fault"]
|
|
}
|
|
},
|
|
"battery_percentage": {
|
|
"type": "Integer",
|
|
"value": {
|
|
"unit": "%",
|
|
"min": 0,
|
|
"max": 100,
|
|
"scale": 0,
|
|
"step": 1
|
|
}
|
|
}
|
|
},
|
|
"status": {
|
|
"control": "stop",
|
|
"percent_control": 63,
|
|
"percent_state": 64,
|
|
"mode": "morning",
|
|
"fault": 0,
|
|
"battery_percentage": 100
|
|
},
|
|
"set_up": true,
|
|
"support_local": true
|
|
}
|