1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-29 05:03:59 +01:00
Files
core/tests/components/tuya/fixtures/dj_d4g0fbsoaal841o6.json
2025-08-08 13:56:44 +02:00

376 lines
7.3 KiB
JSON

{
"endpoint": "https://apigw.tuyaeu.com",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "WC D1",
"category": "dj",
"product_id": "d4g0fbsoaal841o6",
"product_name": "A60 GOLD",
"online": false,
"sub": false,
"time_zone": "+02:00",
"active_time": "2021-06-30T11:36:31+00:00",
"create_time": "2021-06-30T11:36:31+00:00",
"update_time": "2021-06-30T11:36:31+00:00",
"function": {
"switch_led": {
"type": "Boolean",
"value": {}
},
"work_mode": {
"type": "Enum",
"value": {
"range": ["white", "colour", "scene", "music"]
}
},
"bright_value_v2": {
"type": "Integer",
"value": {
"min": 10,
"max": 1000,
"scale": 0,
"step": 1
}
},
"temp_value_v2": {
"type": "Integer",
"value": {
"min": 0,
"max": 1000,
"scale": 0,
"step": 1
}
},
"scene_data_v2": {
"type": "Json",
"value": {
"scene_num": {
"min": 1,
"scale": 0,
"max": 8,
"step": 1
},
"scene_units": {
"unit_change_mode": {
"range": ["static", "jump", "gradient"]
},
"unit_switch_duration": {
"min": 0,
"scale": 0,
"max": 100,
"step": 1
},
"unit_gradient_duration": {
"min": 0,
"scale": 0,
"max": 100,
"step": 1
},
"bright": {
"min": 0,
"scale": 0,
"max": 1000,
"step": 1
},
"temperature": {
"min": 0,
"scale": 0,
"max": 1000,
"step": 1
},
"h": {
"min": 0,
"scale": 0,
"unit": "",
"max": 360,
"step": 1
},
"s": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
},
"v": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
}
}
}
},
"countdown_1": {
"type": "Integer",
"value": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"control_data": {
"type": "Json",
"value": {
"change_mode": {
"range": ["direct", "gradient"]
},
"bright": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
},
"temperature": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
},
"h": {
"min": 0,
"scale": 0,
"unit": "",
"max": 360,
"step": 1
},
"s": {
"min": 0,
"scale": 0,
"unit": "",
"max": 255,
"step": 1
},
"v": {
"min": 0,
"scale": 0,
"unit": "",
"max": 255,
"step": 1
}
}
},
"rhythm_mode": {
"type": "Raw",
"value": {
"maxlen": 255
}
},
"sleep_mode": {
"type": "Raw",
"value": {
"maxlen": 255
}
},
"wakeup_mode": {
"type": "Raw",
"value": {
"maxlen": 255
}
},
"remote_switch": {
"type": "Boolean",
"value": {}
}
},
"status_range": {
"switch_led": {
"type": "Boolean",
"value": {}
},
"work_mode": {
"type": "Enum",
"value": {
"range": ["white", "colour", "scene", "music"]
}
},
"bright_value_v2": {
"type": "Integer",
"value": {
"min": 10,
"max": 1000,
"scale": 0,
"step": 1
}
},
"temp_value_v2": {
"type": "Integer",
"value": {
"min": 0,
"max": 1000,
"scale": 0,
"step": 1
}
},
"scene_data_v2": {
"type": "Json",
"value": {
"scene_num": {
"min": 1,
"scale": 0,
"max": 8,
"step": 1
},
"scene_units": {
"unit_change_mode": {
"range": ["static", "jump", "gradient"]
},
"unit_switch_duration": {
"min": 0,
"scale": 0,
"max": 100,
"step": 1
},
"unit_gradient_duration": {
"min": 0,
"scale": 0,
"max": 100,
"step": 1
},
"bright": {
"min": 0,
"scale": 0,
"max": 1000,
"step": 1
},
"temperature": {
"min": 0,
"scale": 0,
"max": 1000,
"step": 1
},
"h": {
"min": 0,
"scale": 0,
"unit": "",
"max": 360,
"step": 1
},
"s": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
},
"v": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
}
}
}
},
"countdown_1": {
"type": "Integer",
"value": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"control_data": {
"type": "Json",
"value": {
"change_mode": {
"range": ["direct", "gradient"]
},
"bright": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
},
"temperature": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
},
"h": {
"min": 0,
"scale": 0,
"unit": "",
"max": 360,
"step": 1
},
"s": {
"min": 0,
"scale": 0,
"unit": "",
"max": 255,
"step": 1
},
"v": {
"min": 0,
"scale": 0,
"unit": "",
"max": 255,
"step": 1
}
}
},
"rhythm_mode": {
"type": "Raw",
"value": {
"maxlen": "255"
}
},
"sleep_mode": {
"type": "Raw",
"value": {
"maxlen": "255"
}
},
"wakeup_mode": {
"type": "Raw",
"value": {
"maxlen": "255"
}
},
"remote_switch": {
"type": "Boolean",
"value": {}
}
},
"status": {
"switch_led": true,
"work_mode": "white",
"bright_value_v2": 1000,
"temp_value_v2": 1000,
"scene_data_v2": {
"scene_num": 1,
"scene_units": [
{
"bright": 200,
"h": 0,
"s": 0,
"temperature": 0,
"unit_change_mode": "static",
"unit_gradient_duration": 13,
"unit_switch_duration": 14,
"v": 0
}
]
},
"countdown_1": 0,
"control_data": "",
"rhythm_mode": "AAAAAAA=",
"sleep_mode": "AAA=",
"wakeup_mode": "AAA=",
"remote_switch": true
},
"set_up": true,
"support_local": true
}