AutomationDataset/matildesimoes/description-ready.json

122 lines
4.9 KiB
JSON

[
{
"id": "OFF2ON",
"automation": "- alias: OFF2ON\n description: ''\n triggers:\n - type: value\n device_id: 1fb719cde51d9e4c0aee12fcdb8e524a\n entity_id: 21de8f39b88bc7392a2f988a93e48a31\n domain: sensor\n trigger: device\n below: 0.3\n conditions:\n - condition: and\n conditions:\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.bt_xiaomi_13t\n above: -85\n - condition: numeric_state\n entity_id: sensor.bt_mi_a2\n above: -85\n actions:\n - if:\n - type: is_voltage\n condition: device\n device_id: 1fb719cde51d9e4c0aee12fcdb8e524a\n entity_id: a956f56584635e82ff4e1793445b8431\n domain: sensor\n below: 0.05\n then:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n device_id: 1fb719cde51d9e4c0aee12fcdb8e524a\n entity_id: light.esphome_web_0451d2_room_light\n - if:\n - condition: numeric_state\n entity_id: sensor.bt_xiaomi_13t\n above: -80\n then:\n - action: notify.mobile_app_2306epn60g\n metadata: {}\n data:\n message: Welcome Home Leonardo!\n title: Welcome Message\n - if:\n - condition: numeric_state\n entity_id: sensor.bt_mi_a2\n above: -80\n then:\n - action: notify.mobile_app_mi_a2\n metadata: {}\n data:\n message: Welcome Home Matilde!\n title: Welcome Message\n mode: single",
"config": [
{
"name": "voltage sensor",
"room": "living room",
"type": "sensor",
"id": {
"entity_id": "21de8f39b88bc7392a2f988a93e48a31",
"device_id": "1fb719cde51d9e4c0aee12fcdb8e524a"
}
},
{
"name": "Xiaomi 13T bluetooth sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.bt_xiaomi_13t",
"device_id": null
}
},
{
"name": "Mi A2 bluetooth sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.bt_mi_a2",
"device_id": null
}
},
{
"name": "voltage sensor",
"room": "living room",
"type": "sensor",
"id": {
"entity_id": "a956f56584635e82ff4e1793445b8431",
"device_id": "1fb719cde51d9e4c0aee12fcdb8e524a"
}
},
{
"name": "room light",
"room": "living room",
"type": "light",
"id": {
"entity_id": "light.esphome_web_0451d2_room_light",
"device_id": "1fb719cde51d9e4c0aee12fcdb8e524a"
}
},
{
"name": "Leonardo mobile notification",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_2306epn60g",
"device_id": null
}
},
{
"name": "Matilde mobile notification",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_mi_a2",
"device_id": null
}
}
]
},
{
"id": "ON2OFF",
"automation": "- alias: ON2OFF\n description: ''\n triggers:\n - type: value\n device_id: 1fb719cde51d9e4c0aee12fcdb8e524a\n entity_id: 21de8f39b88bc7392a2f988a93e48a31\n domain: sensor\n trigger: device\n above: 0.9\n conditions:\n - condition: and\n conditions:\n - condition: numeric_state\n entity_id: sensor.bt_xiaomi_13t\n below: -85\n - condition: numeric_state\n entity_id: sensor.bt_mi_a2\n below: -85\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n device_id: 1fb719cde51d9e4c0aee12fcdb8e524a\n entity_id: light.esphome_web_0451d2_room_light\n mode: single",
"config": [
{
"name": "voltage sensor",
"room": "living room",
"type": "sensor",
"id": {
"entity_id": "21de8f39b88bc7392a2f988a93e48a31",
"device_id": "1fb719cde51d9e4c0aee12fcdb8e524a"
}
},
{
"name": "Xiaomi 13T bluetooth sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.bt_xiaomi_13t",
"device_id": null
}
},
{
"name": "Mi A2 bluetooth sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.bt_mi_a2",
"device_id": null
}
},
{
"name": "voltage sensor",
"room": "living room",
"type": "sensor",
"id": {
"entity_id": "a956f56584635e82ff4e1793445b8431",
"device_id": "1fb719cde51d9e4c0aee12fcdb8e524a"
}
},
{
"name": "room light",
"room": "living room",
"type": "light",
"id": {
"entity_id": "light.esphome_web_0451d2_room_light",
"device_id": "1fb719cde51d9e4c0aee12fcdb8e524a"
}
}
]
}
]