963 lines
54 KiB
JSON
963 lines
54 KiB
JSON
[
|
|
{
|
|
"id": "'1668864895588'",
|
|
"automation": "- id: '1668864895588'\n alias: Main Door Open\n description: ''\n trigger:\n - platform: event\n event_type: ios.action_fired\n event_data:\n actionName: Main Door Open\n condition: []\n action:\n - service: lock.open\n data: {}\n target:\n entity_id: lock.nuki_vchod_lock\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "main door lock",
|
|
"room": "entrance",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.nuki_vchod_lock",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1677334681247'",
|
|
"automation": "- id: '1677334681247'\n alias: Dock lock state\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.nuki_neklanka_byt_locked\n from:\n - 'on'\n - 'off'\n to:\n - 'on'\n - 'off'\n action:\n - service: input_boolean.toggle\n data: {}\n target:\n entity_id: input_boolean.door_lock\n mode: parallel",
|
|
"config": [
|
|
{
|
|
"name": "dock lock sensor",
|
|
"room": "entrance",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.nuki_neklanka_byt_locked",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "door lock input",
|
|
"room": "entrance",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.door_lock",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1681905795903'",
|
|
"automation": "- id: '1681905795903'\n alias: camera snapshot\n description: ''\n triggers:\n - at: 05:00:00\n id: delete\n trigger: time\n - hours: /1\n trigger: time_pattern\n conditions:\n - condition: time\n after: 05:00:00\n before: 00:00:00\n actions:\n - if:\n - condition: trigger\n id: delete\n then:\n - data:\n folder: /config/www/tmp/snapshots/\n time: 0\n only_extensions:\n - .png\n - .jpg\n action: delete.files_in_folder\n - data:\n folder: /config/www/tmp/kids/\n time: 0\n only_extensions:\n - .png\n - .jpg\n action: delete.files_in_folder\n - parallel:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.kids_room_start_rtsp_stream\n - data: {}\n target:\n entity_id:\n - camera.doorway\n - camera.terasa\n - camera.zahrada\n action: camera.turn_on\n - condition: state\n entity_id: camera.doorway\n state: streaming\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - condition: state\n entity_id: camera.terasa\n state: streaming\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - condition: state\n entity_id: camera.kids_room\n state: streaming\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - condition: state\n entity_id: camera.zahrada\n state: streaming\n for:\n hours: 0\n minutes: 0\n seconds: 3\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - parallel:\n - data:\n filename: /config/www/tmp/snapshots/camera.doorway{{ now().strftime(\"%Y%m%d-%H%M%S\")\n }}.jpg\n target:\n entity_id: camera.doorway\n action: camera.snapshot\n - data:\n filename: /config/www/tmp/snapshots/camera.kids_room{{ now().strftime(\"%Y%m%d-%H%M%S\")\n }}.jpg\n target:\n entity_id: camera.kids_room\n action: camera.snapshot\n - data:\n filename: /config/www/tmp/snapshots/camera.terasa{{ now().strftime(\"%Y%m%d-%H%M%S\")\n }}.jpg\n target:\n entity_id: camera.terasa\n action: camera.snapshot\n - data:\n filename: /config/www/tmp/snapshots/camera.zahrada{{ now().strftime(\"%Y%m%d-%H%M%S\")\n }}.jpg\n target:\n entity_id: camera.zahrada\n action: camera.snapshot\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - parallel:\n - data:\n filename: /config/www/tmp/camera.doorway-latest.jpg\n target:\n entity_id: camera.doorway\n action: camera.snapshot\n - data:\n filename: /config/www/tmp/kids/camera.kids_room-latest{{now().strftime(\"%Y%m%d%H%M%S\")}}.jpg\n target:\n entity_id: camera.kids_room\n action: camera.snapshot\n - action: input_text.set_value\n metadata: {}\n data:\n value: kids_room-latest{{now().strftime(\"%Y%m%d%H%M%S\")}}.jpg\n target:\n entity_id: input_text.kids_camera_snapshot\n - data:\n filename: /config/www/tmp/camera.terasa-latest.jpg\n target:\n entity_id: camera.terasa\n action: camera.snapshot\n - data:\n filename: /config/www/tmp/camera.zahrada-latest.jpg\n target:\n entity_id: camera.zahrada\n action: camera.snapshot\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - data: {}\n target:\n entity_id:\n - camera.doorway\n - camera.terasa\n - camera.zahrada\n action: camera.turn_off\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.kids_room_stop_rtsp_stream\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kids room start stream button",
|
|
"room": "kids_room",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.kids_room_start_rtsp_stream",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kids room stop stream button",
|
|
"room": "kids_room",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.kids_room_stop_rtsp_stream",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "doorway camera",
|
|
"room": "entrance",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.doorway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "terasa camera",
|
|
"room": "terrace",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.terasa",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zahrada camera",
|
|
"room": "garden",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.zahrada",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kids room camera",
|
|
"room": "kids_room",
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.kids_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kids camera snapshot input",
|
|
"room": "kids_room",
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.kids_camera_snapshot",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1683903230879'",
|
|
"automation": "- id: '1683903230879'\n alias: Bedroom Cover Night\n description: ''\n trigger:\n - platform: sun\n event: sunset\n offset: 00:30:00\n condition: []\n action:\n - service: cover.close_cover\n data: {}\n target:\n area_id: bedroom\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1684613417245'",
|
|
"automation": "- id: '1684613417245'\n alias: Cover Night Mode\n description: ''\n trigger: []\n condition: []\n action:\n - service: cover.close_cover\n data: {}\n target:\n entity_id:\n - cover.bedroom_shutters\n - cover.living_room_cover\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom shutters cover",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.bedroom_shutters",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room cover",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.living_room_cover",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1688809817206'",
|
|
"automation": "- id: '1688809817206'\n alias: Guest Mode notify\n description: ''\n trigger:\n - platform: zone\n entity_id: person.viet_ngoc\n zone: zone.home\n event: leave\n condition:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n action:\n - alias: Set up variables for the actions\n variables:\n action_yes: '{{ ''YES_'' ~ context.id }}'\n action_no: '{{ ''NO_'' ~ context.id }}'\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - alias: Ask to stop or no guest mode\n service: notify.mobile_app_viet_ngoc\n data:\n message: Do you want to stop this?\n data:\n actions:\n - action: '{{ action_yes }}'\n title: 'YES'\n - action: '{{ action_no }}'\n title: 'NO'\n title: Guest mode\n - alias: Wait for a response\n wait_for_trigger:\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_yes }}'\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_no }}'\n - alias: Perform the action\n choose:\n - conditions: '{{ wait.trigger.event.data.action == action_yes }}'\n sequence:\n - service: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.guest_mode\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 2\n - service: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.leaving_home\n - conditions: '{{ wait.trigger.event.data.action == action_no }}'\n sequence:\n - service: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.guest_mode\n enabled: false\n - stop: ''\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "guest mode input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "leaving home input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.leaving_home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "person viet ngoc",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.viet_ngoc",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone home",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1688940697804'",
|
|
"automation": "- id: '1688940697804'\n alias: Alarm\n description: ''\n triggers:\n - entity_id:\n - script.homepod_alarm\n for:\n hours: 0\n minutes: 0\n seconds: 5\n enabled: true\n to: 'on'\n trigger: state\n conditions: []\n actions:\n - alias: Set up variables for the actions\n variables:\n action_stop: '{{ ''STOP_'' ~ context.id }}'\n - delay:\n hours: 0\n minutes: 0\n seconds: 3\n milliseconds: 0\n - alias: Ask to close or open the blinds\n data:\n message: Do you want to stop this?\n data:\n push:\n sound:\n name: findmy.wav\n critical: 1\n volume: 1\n actions:\n - action: '{{ action_stop }}'\n title: Stop alarm\n title: Alarm Clock\n action: notify.mobile_app_viet_ngoc\n - alias: Wait for a response\n wait_for_trigger:\n - event_type: mobile_app_notification_action\n event_data:\n action: '{{ action_stop }}'\n trigger: event\n - alias: Perform the action\n choose:\n - conditions:\n - condition: template\n value_template: '{{ wait.trigger.event.data.action == action_stop }}'\n sequence:\n - data: {}\n action: media_player.media_pause\n target:\n entity_id: media_player.bedroom\n - action: media_player.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: media_player.bedroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "homepod alarm script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.homepod_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom media player",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.bedroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1693488019712'",
|
|
"automation": "- id: '1693488019712'\n alias: Nuki Vchod Open\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_button.nuki_vchod\n condition: []\n action:\n - service: lock.open\n data: {}\n target:\n entity_id: lock.nuki_vchod_lock\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "main door lock",
|
|
"room": "entrance",
|
|
"type": "lock",
|
|
"id": {
|
|
"entity_id": "lock.nuki_vchod_lock",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nuki vchod input button",
|
|
"room": "entrance",
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.nuki_vchod",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694516012171'",
|
|
"automation": "- id: '1694516012171'\n alias: Only update vaze information every 20 minutes when I'm home\n description: ''\n triggers:\n - minutes: /20\n id: 20min\n trigger: time_pattern\n conditions:\n - condition: state\n entity_id: device_tracker.viet_ngoc_samsung\n state: not_home\n actions:\n - data:\n entity_id:\n - device_tracker.viet_ngoc_samsung\n - sensor.waze_ngoc_home\n action: homeassistant.update_entity",
|
|
"config": [
|
|
{
|
|
"name": "device tracker",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.viet_ngoc_samsung",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "waze ngoc home sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.waze_ngoc_home",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694721012171'",
|
|
"automation": "- id: '1694721012171'\n alias: Spotify Vibrant Color\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.vibrant_color\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: light.office_led_light_strip\n state: 'on'\n - condition: or\n conditions:\n - condition: device\n device_id: d8496daf7e926630a7431da013a83590\n domain: media_player\n entity_id: 952057f8ccc2766d1d825168186a225a\n type: is_playing\n - condition: state\n entity_id: media_player.mass_universal_airplay\n state: playing\n action:\n - service: light.turn_on\n data:\n transition: 5\n rgb_color: '{{states(''sensor.vibrant_color'')}}'\n target:\n entity_id: light.office_led_light_strip\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "952057f8ccc2766d1d825168186a225a",
|
|
"device_id": "d8496daf7e926630a7431da013a83590"
|
|
}
|
|
},
|
|
{
|
|
"name": "vibrant color sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.vibrant_color",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office led light strip",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.office_led_light_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "universal airplay media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.mass_universal_airplay",
|
|
"device_id": "d8496daf7e926630a7431da013a83590"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1695149693530'",
|
|
"automation": "- id: '1695149693530'\n alias: Notify HA started\n description: ''\n triggers:\n - event: start\n trigger: homeassistant\n enabled: true\n conditions: []\n actions:\n - data:\n message: Home assistant started\n data:\n tag: hastarted\n action: notify.mobile_app_viet_ngoc_samsung\n - delay:\n hours: 0\n minutes: 0\n seconds: 10\n milliseconds: 0\n - data:\n message: clear_notification\n data:\n tag: hastarted\n action: notify.mobile_app_viet_ngoc_samsung\n - action: readme.generate\n data: {}\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1695935011647'",
|
|
"automation": "- id: '1695935011647'\n alias: dismiss_lovelace_updated\n description: ''\n triggers:\n - event_type: lovelace_updated\n trigger: event\n conditions: []\n actions:\n - target:\n entity_id: sensor.code_line_count\n data: {}\n action: homeassistant.update_entity\n - parallel:\n - repeat:\n count: 3\n sequence:\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - data:\n duration: 1\n message: ' '\n target:\n device_id:\n - 44ebbefcd0dad5b66b4d90ff566c1030\n action: browser_mod.notification\n - data:\n duration: 1\n message: ' '\n target:\n device_id:\n - e5211b8956d56a9d80b84665dfb8e957\n action: browser_mod.notification\n - data:\n duration: 1\n message: ' '\n target:\n device_id:\n - 4f43e0dc2e03b71c2e137f9696a04a2c\n action: browser_mod.notification\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "code line count sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.code_line_count",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "browser device 1",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "44ebbefcd0dad5b66b4d90ff566c1030"
|
|
}
|
|
},
|
|
{
|
|
"name": "browser device 2",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "e5211b8956d56a9d80b84665dfb8e957"
|
|
}
|
|
},
|
|
{
|
|
"name": "browser device 3",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "4f43e0dc2e03b71c2e137f9696a04a2c"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1696553366478'",
|
|
"automation": "- id: '1696553366478'\n alias: 'Dishwasher Set Timer '\n description: ''\n triggers:\n - entity_id:\n - sensor.mycka_nadobi_operation_state\n to: run\n trigger: state\n conditions:\n - condition: or\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.mycka_nadobi_remaining_program_time\n state: unknown\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.mycka_nadobi_remaining_program_time\n state: unavailable\n actions:\n - action: timer.set_duration\n metadata: {}\n data:\n duration: '{% set seconds = (as_timestamp(states(''sensor.mycka_nadobi_remaining_program_time''))\n - as_timestamp(now())) | int %} {% set hours = (seconds // 3600) %} {% set\n minutes = (seconds % 3600) // 60 %} {% set secs = seconds % 60 %} {{ ''%02d:%02d:%02d''\n | format(hours, minutes, secs) }}'\n target:\n entity_id: timer.dishwasher_remaining\n initial_state: true\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "dishwasher operation sensor",
|
|
"room": "kitchen",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mycka_nadobi_operation_state",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher remaining time sensor",
|
|
"room": "kitchen",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mycka_nadobi_remaining_program_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dishwasher timer",
|
|
"room": "kitchen",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.dishwasher_remaining",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "34ba1897-ec7a-4cb3-a12b-fb0a1e9e495e",
|
|
"automation": "- id: 34ba1897-ec7a-4cb3-a12b-fb0a1e9e495e\n alias: vacuum_start_cleaning\n mode: queued\n trigger:\n - platform: state\n entity_id: sensor.vacuum_status\n from: '9'\n to: '4'\n - platform: state\n entity_id: sensor.vacuum_status\n from: '6'\n to: '4'\n action:\n service: script.vacuum_notify\n data:\n title: Little messy there\n message: The vacuum cleaner started cleaning!",
|
|
"config": [
|
|
{
|
|
"name": "vacuum status sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.vacuum_status",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Vacuum Notify",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.vacuum_notify",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2dedd749-b65a-49e0-8747-2dce6dd995a4",
|
|
"automation": "- id: 2dedd749-b65a-49e0-8747-2dce6dd995a4\n alias: vacuum_show_error\n trigger:\n - platform: state\n entity_id:\n - sensor.vacuum_fault\n from: No Faults\n condition:\n - condition: template\n value_template: '{% if is_state_attr(''vacuum.roidmi_eve'',''vacuum.fault'',0)\n or is_state_attr(''vacuum.roidmi_eve'',''vacuum.fault'',None) %}False{% else\n %}True{% endif %}'\n enabled: true\n action:\n - service: script.vacuum_notify\n data:\n title: Something is wrong with robot\n message: '{{states(''sensor.vacuum_fault'')}}.'\n mode: queued",
|
|
"config": [
|
|
{
|
|
"name": "vacuum fault sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.vacuum_fault",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "roidmi vacuum",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.roidmi_eve",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Vacuum Notify",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.vacuum_notify",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1700514428812'",
|
|
"automation": "- id: '1700514428812'\n alias: Notify HA System usage\n description: Memory or CPU leak\n triggers:\n - entity_id:\n - sensor.ha_system_memory_usage\n - sensor.ha_system_cpu_usage\n for:\n hours: 0\n minutes: 7\n seconds: 0\n above: 70\n trigger: numeric_state\n conditions: []\n actions:\n - parallel:\n - data:\n message: Memory {{ states.sensor.ha_system_memory_usage.state }}% - CPU {{\n states.sensor.ha_system_cpu_usage.state }}%\n title: System\n action: notify.ngoc_devices\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "system memory usage sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ha_system_memory_usage",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "system cpu usage sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.ha_system_cpu_usage",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1701556784590'",
|
|
"automation": "- id: '1701556784590'\n alias: Update YouTube Sensor\n description: ''\n triggers:\n - entity_id:\n - media_player.living_room_tv\n attribute: media_title\n trigger: state\n id: title_change\n for:\n hours: 0\n minutes: 0\n seconds: 2\n - entity_id:\n - media_player.living_room_tv\n trigger: state\n id: state_changed\n for:\n hours: 0\n minutes: 0\n seconds: 2\n from: null\n to: playing\n - entity_id:\n - media_player.living_room_tv\n trigger: state\n id: state_changed\n for:\n hours: 0\n minutes: 0\n seconds: 2\n attribute: app_id\n to: com.google.ios.youtube\n - entity_id:\n - media_player.living_room_tv\n trigger: state\n id: reset_title\n attribute: app_id\n from: com.google.ios.youtube\n enabled: true\n to: null\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - title_change\n - state_changed\n - condition: or\n conditions:\n - condition: template\n value_template: \"{% if state_attr('media_player.living_room_tv', 'media_title')\\\n \\ != None %} \\n{{ is_state_attr('media_player.living_room_tv', 'app_id',\\\n \\ 'com.google.ios.youtube') and state_attr('media_player.living_room_tv',\\\n \\ 'media_title') != state_attr('sensor.youtube_thumbnail', 'title')\\\n \\ }}\\n{% endif %}\"\n sequence:\n - event: youtube_update\n event_data: {}\n - conditions:\n - condition: trigger\n id:\n - reset_title\n sequence:\n - event: youtube_reset\n event_data: {}\n max_exceeded: silent\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room tv",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.living_room_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "youtube thumbnail sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.youtube_thumbnail",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1702444277863'",
|
|
"automation": "- id: '1702444277863'\n alias: 'Event_Unifi Archive Alert '\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_button.unifi_archive_alerts\n condition: []\n action:\n - event: archive_alerts\n event_data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "unifi archive alerts input",
|
|
"room": null,
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.unifi_archive_alerts",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1706827614119'",
|
|
"automation": "- id: '1706827614119'\n alias: kodi_lib_scan\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_button.kodi_lib_scan\n to: null\n condition: []\n action:\n - event: kodi_library_scan\n event_data: {}\n - event: fetch_upcoming_movies\n event_data: {}\n - event: kodi_video_scan\n event_data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kodi library scan input",
|
|
"room": null,
|
|
"type": "input_button",
|
|
"id": {
|
|
"entity_id": "input_button.kodi_lib_scan",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1715819993809'",
|
|
"automation": "- id: '1715819993809'\n alias: Kodi Update Picture Sensor\n description: ''\n trigger:\n - platform: state\n entity_id:\n - media_player.kodi_atv\n attribute: media_title\n condition: []\n action:\n - service: kodi.call_method\n target:\n entity_id: media_player.kodi_atv\n data:\n method: Player.GetItem\n playerid: 0\n properties:\n - title\n - art\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kodi atv media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.kodi_atv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1716484682108'",
|
|
"automation": "- id: '1716484682108'\n alias: Vacum Set Property\n description: Set Roidmi Vacuum sensors value\n trigger:\n - platform: state\n entity_id: vacuum.roidmi_eve\n - platform: state\n entity_id: input_boolean.vacuum_led_switch\n id: led_switch\n - platform: state\n entity_id: input_boolean.vacuum_lidar_collision\n id: lidar_collision\n - platform: state\n entity_id: input_boolean.vacuum_auto_boost\n id: auto_boost\n - platform: state\n entity_id: input_number.vacuum_volume\n id: volume\n - platform: state\n entity_id: input_boolean.vacuum_double_clean\n id: double_clean\n - platform: state\n entity_id: input_boolean.vacuum_edge_sweep\n id: edge_sweep\n - platform: state\n entity_id: input_select.vacuum_water_level\n id: water_level\n - platform: state\n entity_id: input_boolean.vacuum_station_key\n id: station_key\n - platform: state\n entity_id: input_boolean.vacuum_station_led\n id: station_led\n - platform: state\n entity_id: input_boolean.vacuum_mute\n id: mute\n - platform: state\n entity_id: input_select.vacuum_work_station_freq\n id: work_station_freq\n - platform: state\n entity_id: input_select.vacuum_mode\n id: vacuum_mode\n - platform: state\n entity_id: input_select.vacuum_sweep_type\n id: vacuum_sweep_type\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: led_switch\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 22\n value: '{{ 0 if is_state(''input_boolean.vacuum_led_switch'', ''off'') else\n 1 }}'\n - conditions:\n - condition: trigger\n id: lidar_collision\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 23\n value: '{{ 0 if is_state(''input_boolean.vacuum_lidar_collision'', ''off'')\n else 1 }}'\n - conditions:\n - condition: trigger\n id: auto_boost\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 9\n value: '{{ 0 if is_state(''input_boolean.vacuum_auto_boost'', ''off'') else\n 1 }}'\n - conditions:\n - condition: trigger\n id: volume\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 9\n piid: 1\n value: '{{states(''input_number.vacuum_volume'')|round(0)}}'\n - conditions:\n - condition: trigger\n id: double_clean\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 20\n value: '{{ 0 if is_state(''input_boolean.vacuum_double_clean'', ''off'')\n else 1 }}'\n - conditions:\n - condition: trigger\n id: edge_sweep\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 13\n piid: 8\n value: '{{ 0 if is_state(''input_boolean.vacuum_edge_sweep'', ''off'') else\n 1 }}'\n - conditions:\n - condition: trigger\n id: water_level\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 11\n value: \"{%- if is_state(\\\"input_select.vacuum_water_level\\\", \\\"No water\\\"\\\n ) -%}\\n 0\\n{%- elif is_state(\\\"input_select.vacuum_water_level\\\", \\\"\\\n Small\\\") -%}\\n 1\\n{%- elif is_state(\\\"input_select.vacuum_water_level\\\"\\\n , \\\"Middle\\\") -%}\\n 2\\n{%- elif is_state(\\\"input_select.vacuum_water_level\\\"\\\n , \\\"MAX\\\") -%}\\n 3\\n{% else %} {% endif %}\\n\"\n - conditions:\n - condition: trigger\n id: station_key\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 24\n value: '{{ 0 if is_state(''input_boolean.vacuum_station_key'', ''off'')\n else 1 }}'\n - conditions:\n - condition: trigger\n id: station_led\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 25\n value: '{{ 0 if is_state(''input_boolean.vacuum_station_led'', ''off'')\n else 1 }}'\n - conditions:\n - condition: trigger\n id: mute\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 9\n piid: 2\n value: '{{ 0 if is_state(''input_boolean.vacuum_mute'', ''off'') else 1\n }}'\n - conditions:\n - condition: trigger\n id: work_station_freq\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 8\n piid: 2\n value: \"{%- if is_state(\\\"input_select.vacuum_work_station_freq\\\", \\\"Not\\\n \\ to throw away\\\") -%}\\n 0\\n{%- elif is_state(\\\"input_select.vacuum_work_station_freq\\\"\\\n , \\\"Every time\\\") -%}\\n 1\\n{%- elif is_state(\\\"input_select.vacuum_work_station_freq\\\"\\\n , \\\"Every second\\\") -%}\\n 2\\n{%- elif is_state(\\\"input_select.vacuum_work_station_freq\\\"\\\n , \\\"Every third\\\") -%}\\n 3\\n{% else %} {% endif %}\\n\"\n - conditions:\n - condition: trigger\n id: vacuum_mode\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 2\n piid: 4\n value: \"{%- if is_state(\\\"input_select.vacuum_mode\\\", \\\"Sweep\\\") -%}\\n \\\n \\ 0\\n{%- elif is_state(\\\"input_select.vacuum_mode\\\", \\\"Silent\\\") -%}\\n\\\n \\ 1\\n{%- elif is_state(\\\"input_select.vacuum_mode\\\", \\\"Basic\\\") -%}\\n\\\n \\ 2\\n{%- elif is_state(\\\"input_select.vacuum_mode\\\", \\\"Strong\\\") -%}\\n\\\n \\ 3\\n{%- elif is_state(\\\"input_select.vacuum_mode\\\", \\\"Full Speed\\\")\\\n \\ -%}\\n 4\\n{% else %} {% endif %}\\n\"\n - conditions:\n - condition: trigger\n id: vacuum_sweep_type\n sequence:\n - service: xiaomi_miot.set_miot_property\n data:\n entity_id: vacuum.roidmi_eve\n did: 558429891\n siid: 2\n piid: 8\n value: \"{%- if is_state(\\\"input_select.vacuum_sweep_type\\\", \\\"Sweep\\\") -%}\\n\\\n \\ 0\\n{%- elif is_state(\\\"input_select.vacuum_sweep_type\\\", \\\"Mop\\\") -%}\\n\\\n \\ 1\\n{%- elif is_state(\\\"input_select.vacuum_sweep_type\\\", \\\"Mop And\\\n \\ Sweep\\\") -%}\\n 2\\n{% else %} {% endif %}\\n\"\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "roidmi vacuum",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.roidmi_eve",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum led switch input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_led_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum lidar collision input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_lidar_collision",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum auto boost input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_auto_boost",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum volume input",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.vacuum_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum double clean input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_double_clean",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum edge sweep input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_edge_sweep",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum water level input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_water_level",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum station key input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_station_key",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum station led input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_station_led",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum mute input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_mute",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum work station frequency input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_work_station_freq",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum mode input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum sweep type input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_sweep_type",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1716484803294'",
|
|
"automation": "- id: '1716484803294'\n alias: Vacuum Get Property\n description: ''\n trigger:\n - platform: state\n entity_id: vacuum.roidmi_eve\n condition: []\n action:\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'custom.led_switch', 1) %}\\n\\\n \\ input_boolean.turn_on\\n{% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_led_switch\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'custom.lidar_collision', 1)\\\n \\ %}\\n input_boolean.turn_on\\n{% else %}\\n input_boolean.turn_off\\n{% endif\\\n \\ %}\\n\"\n data:\n entity_id: input_boolean.vacuum_lidar_collision\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'custom.auto_boost', 1) %}\\n\\\n \\ input_boolean.turn_on\\n{% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_auto_boost\n - service: input_number.set_value\n entity_id: input_number.vacuum_volume\n data_template:\n value: '{{ state_attr(\"vacuum.roidmi_eve\",\"speaker.volume\") }}'\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'custom.double_clean', 1) %}\\n\\\n \\ input_boolean.turn_on\\n{% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_double_clean\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'map.path_type', 1) %}\\n input_boolean.turn_on\\n\\\n {% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_edge_sweep\n - service: input_select.select_option\n entity_id: input_select.vacuum_water_level\n data_template:\n option: \"{%- if is_state_attr('vacuum.roidmi_eve','custom.water_level',0) -%}\\n\\\n \\ No water\\n{%- elif is_state_attr('vacuum.roidmi_eve','custom.water_level',1)\\\n \\ -%}\\n Small\\n{%- elif is_state_attr('vacuum.roidmi_eve','custom.water_level',2)\\\n \\ -%}\\n Middle\\n{%- elif is_state_attr('vacuum.roidmi_eve','custom.water_level',3)\\\n \\ -%}\\n MAX\\n{%- else -%} {%- endif -%}\\n\"\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'custom.station_key', 1) %}\\n\\\n \\ input_boolean.turn_on\\n{% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_station_key\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'custom.station_led', 1) %}\\n\\\n \\ input_boolean.turn_on\\n{% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_station_led\n - service: \"{% if is_state_attr('vacuum.roidmi_eve', 'speaker.mute', 1) %}\\n input_boolean.turn_on\\n\\\n {% else %}\\n input_boolean.turn_off\\n{% endif %}\\n\"\n data:\n entity_id: input_boolean.vacuum_mute\n - service: input_select.select_option\n entity_id: input_select.vacuum_work_station_freq\n data_template:\n option: \"{%- if is_state_attr('vacuum.roidmi_eve','custom.work_station_freq',0)\\\n \\ -%}\\n Not to throw away\\n{%- elif is_state_attr('vacuum.roidmi_eve','custom.work_station_freq',1)\\\n \\ -%}\\n Every time\\n{%- elif is_state_attr('vacuum.roidmi_eve','custom.work_station_freq',2)\\\n \\ -%}\\n Every second\\n{%- elif is_state_attr('vacuum.roidmi_eve','custom.work_station_freq',3)\\\n \\ -%}\\n Every third\\n{%- else -%} {%- endif -%}\\n\"\n - service: input_select.select_option\n entity_id: input_select.vacuum_mode\n data_template:\n option: \"{%- if is_state_attr('vacuum.roidmi_eve','vacuum.mode',0) -%}\\n Sweep\\n\\\n {%- elif is_state_attr('vacuum.roidmi_eve','vacuum.mode',1) -%}\\n Silent\\n\\\n {%- elif is_state_attr('vacuum.roidmi_eve','vacuum.mode',2) -%}\\n Basic\\n\\\n {%- elif is_state_attr('vacuum.roidmi_eve','vacuum.mode',3) -%}\\n Strong\\n\\\n {%- elif is_state_attr('vacuum.roidmi_eve','vacuum.mode',4) -%}\\n Full Speed\\n\\\n {%- else -%} {%- endif -%}\\n\"\n - service: input_select.select_option\n entity_id: input_select.vacuum_sweep_type\n data_template:\n option: \"{%- if is_state_attr('vacuum.roidmi_eve','vacuum.sweep_type',0) -%}\\n\\\n \\ Sweep\\n{%- elif is_state_attr('vacuum.roidmi_eve','vacuum.sweep_type',1)\\\n \\ -%}\\n Mop\\n{%- elif is_state_attr('vacuum.roidmi_eve','vacuum.sweep_type',2)\\\n \\ -%}\\n Mop And Sweep\\n{%- else -%} {%- endif -%}\\n\"\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "roidmi vacuum",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.roidmi_eve",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum led switch input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_led_switch",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum lidar collision input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_lidar_collision",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum auto boost input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_auto_boost",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum volume input",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.vacuum_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum double clean input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_double_clean",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum edge sweep input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_edge_sweep",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum water level input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_water_level",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum station key input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_station_key",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum station led input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_station_led",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum mute input",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacuum_mute",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum work station frequency input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_work_station_freq",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum mode input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum sweep type input",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_sweep_type",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719583633037'",
|
|
"automation": "- id: '1719583633037'\n alias: Vanny skolka\n description: ''\n triggers:\n - value_template: '{% set lag_in_minute = 10 %} {% set travel_time_in_minute = states(\"sensor.waze_ngoc_skolka\")|int\n %} {% set target_time = now().replace(hour=16).replace(minute=45).replace(second=0)\n %} {{ as_timestamp(target_time) - (travel_time_in_minute+lag_in_minute)*60 <=\n as_timestamp(now())}}'\n trigger: template\n conditions:\n - condition: not\n conditions:\n - condition: zone\n entity_id: device_tracker.viet_ngoc_samsung\n zone: zone.smichov\n - condition: time\n weekday:\n - fri\n - thu\n - wed\n actions:\n - data:\n message: '{{ states(''sensor.waze_ngoc_skolka'')}}min {{ state_attr(''sensor.waze_ngoc_skolka'',''route'')}}'\n title: Vanesska Skolka\n action: notify.mobile_app_viet_ngoc_samsung\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "device tracker",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.viet_ngoc_samsung",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "waze ngoc skolka sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.waze_ngoc_skolka",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "zone smichov",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.smichov",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1719583833596'",
|
|
"automation": "- id: '1719583833596'\n alias: Vanny skolka waze\n description: ''\n triggers:\n - minutes: /2\n id: 20min\n trigger: time_pattern\n conditions:\n - condition: time\n after: '14:00:00'\n before: '17:00:00'\n weekday:\n - fri\n - thu\n actions:\n - target:\n entity_id:\n - sensor.waze_ngoc_skolka\n - sensor.waze_ngoc_smichov_oc\n action: homeassistant.update_entity\n data:\n entity_id:\n - sensor.waze_ngoc_skolka\n - sensor.waze_ngoc_smichov_oc\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "waze ngoc skolka sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.waze_ngoc_skolka",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "waze ngoc smichov sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.waze_ngoc_smichov_oc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1727802647185'",
|
|
"automation": "- id: '1727802647185'\n alias: person_home_change\n description: ''\n trigger:\n platform: state\n entity_id:\n - person.viet_ngoc\n from:\n - home\n - not_home\n to:\n - home\n - not_home\n action:\n data:\n topic: 'homeassistant/persistence/{{ trigger.to_state.name | lower }}\n\n '\n payload: '{{ now() }}\n\n '\n retain: true\n action: mqtt.publish\n mode: parallel",
|
|
"config": [
|
|
{
|
|
"name": "person viet ngoc",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.viet_ngoc",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1739425730318'",
|
|
"automation": "- id: '1739425730318'\n alias: Samsung Alarm\n description: ''\n triggers:\n - trigger: time\n at: sensor.viet_ngoc_samsung_next_alarm\n conditions: []\n actions:\n - action: script.homepod_alarm\n metadata: {}\n data: {}\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "homepod alarm script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.homepod_alarm",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "samsung next alarm sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.viet_ngoc_samsung_next_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1741648805445'",
|
|
"automation": "- id: '1741648805445'\n alias: ATV Force quit app\n description: 'Quit all ATV app with sony off timeout '\n triggers:\n - trigger: state\n entity_id:\n - media_player.sony_bravia_tv\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 30\n from: null\n conditions:\n - condition: template\n value_template: '{{ state_attr(''media_player.atv'', ''app_name'') != none }} '\n actions:\n - action: script.atv_quit\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "sony bravia tv",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.sony_bravia_tv",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "atv media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.atv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1743952304385'",
|
|
"automation": "- id: '1743952304385'\n alias: Front door open\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.contact_sensor_entrance_door\n from: null\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n id: door5min\n - trigger: state\n entity_id:\n - binary_sensor.contact_sensor_entrance_door\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - door5min\n sequence:\n - action: notify.ngoc_devices\n data:\n title: Front Door Open!\n message: Door is open\n data:\n ttl: 0\n priority: high\n channel: alarm_stream\n default:\n - action: notify.ngoc_devices\n metadata: {}\n data:\n title: Door\n message: 'Front door is {{ state_translated(trigger.entity_id) }} '\n data:\n group: security-notify\n tag: front-door\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "entrance door contact sensor",
|
|
"room": "entrance",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.contact_sensor_entrance_door",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1744393666745'",
|
|
"automation": "- id: '1744393666745'\n alias: HA Calendar\n description: ''\n triggers:\n - trigger: calendar\n entity_id: calendar.home_assistant_devs\n event: start\n offset: 0:12:0\n conditions: []\n actions:\n - action: persistent_notification.create\n metadata: {}\n data:\n message: '{{ state_attr(''calendar.home_assistant_devs'', ''message'') }}'\n title: HA Calendar\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "home assistant calendar",
|
|
"room": null,
|
|
"type": "calendar",
|
|
"id": {
|
|
"entity_id": "calendar.home_assistant_devs",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1746378396403'",
|
|
"automation": "- id: '1746378396403'\n alias: Disable vacuum camera\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - vacuum.roidmi_eve\n id: state_changed\n conditions:\n - condition: template\n value_template: '{{ trigger.to_state.state != trigger.from_state.state }}'\n actions:\n - if:\n - condition: template\n value_template: '{{ trigger.to_state.state in [\"unavailable\", \"unknown\", \"docked\",\n \"idle\", \"paused\", \"charging\"] }}'\n then:\n - action: camera.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: camera.roidmi_eve\n else:\n - action: camera.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: camera.roidmi_eve\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "roidmi vacuum",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.roidmi_eve",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "roidmi camera",
|
|
"room": null,
|
|
"type": "camera",
|
|
"id": {
|
|
"entity_id": "camera.roidmi_eve",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |