mirror of
https://github.com/home-assistant/core.git
synced 2026-04-29 21:21:46 +01:00
117 lines
2.2 KiB
JSON
117 lines
2.2 KiB
JSON
{
|
|
"endpoint": "https://apigw.tuyaeu.com",
|
|
"mqtt_connected": true,
|
|
"disabled_by": null,
|
|
"disabled_polling": false,
|
|
"name": "wallwasher front",
|
|
"category": "cz",
|
|
"product_id": "t0a4hwsf8anfsadp",
|
|
"product_name": "Smart Plug ",
|
|
"online": false,
|
|
"sub": false,
|
|
"time_zone": "+01:00",
|
|
"active_time": "2022-12-11T15:51:53+00:00",
|
|
"create_time": "2022-12-11T15:51:53+00:00",
|
|
"update_time": "2022-12-11T15:51:53+00:00",
|
|
"function": {
|
|
"switch_1": {
|
|
"type": "Boolean",
|
|
"value": {}
|
|
},
|
|
"countdown_1": {
|
|
"type": "Integer",
|
|
"value": {
|
|
"unit": "s",
|
|
"min": 0,
|
|
"max": 86400,
|
|
"scale": 0,
|
|
"step": 1
|
|
}
|
|
},
|
|
"relay_status": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["power_off", "power_on", "last"]
|
|
}
|
|
},
|
|
"light_mode": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["relay", "pos", "none"]
|
|
}
|
|
},
|
|
"child_lock": {
|
|
"type": "Boolean",
|
|
"value": {}
|
|
},
|
|
"cycle_time": {
|
|
"type": "String",
|
|
"value": {}
|
|
},
|
|
"random_time": {
|
|
"type": "String",
|
|
"value": {}
|
|
},
|
|
"switch_inching": {
|
|
"type": "String",
|
|
"value": {}
|
|
}
|
|
},
|
|
"status_range": {
|
|
"switch_1": {
|
|
"type": "Boolean",
|
|
"value": {}
|
|
},
|
|
"countdown_1": {
|
|
"type": "Integer",
|
|
"value": {
|
|
"unit": "s",
|
|
"min": 0,
|
|
"max": 86400,
|
|
"scale": 0,
|
|
"step": 1
|
|
}
|
|
},
|
|
"relay_status": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["power_off", "power_on", "last"]
|
|
}
|
|
},
|
|
"light_mode": {
|
|
"type": "Enum",
|
|
"value": {
|
|
"range": ["relay", "pos", "none"]
|
|
}
|
|
},
|
|
"child_lock": {
|
|
"type": "Boolean",
|
|
"value": {}
|
|
},
|
|
"cycle_time": {
|
|
"type": "String",
|
|
"value": {}
|
|
},
|
|
"random_time": {
|
|
"type": "String",
|
|
"value": {}
|
|
},
|
|
"switch_inching": {
|
|
"type": "String",
|
|
"value": {}
|
|
}
|
|
},
|
|
"status": {
|
|
"switch_1": true,
|
|
"countdown_1": 0,
|
|
"relay_status": "power_on",
|
|
"light_mode": "relay",
|
|
"child_lock": false,
|
|
"cycle_time": "",
|
|
"random_time": "",
|
|
"switch_inching": ""
|
|
},
|
|
"set_up": true,
|
|
"support_local": true
|
|
}
|