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/dlq_jdj6ccklup7btq3a.json
2025-08-10 22:17:14 +02:00

217 lines
4.1 KiB
JSON

{
"endpoint": "https://apigw.tuyaeu.com",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "Eau Chaude",
"category": "dlq",
"product_id": "jdj6ccklup7btq3a",
"product_name": "WiFi Din Rail Switch with metering",
"online": true,
"sub": false,
"time_zone": "+02:00",
"active_time": "2025-04-14T12:13:35+00:00",
"create_time": "2025-04-14T12:13:35+00:00",
"update_time": "2025-04-14T12:13:35+00:00",
"function": {
"switch": {
"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", "on"]
}
},
"child_lock": {
"type": "Boolean",
"value": {}
},
"cycle_time": {
"type": "String",
"value": {
"maxlen": 255
}
},
"online_state": {
"type": "Enum",
"value": {
"range": ["online", "offline"]
}
}
},
"status_range": {
"switch": {
"type": "Boolean",
"value": {}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"add_ele": {
"type": "Integer",
"value": {
"unit": "",
"min": 0,
"max": 9999999,
"scale": 3,
"step": 100
}
},
"cur_current": {
"type": "Integer",
"value": {
"unit": "mA",
"min": 0,
"max": 100000,
"scale": 0,
"step": 1
}
},
"cur_power": {
"type": "Integer",
"value": {
"unit": "W",
"min": 0,
"max": 999999,
"scale": 1,
"step": 1
}
},
"cur_voltage": {
"type": "Integer",
"value": {
"unit": "V",
"min": 0,
"max": 5000,
"scale": 1,
"step": 1
}
},
"test_bit": {
"type": "Integer",
"value": {
"min": 0,
"max": 5,
"scale": 0,
"step": 1
}
},
"voltage_coe": {
"type": "Integer",
"value": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1
}
},
"electric_coe": {
"type": "Integer",
"value": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1
}
},
"power_coe": {
"type": "Integer",
"value": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1
}
},
"electricity_coe": {
"type": "Integer",
"value": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1
}
},
"fault": {
"type": "Bitmap",
"value": {
"label": ["ov_cr", "ov_vol", "ov_pwr", "ls_cr", "ls_vol", "ls_pow"]
}
},
"relay_status": {
"type": "Enum",
"value": {
"range": ["power_off", "power_on", "last"]
}
},
"light_mode": {
"type": "Enum",
"value": {
"range": ["relay", "pos", "none", "on"]
}
},
"child_lock": {
"type": "Boolean",
"value": {}
},
"cycle_time": {
"type": "String",
"value": {
"maxlen": 255
}
},
"online_state": {
"type": "Enum",
"value": {
"range": ["online", "offline"]
}
}
},
"status": {
"switch": true,
"countdown_1": 0,
"add_ele": 390,
"cur_current": 10067,
"cur_power": 24417,
"cur_voltage": 2419,
"test_bit": 1,
"voltage_coe": 15943,
"electric_coe": 12577,
"power_coe": 3125,
"electricity_coe": 2682,
"fault": 0,
"relay_status": "last",
"light_mode": "relay",
"child_lock": false,
"cycle_time": "",
"online_state": "online"
},
"set_up": true,
"support_local": true
}