AutomationDataset/headsoft-mikhail/description-ready.json

221 lines
12 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"id": "'0001'",
"automation": "- id: '0001'\n alias: notify_about_download_completed\n description: Уведомление о завершении загрузки transmission\n trigger:\n - trigger: event\n event_type: transmission_downloaded_torrent\n condition: []\n action:\n - action: notify.notify\n data:\n title: Загрузка завершена\n message: '{{trigger.event.data.name}}'\n - action: transmission.remove_torrent\n data:\n entry_id: 97082637855de2c974fdf46142760427\n id: '{{trigger.event.data.id}}'\n delete_data: false\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
}
]
},
{
"id": "'0003'",
"automation": "- id: '0003'\n alias: notify_about_homeassistant_started\n description: Уведомление о запуске Homeassistant\n trigger:\n - trigger: homeassistant\n event: start\n condition: []\n action:\n - action: notify.notify\n metadata: {}\n data:\n title: Homeassistant запущен\n message: Ура!\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
}
]
},
{
"id": "'0004'",
"automation": "- id: '0004'\n alias: notify_about_homeassistant_stopped\n description: Уведомление об остановке Homeassistant\n trigger:\n - trigger: homeassistant\n event: shutdown\n condition: []\n action:\n - action: notify.notify\n metadata: {}\n data:\n title: Homeassistant остановлен\n message: Грустняшка\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
}
]
},
{
"id": "'0005'",
"automation": "- id: '0005'\n alias: notify_about_power_off\n description: Уведомление об отключении электричества\n triggers:\n - type: not_powered\n trigger: device\n device_id: 22b74f3e55d94cb56434765df7dd1a9c\n entity_id: 8226d5c5decc1b6022c3cec88f6980ba\n domain: binary_sensor\n for:\n hours: 0\n minutes: 0\n seconds: 1\n condition: []\n action:\n - action: notify.notify\n metadata: {}\n data:\n title: Отключение электричества\n message: Грустняшка\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
},
{
"name": "power sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "8226d5c5decc1b6022c3cec88f6980ba",
"device_id": "22b74f3e55d94cb56434765df7dd1a9c"
}
}
]
},
{
"id": "'0006'",
"automation": "- id: '0006'\n alias: notify_about_power_on\n description: Уведомление о восстановлении электричества\n triggers:\n - type: powered\n trigger: device\n device_id: 22b74f3e55d94cb56434765df7dd1a9c\n entity_id: 8226d5c5decc1b6022c3cec88f6980ba\n domain: binary_sensor\n for:\n hours: 0\n minutes: 0\n seconds: 5\n condition: []\n action:\n - action: notify.notify\n metadata: {}\n data:\n title: Электричество восстановлено\n message: Ура!\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
},
{
"name": "power sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "8226d5c5decc1b6022c3cec88f6980ba",
"device_id": "22b74f3e55d94cb56434765df7dd1a9c"
}
}
]
},
{
"id": "'0007'",
"automation": "- id: '0007'\n alias: notify_about_ping_google_fail\n description: Уведомление об отключении интернета\n triggers:\n - type: not_connected\n device_id: de24bbb7ba721126a7555841647841ff\n entity_id: f12857c8ff696bdf0ab48605cb66fee1\n domain: binary_sensor\n trigger: device\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions: []\n actions:\n - action: notify.notify\n metadata: {}\n data:\n message: Грустняшка\n title: Интернет отвалился\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
},
{
"name": "internet connectivity sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "f12857c8ff696bdf0ab48605cb66fee1",
"device_id": "de24bbb7ba721126a7555841647841ff"
}
}
]
},
{
"id": "0008",
"automation": "- id: 0008\n alias: notify_about_ping_google_ok\n description: Уведомление о восстановлении интернета\n triggers:\n - type: connected\n device_id: de24bbb7ba721126a7555841647841ff\n entity_id: f12857c8ff696bdf0ab48605cb66fee1\n domain: binary_sensor\n trigger: device\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions: []\n actions:\n - action: notify.notify\n metadata: {}\n data:\n message: Ура!\n title: Интернет снова работает\n mode: single",
"config": [
{
"name": "notify",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.notify",
"device_id": null
}
},
{
"name": "internet connectivity sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "f12857c8ff696bdf0ab48605cb66fee1",
"device_id": "de24bbb7ba721126a7555841647841ff"
}
}
]
},
{
"id": "0009",
"automation": "- id: 0009\n alias: end_lavalamp_warming\n description: Переключить яркость лавалампы на 40% после 90 минут на 100%\n triggers:\n - trigger: template\n value_template: '{{ state_attr(\"light.tuya_lava_lamp\", \"brightness\") | int(0)\n > 244 }}'\n for:\n minutes: 90\n actions:\n - action: light.turn_on\n target:\n entity_id: light.tuya_lava_lamp\n data:\n brightness: 102\n mode: restart",
"config": [
{
"name": "lava lamp",
"room": null,
"type": "light",
"id": {
"entity_id": "light.tuya_lava_lamp",
"device_id": null
}
}
]
},
{
"id": "'0010'",
"automation": "- id: '0010'\n alias: change_sound_signal_source\n description: Передать ИК-сигнал при изменении input_select.sound_signal_source\n triggers:\n - trigger: state\n entity_id:\n - input_select.sound_signal_source\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == \"Off\" }}'\n sequence:\n - type: set_value\n device_id: d07ce564dd466ed7a9d0ec97d5a88cdf\n entity_id: 887bfc51f053379291c3c944c6d7b291\n domain: text\n value: test_command_off\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == \"Optical\" }}'\n sequence:\n - type: set_value\n device_id: d07ce564dd466ed7a9d0ec97d5a88cdf\n entity_id: 887bfc51f053379291c3c944c6d7b291\n domain: text\n value: test_command_optical\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == \"Bluetooth\" }}'\n sequence:\n - type: set_value\n device_id: d07ce564dd466ed7a9d0ec97d5a88cdf\n entity_id: 887bfc51f053379291c3c944c6d7b291\n domain: text\n value: test_command_bluetooth\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == \"Line 1\" }}'\n sequence:\n - type: set_value\n device_id: d07ce564dd466ed7a9d0ec97d5a88cdf\n entity_id: 887bfc51f053379291c3c944c6d7b291\n domain: text\n value: test_command_line1\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == \"Line 2\" }}'\n sequence:\n - type: set_value\n device_id: d07ce564dd466ed7a9d0ec97d5a88cdf\n entity_id: 887bfc51f053379291c3c944c6d7b291\n domain: text\n value: test_command_line_2\n - conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state == \"Coax\" }}'\n sequence:\n - type: set_value\n device_id: d07ce564dd466ed7a9d0ec97d5a88cdf\n entity_id: 887bfc51f053379291c3c944c6d7b291\n domain: text\n value: BkwjrBFlAi0gAUAFA4QGLQLgAQFAEUADAS0CQBdAAwMtAmUCQAfgAQNADwJlAi3gAAEBZQLgBQ+AAQGEBuABAwEtAkAjAS0CgANACxFlArucTCPECC0C//9MI8QILQI=\n - type: toggle\n device_id: 5bb8442ffaf12259d768e69dfb8e9487\n entity_id: e57d96bf56feb0be99bbf8ecea37bd79\n domain: light\n mode: single",
"config": [
{
"name": "sound signal source selector",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.sound_signal_source",
"device_id": null
}
},
{
"name": "infrared controller",
"room": null,
"type": "text",
"id": {
"entity_id": "887bfc51f053379291c3c944c6d7b291",
"device_id": "d07ce564dd466ed7a9d0ec97d5a88cdf"
}
},
{
"name": "toggle light",
"room": null,
"type": "light",
"id": {
"entity_id": "e57d96bf56feb0be99bbf8ecea37bd79",
"device_id": "5bb8442ffaf12259d768e69dfb8e9487"
}
}
]
},
{
"id": "'0011'",
"automation": "- id: '0011'\n alias: petkit_feeder_1_act\n description: Выдать порцию еды Petkit Feeder 1\n triggers: []\n conditions: []\n actions:\n - device_id: 81a094e022d2b74f6460993e1d717bfc\n domain: select\n entity_id: 4602dd31c4c59efbb1a950b8c7b0d4a3\n type: select_option\n option: 1/10th Cup (10g)\n mode: single",
"config": [
{
"name": "petkit feeder 1",
"room": null,
"type": "select",
"id": {
"entity_id": "4602dd31c4c59efbb1a950b8c7b0d4a3",
"device_id": "81a094e022d2b74f6460993e1d717bfc"
}
}
]
},
{
"id": "'0012'",
"automation": "- id: '0012'\n alias: petkit_feeder_2_act\n description: Выдать порцию еды Petkit Feeder 2\n triggers: []\n conditions: []\n actions:\n - device_id: 72e9542e1e36f6df0e408762c518bf8c\n domain: select\n entity_id: f9e820aad82b338f68d514f0f8ff789d\n type: select_option\n option: 1/10th Cup (10g)\n mode: single",
"config": [
{
"name": "petkit feeder 2",
"room": null,
"type": "select",
"id": {
"entity_id": "f9e820aad82b338f68d514f0f8ff789d",
"device_id": "72e9542e1e36f6df0e408762c518bf8c"
}
}
]
}
]