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/dj_riwp3k79.json
2025-08-08 13:56:44 +02:00

401 lines
7.8 KiB
JSON

{
"endpoint": "https://apigw.tuyaeu.com",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "LED KEUKEN 2",
"category": "dj",
"product_id": "riwp3k79",
"product_name": "atmosphere",
"online": true,
"sub": true,
"time_zone": "+08:00",
"active_time": "2020-12-29T16:16:11+00:00",
"create_time": "2020-12-29T16:16:11+00:00",
"update_time": "2020-12-29T16:16:11+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,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
}
},
"temp_value_v2": {
"type": "Integer",
"value": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
}
},
"colour_data_v2": {
"type": "Json",
"value": {
"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
}
}
},
"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
}
}
}
},
"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
}
}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "",
"min": 0,
"max": 43200,
"scale": 0,
"step": 1
}
}
},
"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,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
}
},
"temp_value_v2": {
"type": "Integer",
"value": {
"min": 0,
"scale": 0,
"unit": "",
"max": 1000,
"step": 1
}
},
"colour_data_v2": {
"type": "Json",
"value": {
"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
}
}
},
"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
}
}
}
},
"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
}
}
},
"countdown_1": {
"type": "Integer",
"value": {
"unit": "",
"min": 0,
"max": 43200,
"scale": 0,
"step": 1
}
}
},
"status": {
"switch_led": true,
"work_mode": "white",
"bright_value_v2": 1000,
"temp_value_v2": 0,
"colour_data_v2": {
"h": 27,
"s": 1000,
"v": 1000
},
"scene_data_v2": {
"scene_num": 6,
"scene_units": [
{
"bright": 0,
"h": 0,
"s": 1000,
"temperature": 0,
"unit_change_mode": "gradient",
"unit_gradient_duration": 100,
"unit_switch_duration": 100,
"v": 1000
},
{
"bright": 0,
"h": 240,
"s": 1000,
"temperature": 0,
"unit_change_mode": "gradient",
"unit_gradient_duration": 100,
"unit_switch_duration": 100,
"v": 1000
}
]
},
"countdown_1": 0,
"control_data": ""
},
"set_up": true,
"support_local": true
}