1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-29 21:21:46 +01:00
Files
core/tests/components/tuya/fixtures/cz_fencxse0bnut96ig.json
2025-08-14 14:51:43 +02:00

101 lines
1.9 KiB
JSON

{
"endpoint": "https://openapi.tuyaeu.com",
"auth_type": 0,
"country_code": "46",
"app_type": "smartlife",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "Spa",
"model": "JLCZ8266",
"category": "cz",
"product_id": "fencxse0bnut96ig",
"product_name": "smart plug",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2022-01-28T07:32:38+00:00",
"create_time": "2022-01-28T07:32:38+00:00",
"update_time": "2022-01-28T07:32:52+00:00",
"function": {
"switch_1": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
}
},
"status_range": {
"switch_1": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"add_ele": {
"type": "Integer",
"value": {
"unit": "kwh",
"min": 0,
"max": 50000,
"scale": 3,
"step": 100
}
},
"cur_current": {
"type": "Integer",
"value": {
"unit": "mA",
"min": 0,
"max": 30000,
"scale": 0,
"step": 1
}
},
"cur_power": {
"type": "Integer",
"value": {
"unit": "W",
"min": 0,
"max": 50000,
"scale": 1,
"step": 1
}
},
"cur_voltage": {
"type": "Integer",
"value": {
"unit": "V",
"min": 0,
"max": 5000,
"scale": 1,
"step": 1
}
}
},
"status": {
"switch_1": true,
"countdown_1": 0,
"add_ele": 203,
"cur_current": 5404,
"cur_power": 12018,
"cur_voltage": 2381
}
}