core/tests/components/tuya/fixtures/cz_2jxesipczks0kdct.json

87 lines
1.6 KiB
JSON

{
"endpoint": "https://apigw.tuyaus.com",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "HVAC Meter",
"category": "cz",
"product_id": "2jxesipczks0kdct",
"product_name": "Dual channel metering",
"online": true,
"sub": false,
"time_zone": "-07:00",
"active_time": "2025-06-19T14:19:08+00:00",
"create_time": "2025-06-19T14:19:08+00:00",
"update_time": "2025-06-19T14:19:08+00:00",
"function": {
"switch_1": {
"type": "Boolean",
"value": {}
},
"switch_2": {
"type": "Boolean",
"value": {}
}
},
"status_range": {
"switch_1": {
"type": "Boolean",
"value": {}
},
"switch_2": {
"type": "Boolean",
"value": {}
},
"add_ele": {
"type": "Integer",
"value": {
"unit": "kwh",
"min": 0,
"max": 50000,
"scale": 3,
"step": 100
}
},
"cur_current": {
"type": "Integer",
"value": {
"unit": "A",
"min": 0,
"max": 80000,
"scale": 3,
"step": 1
}
},
"cur_power": {
"type": "Integer",
"value": {
"unit": "W",
"min": 0,
"max": 200000,
"scale": 1,
"step": 1
}
},
"cur_voltage": {
"type": "Integer",
"value": {
"unit": "V",
"min": 0,
"max": 5000,
"scale": 1,
"step": 1
}
}
},
"status": {
"switch_1": true,
"switch_2": true,
"add_ele": 190,
"cur_current": 83,
"cur_power": 64,
"cur_voltage": 1217
},
"set_up": true,
"support_local": true
}