{ "endpoint": "https://apigw.tuyaeu.com", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "name": "Consommation", "category": "cz", "product_id": "tf6qp8t3hl9h7m94", "product_name": "smart meter with CT-2", "online": true, "sub": false, "time_zone": "+02:00", "active_time": "2025-04-18T08:10:00+00:00", "create_time": "2025-04-18T08:10:00+00:00", "update_time": "2025-04-18T08:10:00+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": false, "switch_2": false, "add_ele": 100, "cur_current": 2585, "cur_power": 4258, "cur_voltage": 2416 }, "set_up": true, "support_local": true }