218 lines
7.4 KiB
JSON
218 lines
7.4 KiB
JSON
[
|
|
{
|
|
"id": "'1735833013766'",
|
|
"automation": "- id: '1735833013766'\n alias: 'BLE FAN '\n description: ''\n triggers:\n - device_id: c84f4c81c0b19d14ddccde33f13cb2b0\n domain: xiaomi_ble\n type: button\n subtype: long_press\n trigger: device\n conditions: []\n actions:\n - action: script.fan_power_on\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "BLE Fan Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "c84f4c81c0b19d14ddccde33f13cb2b0"
|
|
}
|
|
},
|
|
{
|
|
"name": "fan power on script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fan_power_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735859556520'",
|
|
"automation": "- id: '1735859556520'\n alias: fan speed+'\n description: ''\n triggers:\n - device_id: c84f4c81c0b19d14ddccde33f13cb2b0\n domain: xiaomi_ble\n type: button\n subtype: press\n trigger: device\n conditions: []\n actions:\n - action: script.fan_speed\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "BLE Fan Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "c84f4c81c0b19d14ddccde33f13cb2b0"
|
|
}
|
|
},
|
|
{
|
|
"name": "fan speed script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fan_speed",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735859690163'",
|
|
"automation": "- id: '1735859690163'\n alias: Horizoontal\n description: ''\n triggers:\n - device_id: c84f4c81c0b19d14ddccde33f13cb2b0\n domain: xiaomi_ble\n type: button\n subtype: double_press\n trigger: device\n conditions: []\n actions:\n - action: script.fan_wave\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "BLE Fan Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "c84f4c81c0b19d14ddccde33f13cb2b0"
|
|
}
|
|
},
|
|
{
|
|
"name": "fan wave script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fan_wave",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735861398357'",
|
|
"automation": "- id: '1735861398357'\n alias: Horizontal\n description: ''\n triggers:\n - device_id: c84f4c81c0b19d14ddccde33f13cb2b0\n domain: xiaomi_ble\n type: button\n subtype: double_press\n trigger: device\n conditions: []\n actions:\n - action: script.fan_wave_2\n metadata: {}\n data: {}\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "BLE Fan Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "c84f4c81c0b19d14ddccde33f13cb2b0"
|
|
}
|
|
},
|
|
{
|
|
"name": "fan wave script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fan_wave",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fan wave 2 script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.fan_wave_2",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735958819715'",
|
|
"automation": "- id: '1735958819715'\n alias: lights\n description: ''\n triggers:\n - device_id: d1772ca1e054971a71367fae94befd30\n domain: xiaomi_ble\n type: button\n subtype: long_press\n trigger: device\n conditions: []\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Light Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "d1772ca1e054971a71367fae94befd30"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735958909323'",
|
|
"automation": "- id: '1735958909323'\n alias: liht up\n description: ''\n triggers:\n - device_id: d1772ca1e054971a71367fae94befd30\n domain: xiaomi_ble\n type: button\n subtype: double_press\n trigger: device\n conditions: []\n actions:\n - action: light.turn_on\n metadata: {}\n data:\n color_temp: 153\n brightness: 255\n hs_color: {}\n target:\n entity_id: light.lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Light Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "d1772ca1e054971a71367fae94befd30"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1735958997266'",
|
|
"automation": "- id: '1735958997266'\n alias: 單擊開關燈\n description: ''\n triggers:\n - device_id: d1772ca1e054971a71367fae94befd30\n domain: xiaomi_ble\n type: button\n subtype: press\n trigger: device\n conditions: []\n actions:\n - action: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Light Controller",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "d1772ca1e054971a71367fae94befd30"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1740935916428'",
|
|
"automation": "- id: '1740935916428'\n alias: 自動關機\n description: ''\n triggers:\n - trigger: time\n at: 03:15:00\n conditions: []\n actions:\n - action: select.select_option\n metadata: {}\n data:\n option: turn off\n target:\n entity_id: select.miir_ir02_8912_mode_for_ir\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "MIIR IR02 Mode",
|
|
"room": null,
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.miir_ir02_8912_mode_for_ir",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1740936063354'",
|
|
"automation": "- id: '1740936063354'\n alias: 建立新的自動化\n description: ''\n triggers:\n - trigger: time\n at: 03:15:00\n conditions: []\n actions:\n - action: select.select_option\n metadata: {}\n data:\n option: 电源\n target:\n device_id: 71918d651a5809512c660d4eddd2a1f8\n entity_id: select.miir_ir02_8912_mode_for_ir\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "MIIR IR02 Mode",
|
|
"room": null,
|
|
"type": "select",
|
|
"id": {
|
|
"entity_id": "select.miir_ir02_8912_mode_for_ir",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "MIIR IR02 Device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "71918d651a5809512c660d4eddd2a1f8"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |