1316 lines
92 KiB
JSON
1316 lines
92 KiB
JSON
[
|
|
{
|
|
"id": "'1591135786183'",
|
|
"automation": "- id: '1591135786183'\n alias: Startup_or_Shutdown\n description: 'Triggers when HA starts or shuts-down.\n\n On shutdown, creates a scene of the hallway light, turns it on and sets it to\n blue.\n\n On startup, applies the scene for the hallway light.'\n trigger:\n - event: start\n platform: homeassistant\n id: Startup\n - event: shutdown\n platform: homeassistant\n id: Shutdown\n condition: []\n action:\n - alias: Startup\n if:\n - condition: trigger\n id:\n - Startup\n then:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.automation_override\n data: {}\n - service: scene.turn_on\n target:\n entity_id: scene.automation_shutdown\n data: {}\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.automation_override\n data: {}\n - alias: Shutdown\n if:\n - condition: trigger\n id:\n - Shutdown\n then:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.automation_override\n data: {}\n - service: scene.create\n data:\n scene_id: automation_shutdown\n snapshot_entities:\n - light.hallway\n - service: light.turn_on\n target:\n entity_id: light.hallway\n data:\n color_name: blue\n brightness: 255\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.automation_override\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "automation override",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_override",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "automation shutdown scene",
|
|
"room": null,
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.automation_shutdown",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1614322694397'",
|
|
"automation": "- id: '1614322694397'\n alias: Wake-up light alarm with sunrise effect\n description: ''\n use_blueprint:\n path: Sbyx/wake-up-light-alarm-with-sunrise-effect.yaml\n input:\n min_mired: 0\n light_entity: light.bedroom_lights\n timestamp_sensor: sensor.s22_ultra_next_alarm\n manual_time: 05:30:00",
|
|
"config": [
|
|
{
|
|
"name": "bedroom lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "S22 Ultra next alarm",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.s22_ultra_next_alarm",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1693377513197'",
|
|
"automation": "- id: '1693377513197'\n alias: Download satelite animations\n description: Downloads the lastest satelite animations from NOAA.org\n trigger:\n - platform: time_pattern\n enabled: true\n minutes: /15\n condition: []\n action:\n - service: downloader.download_file\n data:\n overwrite: true\n url: https://s.w-x.co/staticmaps/wu/wu/wxtype1200_cur/usday/animate.png\n filename: WU-animated.png\n - service: downloader.download_file\n data:\n overwrite: true\n url: https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/cgl/GEOCOLOR/GOES16-CGL-GEOCOLOR-600x600.gif\n filename: CGL-Geocolor.gif\n - service: downloader.download_file\n data:\n overwrite: true\n url: https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/cgl/Sandwich/GOES16-CGL-Sandwich-600x600.gif\n filename: CGL-Sandwich.gif\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1694571017571'",
|
|
"automation": "- id: '1694571017571'\n alias: Auto Office Lights\n description: ''\n trigger:\n - platform: state\n id: light_off_to_on\n entity_id:\n - light.office_lights\n from: 'off'\n to: 'on'\n - platform: state\n id: light_on_to_off\n entity_id:\n - light.office_lights\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.office_motion_detector\n from: 'off'\n to: 'on'\n id: motion_detected\n - platform: state\n entity_id:\n - binary_sensor.office_motion_detector\n from: 'on'\n to: 'off'\n id: motion_cleared\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.automation_auto_office_lights\n id: timer_finished\n - platform: state\n entity_id:\n - input_boolean.automation_auto_office_lights\n id: toggle_automation_off_to_on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - input_boolean.automation_auto_office_lights\n from: 'on'\n to: 'off'\n id: toggle_automation_on_to_off\n condition:\n - alias: Automation enabled or just recently turned off\n condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.automation_auto_office_lights\n state: 'on'\n - condition: template\n value_template: \"{{ is_state('input_boolean.automation_auto_office_lights',\\\n \\ 'off') and\\n (now() - states.input_boolean.automation_auto_office_lights.last_changed).total_seconds()\\\n \\ < 10 }}\"\n action:\n - alias: Choose between the 6 triggers\n choose:\n - conditions:\n - condition: trigger\n id:\n - light_off_to_on\n sequence:\n - if:\n - condition: and\n conditions:\n - condition: template\n value_template: '{{ not is_state(''timer.automation_auto_office_lights'',\n ''active'') }}'\n - condition: template\n value_template: '{{ not is_state(''binary_sensor.office_motion_detector_motion'',\n ''Detected'') }}'\n then:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_office_lights_duration.state\n | int(0)*60 }}\n\n '\n target:\n entity_id: timer.automation_auto_office_lights\n - conditions:\n - condition: trigger\n id:\n - light_on_to_off\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.automation_auto_office_lights\n - conditions:\n - condition: trigger\n id:\n - motion_detected\n sequence:\n - alias: Are the lights on or off?\n if:\n - condition: state\n entity_id: light.office_lights\n state: 'off'\n then:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.office_lights\n - alias: Is the tablet screen on or off?\n if:\n - condition: state\n entity_id: light.fire_office_screen\n state: 'off'\n then:\n - service: light.turn_on\n data: {}\n target:\n entity_id: light.fire_office_screen\n - if:\n - condition: state\n entity_id: timer.automation_auto_office_lights\n state: active\n then:\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.automation_auto_office_lights\n alias: Is the timer already running?\n - conditions:\n - condition: trigger\n id:\n - motion_cleared\n sequence:\n - if:\n - condition: state\n entity_id: light.office_lights\n state: 'on'\n then:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_office_lights_duration.state\n | int(0)*60 }}\n\n '\n target:\n entity_id: timer.automation_auto_office_lights\n - conditions:\n - condition: trigger\n id:\n - timer_finished\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.office_lights\n - light.fire_office_screen\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_off_to_on\n - condition: state\n entity_id: light.office_lights\n state: 'on'\n sequence:\n - if:\n - condition: state\n entity_id: light.office_lights\n state: 'on'\n then:\n - service: timer.start\n data: {}\n target:\n entity_id: timer.automation_auto_office_lights\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_on_to_off\n - condition: state\n entity_id: light.office_lights\n state: 'on'\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.automation_auto_office_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "office lights",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.office_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office motion detector",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.office_motion_detector",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto office lights timer",
|
|
"room": "office",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.automation_auto_office_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto office lights automation",
|
|
"room": "office",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_auto_office_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto office lights duration",
|
|
"room": "office",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.automation_auto_office_lights_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire office screen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_office_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Office Motion Detector Motion",
|
|
"room": "Office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.office_motion_detector_motion",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694661463984'",
|
|
"automation": "- id: '1694661463984'\n alias: Auto Hallway Lights\n description: ''\n trigger:\n - platform: state\n id: light_off_to_on\n entity_id:\n - light.hallway\n from: 'off'\n to: 'on'\n - platform: state\n id: light_on_to_off\n entity_id:\n - light.hallway\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.hallway_closet\n from: 'off'\n to: 'on'\n id: door_opened\n - platform: state\n entity_id:\n - binary_sensor.hallway_closet\n from: 'on'\n to: 'off'\n id: door_closed\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.automation_auto_hallway_lights\n id: timer_finished\n condition:\n - alias: Automation enabled or just recently turned off\n condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.automation_auto_hallway_lights\n state: 'on'\n - condition: template\n value_template: \"{{ is_state('input_boolean.automation_auto_hallway_lights',\\\n \\ 'off') and\\n (now() - states.input_boolean.automation_auto_hallway_lights.last_changed).total_seconds()\\\n \\ < 10 }}\"\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - light_off_to_on\n - condition: state\n entity_id: sensor.problem\n state: OK\n sequence:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_hallway_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_hallway_lights\n - conditions:\n - condition: trigger\n id:\n - light_on_to_off\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id:\n - timer.automation_auto_hallway_lights\n - if:\n - condition: state\n entity_id: sensor.problem\n state: Problem\n then:\n - service: light.turn_on\n data:\n color_name: red\n target:\n entity_id: light.hallway\n - conditions:\n - condition: trigger\n id:\n - door_opened\n sequence:\n - service: light.turn_on\n data:\n color_name: white\n target:\n entity_id: light.hallway\n - if:\n - condition: state\n entity_id: sensor.problem\n state: OK\n then:\n - service: timer.start\n data: {}\n - conditions:\n - condition: trigger\n id:\n - door_closed\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.hallway\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.automation_auto_hallway_lights\n - if:\n - condition: state\n entity_id: sensor.problem\n state: OK\n then:\n - service: light.turn_off\n data: {}\n target:\n entity_id: light.hallway\n else:\n - service: light.turn_on\n data:\n color_name: red\n target:\n entity_id: light.hallway\n - conditions:\n - condition: trigger\n id:\n - timer_finished\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.hallway\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hallway light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway closet sensor",
|
|
"room": "hallway",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.hallway_closet",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto hallway lights timer",
|
|
"room": "hallway",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.automation_auto_hallway_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto hallway lights automation",
|
|
"room": "hallway",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_auto_hallway_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto hallway lights duration",
|
|
"room": "hallway",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.automation_auto_hallway_lights_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "problem sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.problem",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694662516837'",
|
|
"automation": "- id: '1694662516837'\n alias: Auto Kitchen Lights\n description: ''\n trigger:\n - platform: state\n id: light_off_to_on\n entity_id:\n - light.kitchen_lights\n from: 'off'\n to: 'on'\n - platform: state\n id: light_on_to_off\n entity_id:\n - light.kitchen_lights\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.kitchen_motion_detector\n from: 'off'\n to: 'on'\n id: motion_detected\n - platform: state\n entity_id:\n - binary_sensor.kitchen_motion_detector\n from: 'on'\n to: 'off'\n id: motion_cleared\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.automation_auto_kitchen_lights\n id: timer_finished\n - platform: state\n entity_id:\n - input_boolean.automation_auto_kitchen_lights\n id: toggle_automation_off_to_on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - input_boolean.automation_auto_kitchen_lights\n from: 'on'\n to: 'off'\n id: toggle_automation_on_to_off\n - platform: state\n entity_id:\n - timer.automation_auto_kitchen_lights\n - timer.tester\n attribute: remaining\n to: '1:00'\n id: still_motion\n condition:\n - alias: Automation enabled or just recently turned off\n condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.automation_auto_kitchen_lights\n state: 'on'\n - condition: template\n value_template: \"{{ is_state('input_boolean.automation_auto_kitchen_lights',\\\n \\ 'off') and\\n (now() - states.input_boolean.automation_auto_kitchen_lights.last_changed).total_seconds()\\\n \\ < 10 }}\"\n action:\n - alias: Choose between 6 triggers\n choose:\n - conditions:\n - condition: trigger\n id:\n - light_off_to_on\n sequence:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_kitchen_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - light_on_to_off\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id:\n - timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - motion_detected\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: media_player.mini_pc_plex\n state: movie\n attribute: media_content_type\n alias: Confirm Plex is playing a movie\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: 50\n target:\n entity_id: light.stove\n - service: timer.start\n metadata: {}\n data:\n duration: '300'\n target:\n entity_id: timer.automation_auto_kitchen_lights\n alias: Start timer\n alias: Plex is playing and kitchen lights are off\n - conditions:\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n sequence:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.kitchen_lights\n alias: Kitchen lights are off\n - conditions:\n - condition: state\n entity_id: timer.automation_auto_kitchen_lights\n state: active\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n sequence:\n - service: timer.start\n metadata: {}\n data: {}\n target:\n entity_id: timer.automation_auto_kitchen_lights\n alias: Kitchen lights are on and timer is running\n - conditions:\n - condition: trigger\n id:\n - motion_cleared\n sequence:\n - if:\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n then:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_kitchen_lights_duration.state\n | int(0)*60 }}\n\n '\n target:\n entity_id: timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - timer_finished\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_off_to_on\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n sequence:\n - if:\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n then:\n - service: timer.start\n data: {}\n target:\n entity_id: timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_on_to_off\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - still_motion\n - condition: state\n entity_id: binary_sensor.kitchen_motion_detector\n state: 'on'\n enabled: false\n sequence:\n - service: timer.start\n metadata: {}\n data:\n duration: '5:00'\n target:\n entity_id: timer.automation_auto_kitchen_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen lights",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion detector",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_motion_detector",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto kitchen lights timer",
|
|
"room": "kitchen",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.automation_auto_kitchen_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto kitchen lights automation",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_auto_kitchen_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto kitchen lights duration",
|
|
"room": "kitchen",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.automation_auto_kitchen_lights_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mini pc plex",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.mini_pc_plex",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "stove light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.stove",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tester timer",
|
|
"room": null,
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.tester",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694666178669'",
|
|
"automation": "- id: '1694666178669'\n alias: Arriving/leaving home\n description: ''\n triggers:\n - entity_id:\n - device_tracker.s25_ultra\n from: not_home\n to: home\n id: arriving_home\n trigger: state\n - entity_id:\n - device_tracker.s25_ultra\n from: home\n to: not_home\n id: leaving_home\n trigger: state\n conditions:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - alias: Arriving home or leaving home\n choose:\n - conditions:\n - condition: trigger\n id:\n - arriving_home\n alias: Arriving home\n sequence:\n - data: {}\n target:\n entity_id:\n - light.fire_living_room_screen\n - light.fire_computer_desk_screen\n alias: Turn on tablet screens\n action: light.turn_on\n - if:\n - condition: numeric_state\n entity_id: sensor.living_room_motion_detector_illuminance\n below: 5\n then:\n - data: {}\n target:\n entity_id:\n - light.living_room_lights\n action: light.turn_on\n alias: Turn on living room lights, if needed\n - if:\n - condition: numeric_state\n entity_id: sensor.bedroom_motion_detector_illuminance\n below: 5\n then:\n - data: {}\n target:\n entity_id:\n - light.bedroom_lights\n action: light.turn_on\n alias: Turn on bedroom lights, if needed\n - if:\n - condition: state\n entity_id: media_player.xbox\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n then:\n - action: media_player.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: media_player.xbox\n alias: Turn on Xbox, if no guests\n - conditions:\n - condition: trigger\n id:\n - leaving_home\n alias: Leaving home\n sequence:\n - alias: Turn off tablet screens and all lights\n data:\n transition: 10\n target:\n entity_id:\n - light.fire_living_room_screen\n - light.fire_computer_desk_screen\n - light.fire_office_screen\n - light.fire_bedside_screen\n - light.all_lights\n action: light.turn_off\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire office screen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_office_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "S25 Ultra device tracker",
|
|
"room": null,
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.s25_ultra",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire living room screen",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_living_room_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire computer desk screen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_computer_desk_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room lights",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion detector illuminance",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.living_room_motion_detector_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion detector illuminance",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bedroom_motion_detector_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "xbox media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.xbox",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside screen",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_bedside_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "all lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.all_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694734074409'",
|
|
"automation": "- id: '1694734074409'\n alias: Auto Bathroom Lights\n description: Handle automatic bathroom lights based on motion, light and door sensor\n states, if music starts/stops, and enabling/disabling toggle while lights are\n on.\n triggers:\n - id: light_off_to_on\n entity_id:\n - light.bathroom_lights\n from: 'off'\n to: 'on'\n trigger: state\n - id: light_on_to_off\n entity_id:\n - light.bathroom_lights\n from: 'on'\n to: 'off'\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_motion_detector\n from: 'off'\n to: 'on'\n id: motion_detected\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_motion_detector\n from: 'on'\n to: 'off'\n id: motion_cleared\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_door\n to: 'on'\n id: door_opened\n from: 'off'\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_door\n to: 'off'\n id: door_closed\n from: 'on'\n trigger: state\n - alias: When Bathroom timer expires\n event_type: timer.finished\n event_data:\n entity_id: timer.automation_auto_bathroom_lights\n id: timer_finished\n trigger: event\n - entity_id:\n - input_boolean.automation_auto_bathroom_lights\n from: 'off'\n to: 'on'\n id: toggle_automation_off_to_on\n trigger: state\n - entity_id:\n - input_boolean.automation_auto_bathroom_lights\n from: 'on'\n to: 'off'\n id: toggle_automation_on_to_off\n trigger: state\n - trigger: state\n entity_id:\n - media_player.bathroom_alexa\n to: playing\n id: alexa_starts_playing\n - trigger: state\n entity_id:\n - media_player.bathroom_alexa\n to: paused\n from: playing\n id: alexa_stops_playing\n conditions:\n - alias: Automation enabled or just recently turned off\n condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.automation_auto_bathroom_lights\n state: 'on'\n - condition: template\n value_template: '{{ is_state(''input_boolean.automation_auto_bathroom_lights'',\n ''off'') and (now() - states.input_boolean.automation_auto_bathroom_lights.last_changed).total_seconds()\n < 10 }}'\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - light_off_to_on\n - door_opened\n sequence:\n - data:\n duration: '{{ states.input_number.automation_auto_bathroom_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_bathroom_lights\n action: timer.start\n - conditions:\n - condition: trigger\n id:\n - light_on_to_off\n sequence:\n - data: {}\n target:\n entity_id:\n - timer.automation_auto_bathroom_lights\n action: timer.cancel\n - conditions:\n - condition: trigger\n id:\n - motion_detected\n sequence:\n - metadata: {}\n data: {}\n target:\n entity_id: light.bathroom_lights\n action: light.turn_on\n - conditions:\n - condition: trigger\n id:\n - motion_cleared\n sequence:\n - if:\n - condition: state\n entity_id: binary_sensor.bathroom_door\n state: 'on'\n then:\n - data:\n duration: '{{ states.input_number.automation_auto_bathroom_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_bathroom_lights\n action: timer.start\n - conditions:\n - condition: trigger\n id:\n - timer_finished\n sequence:\n - data: {}\n target:\n entity_id:\n - light.bathroom_lights\n action: light.turn_off\n - conditions:\n - condition: trigger\n id:\n - door_closed\n - alexa_starts_playing\n sequence:\n - if:\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n then:\n - data: {}\n target:\n entity_id: light.bathroom_lights\n action: light.turn_on\n - data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n action: timer.cancel\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_off_to_on\n sequence:\n - if:\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n then:\n - data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n action: timer.start\n - data:\n message: '{{ [\"The timer has been started.\", \"Automatic lights enabled.\",\n \"The timer for the lights has been turned on.\"] | random }}'\n action: notify.alexa_media_bathroom\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_on_to_off\n sequence:\n - if:\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n then:\n - data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n action: timer.cancel\n - data:\n message: '{{ [\"The timer has been stopped.\", \"Automatic lights disabled.\",\n \"The timer for the lights has been turned off.\"] | random }}'\n action: notify.alexa_media_bathroom\n - conditions:\n - condition: trigger\n id:\n - alexa_stops_playing\n - condition: state\n entity_id: binary_sensor.bathroom_door\n state: 'on'\n sequence:\n - action: timer.start\n metadata: {}\n data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n alias: If trigger by alexa_stops_playing and the door is open\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom lights",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom motion detector",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bathroom_motion_detector",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom door sensor",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bathroom_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto bathroom lights timer",
|
|
"room": "bathroom",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.automation_auto_bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto bathroom lights automation",
|
|
"room": "bathroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_auto_bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto bathroom lights duration",
|
|
"room": "bathroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.automation_auto_bathroom_lights_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom alexa",
|
|
"room": "bathroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.bathroom_alexa",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alexa media bathroom",
|
|
"room": "bathroom",
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.alexa_media_bathroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1696213571336'",
|
|
"automation": "- id: '1696213571336'\n alias: Unraid is Down\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.unraid\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n condition: []\n action:\n - service: notify.mobile_app_s22_ultra\n data:\n message: '{{ states(''sensor.time'') }} | {{ trigger.to_state.name }} was {{\n trigger.to_state.state }}'\n title: Unraid Down\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "unraid sensor",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.unraid",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app S22 Ultra",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_s22_ultra",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "time sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1697598219834'",
|
|
"automation": "- id: '1697598219834'\n alias: Dashboard - Wallpaper changer\n description: ''\n trigger:\n - platform: time_pattern\n hours: /1\n condition: []\n action:\n - service: text.set_value\n data:\n value: temp\n target:\n entity_id: text.text\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n milliseconds: 0\n - service: text.set_value\n data:\n value: smoke\n target:\n entity_id: text.text\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "text entity",
|
|
"room": null,
|
|
"type": "text",
|
|
"id": {
|
|
"entity_id": "text.text",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1698360200348'",
|
|
"automation": "- id: '1698360200348'\n alias: Browser Mod Pop-up\n description: ''\n trigger:\n - platform: time\n at: '18:56:00'\n condition: []\n action:\n - service: browser_mod.popup\n data:\n dismissable: true\n autoclose: true\n title: Test\n timeout: 36000\n content:\n type: custom:button-card\n entity: '[[[ return variables.test_var ]]]'\n show_label: true\n label: '[[[ return variables.test_label ]]]'\n variables:\n test_var: person.derek\n test_label: Variables work for me.\n target:\n device_id:\n - 6b3c1fe87e30630ffd8d05915f1350ac\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "browser mod device",
|
|
"room": null,
|
|
"type": "browser_mod",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "6b3c1fe87e30630ffd8d05915f1350ac"
|
|
}
|
|
},
|
|
{
|
|
"name": "person derek",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.derek",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1701031425363'",
|
|
"automation": "- id: '1701031425363'\n alias: There is a problem\n description: This automation watches a template sensor that watches various sensors\n to determine if a problem exists.\n triggers:\n - entity_id:\n - sensor.problem\n from: OK\n to: Problem\n for:\n hours: 0\n minutes: 1\n seconds: 0\n id: Problem Detected\n trigger: state\n - entity_id:\n - sensor.problem\n from: Problem\n to: OK\n for:\n hours: 0\n minutes: 0\n seconds: 0\n id: Problem Resolved\n trigger: state\n - entity_id:\n - sensor.problem\n from: Problem\n to: OK\n for:\n hours: 0\n minutes: 1\n seconds: 0\n id: Problem Resolved\n trigger: state\n - trigger: time_pattern\n hours: /1\n id: Hourly Check\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - Problem Detected\n sequence:\n - data: {}\n target:\n entity_id: input_boolean.automation_override\n action: input_boolean.turn_on\n - data:\n color_name: red\n brightness_pct: 100\n target:\n entity_id: light.hallway\n action: light.turn_on\n - delay:\n hours: 0\n minutes: 0\n seconds: 10\n milliseconds: 0\n - data: {}\n target:\n entity_id: input_boolean.automation_override\n action: input_boolean.turn_off\n - data:\n color_name: red\n brightness_pct: 100\n target:\n entity_id: light.hallway\n action: light.turn_on\n - if:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.problem\n attribute: freezer\n state: OK\n then:\n - action: notify.mobile_app_s25_ultra\n metadata: {}\n data:\n message: The freezer is {{ states('sensor.freezer_temperature') | int}}{{state_attr('sensor.freezer_temperature',\n 'unit_of_measurement')}}.\n title: Problem Watchdog\n alias: Freezer Notifier\n - alias: Refrigerator Notifier\n if:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.problem\n attribute: refrigerator\n state: OK\n then:\n - action: notify.mobile_app_s25_ultra\n metadata: {}\n data:\n message: The refrigerator is {{ states('sensor.refrigerator_temperature')\n | int}}{{state_attr('sensor.refrigerator_temperature', 'unit_of_measurement')}}.\n title: Problem Watchdog\n - alias: Unraid Notifier\n if:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.problem\n attribute: freezer\n state: OK\n then:\n - action: notify.mobile_app_s25_ultra\n metadata: {}\n data:\n message: Unraid has stopped responding.\n title: Problem Watchdog\n enabled: true\n - alias: Internet Notifier\n if:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.problem\n attribute: freezer\n state: OK\n then:\n - action: notify.mobile_app_s25_ultra\n metadata: {}\n data:\n message: The internet appears to be unreachable.\n title: Problem Watchdog\n enabled: true\n - conditions:\n - condition: trigger\n id:\n - Problem Resolved\n sequence:\n - data: {}\n target:\n entity_id: light.hallway\n action: light.turn_off\n - action: notify.mobile_app_s25_ultra\n metadata: {}\n data:\n message: The problem has been resolved.\n title: Problem Watchdog\n - conditions:\n - condition: trigger\n id:\n - Hourly Check\n sequence:\n - if:\n - condition: state\n entity_id: sensor.problem\n state: OK\n - condition: and\n conditions:\n - condition: state\n entity_id: automation.auto_hallway_lights\n state: 'on'\n - condition: state\n entity_id: light.hallway\n attribute: rgb_color\n state: ''\n then:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.hallway\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "automation override",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_override",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hallway light",
|
|
"room": "hallway",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hallway",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "problem sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.problem",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "freezer temperature",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.freezer_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app S25 Ultra",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_s25_ultra",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "refrigerator temperature",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.refrigerator_temperature",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto hallway lights automation entity",
|
|
"room": "hallway",
|
|
"type": "automation",
|
|
"id": {
|
|
"entity_id": "automation.auto_hallway_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1703210723141'",
|
|
"automation": "- id: '1703210723141'\n alias: Integration Watchdog\n description: 'This automation watches entities to ensure the integration is functioning;\n if not, it will restart it.\n\n '\n triggers:\n - entity_id:\n - weather.home\n - weather.openweathermap\n - switch.nodered_all_lights_to_rgb\n to: unavailable\n trigger: state\n - at: 00:00:00\n trigger: time\n conditions: []\n actions:\n - alias: Restart Node-RED\n if:\n - condition: template\n value_template: '{{ true if trigger.entity_id == ''switch.nodered_all_lights_to_rgb''\n }}'\n then:\n - target:\n entity_id: switch.nodered_all_lights_to_rgb\n data: {}\n enabled: false\n action: homeassistant.reload_core_config\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - data:\n addon: a0d7b954_nodered\n action: hassio.addon_restart\n else:\n - action: homeassistant.reload_config_entry\n target:\n entity_id: '{{ trigger.entity_id }}'\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "weather home",
|
|
"room": null,
|
|
"type": "weather",
|
|
"id": {
|
|
"entity_id": "weather.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "openweathermap",
|
|
"room": null,
|
|
"type": "weather",
|
|
"id": {
|
|
"entity_id": "weather.openweathermap",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nodered all lights to rgb",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.nodered_all_lights_to_rgb",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1703380210771'",
|
|
"automation": "- id: '1703380210771'\n alias: Tablet Handler - Bedroom\n description: ''\n trigger:\n - type: motion\n platform: device\n device_id: 7768bc76b4cf7564de4069f54e91ba10\n entity_id: 673bdd66fe132d43df8b13aee55b7ae8\n domain: binary_sensor\n id: detected\n - alias: Bedroom Motion Detector stopped detecting motion for 15 minutes\n type: no_motion\n platform: device\n device_id: 7768bc76b4cf7564de4069f54e91ba10\n entity_id: 673bdd66fe132d43df8b13aee55b7ae8\n domain: binary_sensor\n id: clear\n for:\n hours: 0\n minutes: 15\n seconds: 0\n - alias: Fire Bedside Battery Level high\n type: battery_level\n platform: device\n device_id: d5b9cae0114b1c1b101a436665dc491f\n entity_id: 4dc6fe45447e2768141db780f0f4519e\n domain: sensor\n above: 90\n id: battery_high_beside\n - alias: Fire Bedside Battery Level low\n type: battery_level\n platform: device\n device_id: d5b9cae0114b1c1b101a436665dc491f\n entity_id: 4dc6fe45447e2768141db780f0f4519e\n domain: sensor\n id: battery_low_bedside\n below: 30\n - platform: state\n entity_id:\n - sensor.bedroom_motion_detector_illuminance\n id: illum_change\n - platform: state\n entity_id:\n - sensor.fire_bedside_battery_level\n to: unavailable\n id: unavailable\n condition: []\n action:\n - alias: Detected\n if:\n - condition: trigger\n id:\n - detected\n then:\n - alias: Turn on Fire Bedside Screen if off\n if:\n - condition: device\n type: is_off\n device_id: d5b9cae0114b1c1b101a436665dc491f\n entity_id: de242ee287ce83011d0ca4eb361012d9\n domain: light\n then:\n - service: number.set_value\n metadata: {}\n data:\n value: \"{% set illum = states('sensor.bedroom_motion_detector_illuminance')\\\n \\ | int %} \\n{% if (illum >= 3) %} 255 \\n{% elif (illum == 2) %} 64 \\n\\\n {% elif (illum < 2) %} 5 \\n{% endif %}\\n\"\n target:\n entity_id: number.fire_bedside_screen_brightness\n alias: Set screen brightness based on illumination\n - type: turn_on\n device_id: d5b9cae0114b1c1b101a436665dc491f\n entity_id: de242ee287ce83011d0ca4eb361012d9\n domain: light\n - alias: Turn on Fire Computer Desk Screen if off\n if:\n - condition: device\n type: is_off\n device_id: 2323c900e9b980c080e61690aee749cd\n entity_id: 9cd917b994ea278c02ec86321e38095e\n domain: light\n then:\n - type: turn_on\n device_id: 2323c900e9b980c080e61690aee749cd\n entity_id: 9cd917b994ea278c02ec86321e38095e\n domain: light\n - if:\n - condition: trigger\n id:\n - clear\n then:\n - type: turn_off\n device_id: d5b9cae0114b1c1b101a436665dc491f\n entity_id: a4e05baf4e06649648d37f8a77dcc6f5\n domain: switch\n - type: turn_off\n device_id: 2323c900e9b980c080e61690aee749cd\n entity_id: ea82e8163847666357471dd83d5f2225\n domain: switch\n alias: Cleared\n - alias: battery_high_bedside\n if:\n - condition: trigger\n id:\n - battery_high_beside\n then:\n - type: turn_off\n device_id: 95b9e9b525ab5b2ca6611e0bc8a09234\n entity_id: 726650d4664cfd7c03ccf4471357cb6d\n domain: switch\n - alias: battery_low_bedside\n if:\n - condition: trigger\n id:\n - battery_low_bedside\n - unavailable\n then:\n - type: turn_on\n device_id: 95b9e9b525ab5b2ca6611e0bc8a09234\n entity_id: 726650d4664cfd7c03ccf4471357cb6d\n domain: switch\n - alias: Illum_change\n if:\n - condition: trigger\n id:\n - illum_change\n then:\n - alias: Room is bright\n if:\n - type: is_illuminance\n condition: device\n device_id: 7768bc76b4cf7564de4069f54e91ba10\n entity_id: 56bfec006fdfda57e84d44e5d3aab121\n domain: sensor\n above: 8\n then:\n - device_id: d5b9cae0114b1c1b101a436665dc491f\n domain: number\n entity_id: 62e2d269ff6eb1c7c3d2f378be57c0ef\n type: set_value\n value: 255\n - device_id: 2323c900e9b980c080e61690aee749cd\n domain: number\n entity_id: fc3a51cdad17a3b8d7ebbcbf1b8cbca9\n type: set_value\n value: 255\n - alias: Room is dim\n if:\n - type: is_illuminance\n condition: device\n device_id: 7768bc76b4cf7564de4069f54e91ba10\n entity_id: 56bfec006fdfda57e84d44e5d3aab121\n domain: sensor\n above: 3\n below: 8\n then:\n - device_id: d5b9cae0114b1c1b101a436665dc491f\n domain: number\n entity_id: 62e2d269ff6eb1c7c3d2f378be57c0ef\n type: set_value\n value: 128\n - device_id: 2323c900e9b980c080e61690aee749cd\n domain: number\n entity_id: fc3a51cdad17a3b8d7ebbcbf1b8cbca9\n type: set_value\n value: 128\n - alias: Room is dark\n if:\n - type: is_illuminance\n condition: device\n device_id: 7768bc76b4cf7564de4069f54e91ba10\n entity_id: 56bfec006fdfda57e84d44e5d3aab121\n domain: sensor\n above: 0\n below: 4\n then:\n - device_id: d5b9cae0114b1c1b101a436665dc491f\n domain: number\n entity_id: 62e2d269ff6eb1c7c3d2f378be57c0ef\n type: set_value\n value: 5\n - device_id: 2323c900e9b980c080e61690aee749cd\n domain: number\n entity_id: fc3a51cdad17a3b8d7ebbcbf1b8cbca9\n type: set_value\n value: 5\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom motion detector illuminance",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bedroom_motion_detector_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion detector device",
|
|
"room": "bedroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "673bdd66fe132d43df8b13aee55b7ae8",
|
|
"device_id": "7768bc76b4cf7564de4069f54e91ba10"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside device",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "de242ee287ce83011d0ca4eb361012d9",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside battery level",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "4dc6fe45447e2768141db780f0f4519e",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire computer desk device",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "9cd917b994ea278c02ec86321e38095e",
|
|
"device_id": "2323c900e9b980c080e61690aee749cd"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside switch",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "a4e05baf4e06649648d37f8a77dcc6f5",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire computer desk switch",
|
|
"room": "office",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "ea82e8163847666357471dd83d5f2225",
|
|
"device_id": "2323c900e9b980c080e61690aee749cd"
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom charger switch",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "726650d4664cfd7c03ccf4471357cb6d",
|
|
"device_id": "95b9e9b525ab5b2ca6611e0bc8a09234"
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom motion detector illuminance device",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "56bfec006fdfda57e84d44e5d3aab121",
|
|
"device_id": "7768bc76b4cf7564de4069f54e91ba10"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside screen brightness",
|
|
"room": "bedroom",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "62e2d269ff6eb1c7c3d2f378be57c0ef",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire computer desk screen brightness",
|
|
"room": "office",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "fc3a51cdad17a3b8d7ebbcbf1b8cbca9",
|
|
"device_id": "2323c900e9b980c080e61690aee749cd"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside screen brightness number",
|
|
"room": "bedroom",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.fire_bedside_screen_brightness",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Fire Bedside Battery Level",
|
|
"room": "Bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.fire_bedside_battery_level",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1703463429418'",
|
|
"automation": "- id: '1703463429418'\n alias: Tablet Handler - Office\n description: ''\n trigger:\n - alias: Office Motion Detector started detecting motion\n type: motion\n platform: device\n device_id: aafc8ffa1dd2d1d366f0bbc9aa3a2646\n entity_id: ee217a8385eb18bff6776aabc310021e\n domain: binary_sensor\n id: detected\n - alias: Office Motion Detector stopped detecting motion\n type: no_motion\n platform: device\n device_id: aafc8ffa1dd2d1d366f0bbc9aa3a2646\n entity_id: ee217a8385eb18bff6776aabc310021e\n domain: binary_sensor\n id: clear\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - alias: Fire Office Battery Level high\n type: battery_level\n platform: device\n device_id: e4cda3b30481585c4855db66e71a23c7\n entity_id: d6cfab278a60c8a074e13aa7365380f8\n domain: sensor\n id: battery_high\n above: 90\n - alias: Fire Office Battery Level low\n type: battery_level\n platform: device\n device_id: e4cda3b30481585c4855db66e71a23c7\n entity_id: d6cfab278a60c8a074e13aa7365380f8\n domain: sensor\n id: battery_low\n below: 30\n - platform: state\n entity_id:\n - light.fire_office_screen\n to: unavailable\n for:\n hours: 0\n minutes: 0\n seconds: 15\n id: unavailable\n condition: []\n action:\n - alias: Detected\n if:\n - condition: trigger\n id:\n - detected\n then:\n - alias: Turn on Fire Bedside Screen if off\n if:\n - condition: device\n type: is_off\n device_id: e4cda3b30481585c4855db66e71a23c7\n entity_id: 9c21c738ad4179440e14bf4cae43cb0d\n domain: switch\n then:\n - type: turn_on\n device_id: e4cda3b30481585c4855db66e71a23c7\n entity_id: 9c21c738ad4179440e14bf4cae43cb0d\n domain: switch\n - alias: Cleared\n if:\n - condition: trigger\n id:\n - clear\n then:\n - type: turn_off\n device_id: e4cda3b30481585c4855db66e71a23c7\n entity_id: 9c21c738ad4179440e14bf4cae43cb0d\n domain: switch\n - alias: battery_high\n if:\n - condition: trigger\n id:\n - battery_high\n then:\n - type: turn_off\n device_id: 644ec1c2a13079455b32c0583b4ce84e\n entity_id: bd1d2e736255ff1d5c74f813b70b49e1\n domain: switch\n - alias: battery_low or unavailable\n if:\n - condition: trigger\n id:\n - battery_low\n - unavailable\n then:\n - type: turn_on\n device_id: 644ec1c2a13079455b32c0583b4ce84e\n entity_id: bd1d2e736255ff1d5c74f813b70b49e1\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "fire office screen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_office_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office motion detector device",
|
|
"room": "office",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "ee217a8385eb18bff6776aabc310021e",
|
|
"device_id": "aafc8ffa1dd2d1d366f0bbc9aa3a2646"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire office battery level",
|
|
"room": "office",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "d6cfab278a60c8a074e13aa7365380f8",
|
|
"device_id": "e4cda3b30481585c4855db66e71a23c7"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire office switch",
|
|
"room": "office",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "9c21c738ad4179440e14bf4cae43cb0d",
|
|
"device_id": "e4cda3b30481585c4855db66e71a23c7"
|
|
}
|
|
},
|
|
{
|
|
"name": "office charger switch",
|
|
"room": "office",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "bd1d2e736255ff1d5c74f813b70b49e1",
|
|
"device_id": "644ec1c2a13079455b32c0583b4ce84e"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1703467113239'",
|
|
"automation": "- id: '1703467113239'\n alias: Tablet Handler\n description: ''\n trigger:\n - platform: event\n event_type: lovelace_updated\n id: lovelace_updated\n - platform: homeassistant\n event: start\n id: HA_started\n - platform: homeassistant\n event: shutdown\n id: HA_shutdown\n condition: []\n action:\n - alias: lovelace_updated, HA_started\n if:\n - condition: trigger\n id:\n - lovelace_updated\n - HA_started\n then:\n - delay:\n hours: 0\n minutes: 0\n seconds: 10\n milliseconds: 0\n - service: button.press\n target:\n entity_id:\n - button.fire_office_load_start_url\n - button.fire_computer_desk_load_start_url\n - button.fire_living_room_load_start_url\n - button.fire_bedside_load_start_url\n device_id: []\n area_id: []\n data: {}\n alias: FKB Load Start URL\n - if:\n - condition: state\n entity_id: sensor.mini_pc_browser_path\n state: /lovelace-yaml/0\n then:\n - service: browser_mod.refresh\n metadata: {}\n data: {}\n target:\n device_id: 6b3c1fe87e30630ffd8d05915f1350ac\n else:\n - service: browser_mod.navigate\n metadata: {}\n data:\n path: '/lovelace-yaml/0 '\n target:\n device_id: 6b3c1fe87e30630ffd8d05915f1350ac\n - alias: HA_shutdown\n if:\n - condition: trigger\n id:\n - HA_shutdown\n then:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.fire_bedside_screen\n - light.fire_computer_desk_screen\n - light.fire_living_room_screen\n - light.fire_office_screen\n - service: fully_kiosk.load_url\n data:\n url: http://10.10.10.6:81/restarting.html\n target:\n device_id:\n - d5b9cae0114b1c1b101a436665dc491f\n - service: browser_mod.navigate\n target:\n device_id: 6b3c1fe87e30630ffd8d05915f1350ac\n data:\n path: http://10.10.10.6:81/restarting.html\n - delay:\n hours: 0\n minutes: 0\n seconds: 3\n milliseconds: 0\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "fire office screen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_office_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire living room screen",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_living_room_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire computer desk screen",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_computer_desk_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside screen",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_bedside_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "browser mod device",
|
|
"room": null,
|
|
"type": "browser_mod",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "6b3c1fe87e30630ffd8d05915f1350ac"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside device",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "de242ee287ce83011d0ca4eb361012d9",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside battery level",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "4dc6fe45447e2768141db780f0f4519e",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside switch",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "a4e05baf4e06649648d37f8a77dcc6f5",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside screen brightness",
|
|
"room": "bedroom",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "62e2d269ff6eb1c7c3d2f378be57c0ef",
|
|
"device_id": "d5b9cae0114b1c1b101a436665dc491f"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire office load start url",
|
|
"room": "office",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.fire_office_load_start_url",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire computer desk load start url",
|
|
"room": "office",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.fire_computer_desk_load_start_url",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire living room load start url",
|
|
"room": "living_room",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.fire_living_room_load_start_url",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire bedside load start url",
|
|
"room": "bedroom",
|
|
"type": "button",
|
|
"id": {
|
|
"entity_id": "button.fire_bedside_load_start_url",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mini pc browser path",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.mini_pc_browser_path",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1704122467342'",
|
|
"automation": "- id: '1704122467342'\n alias: Tablet Handler - Living Room\n description: ''\n triggers:\n - alias: Living Room Motion Detector started detecting motion\n type: motion\n device_id: bc4e628eacf9d4a29ad844ee0e7a8742\n entity_id: df33ece661e5b95570527bb241e5be81\n domain: binary_sensor\n trigger: device\n id: detected\n - alias: Living Room Motion Detector stopped detecting motion\n type: no_motion\n device_id: bc4e628eacf9d4a29ad844ee0e7a8742\n entity_id: df33ece661e5b95570527bb241e5be81\n domain: binary_sensor\n id: clear\n for:\n hours: 0\n minutes: 5\n seconds: 0\n trigger: device\n - alias: Fire Living Room Battery Level high\n type: battery_level\n device_id: 1cbba9ced32718bf0833b79584b5c1af\n entity_id: ce248c5fc411aae21d76463203cb359c\n domain: sensor\n id: battery_high\n above: 90\n trigger: device\n - alias: Fire Living Room Battery Level low\n type: battery_level\n device_id: 1cbba9ced32718bf0833b79584b5c1af\n entity_id: ce248c5fc411aae21d76463203cb359c\n domain: sensor\n id: battery_low\n below: 30\n trigger: device\n - entity_id:\n - light.fire_living_room_screen\n to: unavailable\n for:\n hours: 0\n minutes: 0\n seconds: 15\n id: unavailable\n trigger: state\n conditions: []\n actions:\n - alias: Detected\n if:\n - condition: trigger\n id:\n - detected\n then:\n - metadata: {}\n data:\n value: \"{% set illum = states('sensor.living_room_motion_detector_illuminance')\\\n \\ | int %} \\n{% if (illum >= 3) %} 255 \\n{% elif (illum == 2) %} 64 \\n{%\\\n \\ elif (illum < 2) %} 5 \\n{% endif %}\"\n target:\n entity_id: number.fire_living_room_screen_brightness\n alias: Set screen brightness based on illumination\n action: number.set_value\n - alias: Turn on Fire Living Room Screen if off\n if:\n - condition: device\n type: is_off\n device_id: 1cbba9ced32718bf0833b79584b5c1af\n entity_id: 69995a9c5c39d075e7e9aa4bdf4e2cef\n domain: light\n then:\n - type: turn_on\n device_id: 1cbba9ced32718bf0833b79584b5c1af\n entity_id: 69995a9c5c39d075e7e9aa4bdf4e2cef\n domain: light\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.apolosign_calendar_screen\n - alias: Cleared\n if:\n - condition: trigger\n id:\n - clear\n then:\n - type: turn_off\n device_id: 1cbba9ced32718bf0833b79584b5c1af\n entity_id: 69995a9c5c39d075e7e9aa4bdf4e2cef\n domain: light\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.apolosign_calendar_screen\n - alias: battery_high\n if:\n - condition: trigger\n id:\n - battery_high\n then:\n - type: turn_off\n device_id: 885d457dc97caeba319bb0fe0f79c20e\n entity_id: d344f9f59d99072efe0d123914814532\n domain: switch\n - alias: battery_low or unavailable\n if:\n - condition: trigger\n id:\n - battery_low\n - unavailable\n then:\n - type: turn_on\n device_id: 885d457dc97caeba319bb0fe0f79c20e\n entity_id: d344f9f59d99072efe0d123914814532\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "fire living room screen",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.fire_living_room_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion detector illuminance",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.living_room_motion_detector_illuminance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room motion detector device",
|
|
"room": "living_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "df33ece661e5b95570527bb241e5be81",
|
|
"device_id": "bc4e628eacf9d4a29ad844ee0e7a8742"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire living room battery level",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "ce248c5fc411aae21d76463203cb359c",
|
|
"device_id": "1cbba9ced32718bf0833b79584b5c1af"
|
|
}
|
|
},
|
|
{
|
|
"name": "fire living room screen brightness",
|
|
"room": "living_room",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.fire_living_room_screen_brightness",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "fire living room device",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "69995a9c5c39d075e7e9aa4bdf4e2cef",
|
|
"device_id": "1cbba9ced32718bf0833b79584b5c1af"
|
|
}
|
|
},
|
|
{
|
|
"name": "apolosign calendar screen",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.apolosign_calendar_screen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room charger switch",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "d344f9f59d99072efe0d123914814532",
|
|
"device_id": "885d457dc97caeba319bb0fe0f79c20e"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1705890738770'",
|
|
"automation": "- id: '1705890738770'\n alias: NFC Tag Handler\n description: ''\n trigger:\n - platform: tag\n tag_id: 831fa5ca-0fa6-4924-85c7-7e8fea316839\n alias: When Emptied Litter Box is scanned\n id: emptied_litter_box\n condition: []\n action:\n - if:\n - condition: trigger\n id:\n - emptied_litter_box\n then:\n - service: counter.reset\n metadata: {}\n data: {}\n target:\n entity_id: counter.task_empty_litter_box\n alias: Emptied Litter Box\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "empty litter box counter",
|
|
"room": null,
|
|
"type": "counter",
|
|
"id": {
|
|
"entity_id": "counter.task_empty_litter_box",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1705892421952'",
|
|
"automation": "- id: '1705892421952'\n alias: Daily Notifications\n description: ''\n trigger:\n - platform: tag\n tag_id: ''\n condition: []\n action:\n - if:\n - condition: numeric_state\n entity_id: counter.task_empty_litter_box\n above: input_number.task_empty_litter_box_duration\n then:\n - service: notify.mobile_app_s22_ultra\n metadata: {}\n data:\n message: Litter box\n title: Overdue\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "mobile app S22 Ultra",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app_s22_ultra",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "empty litter box counter",
|
|
"room": null,
|
|
"type": "counter",
|
|
"id": {
|
|
"entity_id": "counter.task_empty_litter_box",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "empty litter box duration",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.task_empty_litter_box_duration",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1709100898227'",
|
|
"automation": "- id: '1709100898227'\n alias: When a light is turned on\n description: ''\n trigger:\n - alias: light.turn_on called\n platform: event\n event_type: call_service\n event_data:\n domain: light\n service: turn_on\n enabled: false\n - platform: state\n entity_id:\n - light.living_room1\n - light.living_room2\n from: 'off'\n to: 'on'\n enabled: true\n - platform: template\n value_template: '{{ expand(''light.all_lights'') | sort(attribute = ''entity_id'')\n | map(attribute = ''entity_id'') | list }}'\n enabled: false\n - alias: light.turn_on called\n platform: event\n event_type: state_changed\n enabled: false\n event_data: {}\n condition:\n - condition: template\n value_template: '{{ trigger.to_state.state == ''on'' and trigger.from_state.state\n == ''off'' and trigger.from_state.state != trigger.to_state.state }}\n\n '\n - condition: template\n value_template: '{{ trigger.entity_id in expand(''light.all_lights'') | rejectattr\n (''entity_id'', ''in'', integration_entities(''group'')) | sort(attribute =\n ''entity_id'') | map(attribute = ''entity_id'') | list }}'\n enabled: true\n action: []\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "all lights",
|
|
"room": null,
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.all_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room light 1",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "living room light 2",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room2",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1711865497073'",
|
|
"automation": "- id: '1711865497073'\n alias: Set attribute\n description: Test to use python script to set an attribute\n triggers: []\n conditions: []\n actions:\n - data:\n action: set_attributes\n entity_id: light.living_room1\n attributes:\n - icon: mdi:phone\n action: python_script.hass_entities\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room light 1",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room1",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1717384051188'",
|
|
"automation": "- id: '1717384051188'\n alias: webhook\n description: ''\n trigger:\n - platform: webhook\n allowed_methods:\n - POST\n - PUT\n local_only: true\n webhook_id: -plex-skip-ending-credits\n condition: []\n action: []\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1729400732412'",
|
|
"automation": "- id: '1729400732412'\n alias: Plex Series test\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - media_player.xbox_plex\n attribute: media_series_title\n to: Manifest\n conditions: []\n actions:\n - action: light.turn_on\n data:\n brightness_pct: 20\n target:\n entity_id: light.living_room_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "living room lights",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.living_room_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "xbox media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.xbox",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "xbox plex media player",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.xbox_plex",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1737974858229'",
|
|
"automation": "- id: '1737974858229'\n alias: Template automation\n description: ''\n triggers:\n - trigger: template\n value_template: '{{ now().month in [1, 5, 8] and now().day == 27 and now().hour\n == 5 and now().minute == 48 }}'\n conditions: []\n actions:\n - action: persistent_notification.create\n metadata: {}\n data:\n message: This is a test of the template automation.\n title: Template automation test\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "Auto Bathroom Lights",
|
|
"automation": "- alias: Auto Bathroom Lights\n description: Handle automatic bathroom lights based on motion, light and door sensor\n states, if music starts/stops, and enabling/disabling toggle while lights are\n on.\n triggers:\n - id: light_off_to_on\n entity_id:\n - light.bathroom_lights\n from: 'off'\n to: 'on'\n trigger: state\n - id: light_on_to_off\n entity_id:\n - light.bathroom_lights\n from: 'on'\n to: 'off'\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_motion_detector\n from: 'off'\n to: 'on'\n id: motion_detected\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_motion_detector\n from: 'on'\n to: 'off'\n id: motion_cleared\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_door\n to: 'on'\n id: door_opened\n from: 'off'\n trigger: state\n - entity_id:\n - binary_sensor.bathroom_door\n to: 'off'\n id: door_closed\n from: 'on'\n trigger: state\n - alias: When Bathroom timer expires\n event_type: timer.finished\n event_data:\n entity_id: timer.automation_auto_bathroom_lights\n id: timer_finished\n trigger: event\n - entity_id:\n - input_boolean.automation_auto_bathroom_lights\n from: 'off'\n to: 'on'\n id: toggle_automation_off_to_on\n trigger: state\n - entity_id:\n - input_boolean.automation_auto_bathroom_lights\n from: 'on'\n to: 'off'\n id: toggle_automation_on_to_off\n trigger: state\n - trigger: state\n entity_id:\n - media_player.bathroom_alexa\n to: playing\n id: alexa_starts_playing\n - trigger: state\n entity_id:\n - media_player.bathroom_alexa\n to: paused\n from: playing\n id: alexa_stops_playing\n conditions:\n - alias: Automation enabled or just recently turned off\n condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.automation_auto_bathroom_lights\n state: 'on'\n - condition: template\n value_template: '{{ is_state(''input_boolean.automation_auto_bathroom_lights'',\n ''off'') and (now() - states.input_boolean.automation_auto_bathroom_lights.last_changed).total_seconds()\n < 10 }}'\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - light_off_to_on\n - door_opened\n sequence:\n - data:\n duration: '{{ states.input_number.automation_auto_bathroom_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_bathroom_lights\n action: timer.start\n - conditions:\n - condition: trigger\n id:\n - light_on_to_off\n sequence:\n - data: {}\n target:\n entity_id:\n - timer.automation_auto_bathroom_lights\n action: timer.cancel\n - conditions:\n - condition: trigger\n id:\n - motion_detected\n sequence:\n - metadata: {}\n data: {}\n target:\n entity_id: light.bathroom_lights\n action: light.turn_on\n - conditions:\n - condition: trigger\n id:\n - motion_cleared\n sequence:\n - if:\n - condition: state\n entity_id: binary_sensor.bathroom_door\n state: 'on'\n then:\n - data:\n duration: '{{ states.input_number.automation_auto_bathroom_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_bathroom_lights\n action: timer.start\n - conditions:\n - condition: trigger\n id:\n - timer_finished\n sequence:\n - data: {}\n target:\n entity_id:\n - light.bathroom_lights\n action: light.turn_off\n - conditions:\n - condition: trigger\n id:\n - door_closed\n - alexa_starts_playing\n sequence:\n - if:\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n then:\n - data: {}\n target:\n entity_id: light.bathroom_lights\n action: light.turn_on\n - data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n action: timer.cancel\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_off_to_on\n sequence:\n - if:\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n then:\n - data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n action: timer.start\n - data:\n message: '{{ [\"The timer has been started.\", \"Automatic lights enabled.\",\n \"The timer for the lights has been turned on.\"] | random }}'\n action: notify.alexa_media_bathroom\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_on_to_off\n sequence:\n - if:\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n then:\n - data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n action: timer.cancel\n - data:\n message: '{{ [\"The timer has been stopped.\", \"Automatic lights disabled.\",\n \"The timer for the lights has been turned off.\"] | random }}'\n action: notify.alexa_media_bathroom\n - conditions:\n - condition: trigger\n id:\n - alexa_stops_playing\n - condition: state\n entity_id: binary_sensor.bathroom_door\n state: 'on'\n sequence:\n - action: timer.start\n metadata: {}\n data: {}\n target:\n entity_id: timer.automation_auto_bathroom_lights\n alias: If trigger by alexa_stops_playing and the door is open\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom lights",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom motion detector",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bathroom_motion_detector",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom door sensor",
|
|
"room": "bathroom",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.bathroom_door",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto bathroom lights timer",
|
|
"room": "bathroom",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.automation_auto_bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto bathroom lights automation",
|
|
"room": "bathroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_auto_bathroom_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto bathroom lights duration",
|
|
"room": "bathroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.automation_auto_bathroom_lights_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom alexa",
|
|
"room": "bathroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.bathroom_alexa",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "alexa media bathroom",
|
|
"room": "bathroom",
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.alexa_media_bathroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Auto Kitchen Lights",
|
|
"automation": "- alias: Auto Kitchen Lights\n description: ''\n trigger:\n - platform: state\n id: light_off_to_on\n entity_id:\n - light.kitchen_lights\n from: 'off'\n to: 'on'\n - platform: state\n id: light_on_to_off\n entity_id:\n - light.kitchen_lights\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - binary_sensor.kitchen_motion_detector\n from: 'off'\n to: 'on'\n id: motion_detected\n - platform: state\n entity_id:\n - binary_sensor.kitchen_motion_detector\n from: 'on'\n to: 'off'\n id: motion_cleared\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.automation_auto_kitchen_lights\n id: timer_finished\n - platform: state\n entity_id:\n - input_boolean.automation_auto_kitchen_lights\n id: toggle_automation_off_to_on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - input_boolean.automation_auto_kitchen_lights\n from: 'on'\n to: 'off'\n id: toggle_automation_on_to_off\n - platform: state\n entity_id:\n - timer.automation_auto_kitchen_lights\n - timer.tester\n attribute: remaining\n to: '1:00'\n id: still_motion\n condition:\n - alias: Automation enabled or just recently turned off\n condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.automation_auto_kitchen_lights\n state: 'on'\n - condition: template\n value_template: \"{{ is_state('input_boolean.automation_auto_kitchen_lights',\\\n \\ 'off') and\\n (now() - states.input_boolean.automation_auto_kitchen_lights.last_changed).total_seconds()\\\n \\ < 10 }}\"\n action:\n - alias: Choose between 6 triggers\n choose:\n - conditions:\n - condition: trigger\n id:\n - light_off_to_on\n sequence:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_kitchen_lights_duration.state\n | int(0)*60 }}'\n target:\n entity_id:\n - timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - light_on_to_off\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id:\n - timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - motion_detected\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: media_player.mini_pc_plex\n state: movie\n attribute: media_content_type\n alias: Confirm Plex is playing a movie\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: 50\n target:\n entity_id: light.stove\n - service: timer.start\n metadata: {}\n data:\n duration: '300'\n target:\n entity_id: timer.automation_auto_kitchen_lights\n alias: Start timer\n alias: Plex is playing and kitchen lights are off\n - conditions:\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n sequence:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.kitchen_lights\n alias: Kitchen lights are off\n - conditions:\n - condition: state\n entity_id: timer.automation_auto_kitchen_lights\n state: active\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n sequence:\n - service: timer.start\n metadata: {}\n data: {}\n target:\n entity_id: timer.automation_auto_kitchen_lights\n alias: Kitchen lights are on and timer is running\n - conditions:\n - condition: trigger\n id:\n - motion_cleared\n sequence:\n - if:\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n then:\n - service: timer.start\n data:\n duration: '{{ states.input_number.automation_auto_kitchen_lights_duration.state\n | int(0)*60 }}\n\n '\n target:\n entity_id: timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - timer_finished\n sequence:\n - service: light.turn_off\n data: {}\n target:\n entity_id:\n - light.kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_off_to_on\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n sequence:\n - if:\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n then:\n - service: timer.start\n data: {}\n target:\n entity_id: timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - toggle_automation_on_to_off\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n sequence:\n - service: timer.cancel\n data: {}\n target:\n entity_id: timer.automation_auto_kitchen_lights\n - conditions:\n - condition: trigger\n id:\n - still_motion\n - condition: state\n entity_id: binary_sensor.kitchen_motion_detector\n state: 'on'\n enabled: false\n sequence:\n - service: timer.start\n metadata: {}\n data:\n duration: '5:00'\n target:\n entity_id: timer.automation_auto_kitchen_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "kitchen lights",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.kitchen_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "kitchen motion detector",
|
|
"room": "kitchen",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.kitchen_motion_detector",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto kitchen lights timer",
|
|
"room": "kitchen",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.automation_auto_kitchen_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto kitchen lights automation",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.automation_auto_kitchen_lights",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto kitchen lights duration",
|
|
"room": "kitchen",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.automation_auto_kitchen_lights_duration",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mini pc plex",
|
|
"room": null,
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.mini_pc_plex",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "stove light",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.stove",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tester timer",
|
|
"room": null,
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.tester",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |