AutomationDataset/geekofweek/description-ready.json

47736 lines
1.8 MiB

[
{
"id": "3d_printer_startup_prusaconnect_lxc_when_printers_turn_on",
"automation": "- alias: Startup PrusaConnect LXC When Printers Turn On\n id: 3d_printer_startup_prusaconnect_lxc_when_printers_turn_on\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: switch.prusa_mk4s_mmu3\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: binary_sensor.lxc_prusaconnect_cam_108_status\n state: 'off'\n actions:\n - action: button.press\n target:\n entity_id: button.lxc_prusaconnect_cam_108_start",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "PrusaConnect LXC status",
"room": "3d_printer",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.lxc_prusaconnect_cam_108_status",
"device_id": null
}
},
{
"name": "PrusaConnect LXC start button",
"room": "3d_printer",
"type": "button",
"id": {
"entity_id": "button.lxc_prusaconnect_cam_108_start",
"device_id": null
}
}
]
},
{
"id": "3d_printer_shutdown_prusaconnect_lxc_when_mk4s_turns_off",
"automation": "- alias: Shutdown PrusaConnect LXC When MK4S Turns Off\n id: 3d_printer_shutdown_prusaconnect_lxc_when_mk4s_turns_off\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: binary_sensor.lxc_prusaconnect_cam_108_status\n state: 'on'\n - condition: state\n entity_id: switch.prusa_mk4s\n state: 'off'\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3\n state: 'off'\n actions:\n - action: button.press\n target:\n entity_id: button.lxc_prusaconnect_cam_108_shutdown",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "PrusaConnect LXC status",
"room": "3d_printer",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.lxc_prusaconnect_cam_108_status",
"device_id": null
}
},
{
"name": "PrusaConnect LXC shutdown button",
"room": "3d_printer",
"type": "button",
"id": {
"entity_id": "button.lxc_prusaconnect_cam_108_shutdown",
"device_id": null
}
}
]
},
{
"id": "3d_printer_shutdown_prusaconnect_lxc_when_mk4s_mmu3_turns_off",
"automation": "- alias: Shutdown PrusaConnect LXC When MK4S MMU3 Turns Off\n id: 3d_printer_shutdown_prusaconnect_lxc_when_mk4s_mmu3_turns_off\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s_mmu3\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: binary_sensor.lxc_prusaconnect_cam_108_status\n state: 'on'\n - condition: state\n entity_id: switch.prusa_mk4s\n state: 'off'\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3\n state: 'off'\n actions:\n - action: button.press\n target:\n entity_id: button.lxc_prusaconnect_cam_108_shutdown",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "PrusaConnect LXC status",
"room": "3d_printer",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.lxc_prusaconnect_cam_108_status",
"device_id": null
}
},
{
"name": "PrusaConnect LXC shutdown button",
"room": "3d_printer",
"type": "button",
"id": {
"entity_id": "button.lxc_prusaconnect_cam_108_shutdown",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_print_finished",
"automation": "- alias: 3D-Printer - Prusa MK4S Print Finished\n id: 3d_printer_prusa_mk4s_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: finished\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: notify.USER1_devices\n data:\n message: 3D Print Complete (MK4S)\n data:\n tag: prusa_mk4s\n entity_id: camera.prusa_mk4s",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_print_stopped",
"automation": "- alias: 3D-Printer - Prusa MK4S Print Stopped\n id: 3d_printer_prusa_mk4s_print_stopped\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: stopped\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n color_name: purple\n - action: notify.USER1_devices\n data:\n message: Print Stopped (MK4S)\n data:\n tag: prusa_mk4s\n entity_id: camera.prusa_mk4s",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_print_paused",
"automation": "- alias: 3D-Printer - Prusa MK4S Print Paused\n id: 3d_printer_prusa_mk4s_print_paused\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: paused\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n color_name: orangered\n - action: notify.USER1_devices\n data:\n message: Print Paused (MK4S)\n data:\n tag: prusa_mk4s\n entity_id: camera.prusa_mk4s",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_print_error",
"automation": "- alias: 3D-Printer - Prusa MK4S Print Error\n id: 3d_printer_prusa_mk4s_print_error\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: error\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n color_name: red\n - action: notify.USER1_devices\n data:\n message: Print Error (MK4S)\n data:\n tag: prusa_mk4s\n entity_id: camera.prusa_mk4s",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_print_attention",
"automation": "- alias: 3D-Printer - Prusa MK4S Print Attention\n id: 3d_printer_prusa_mk4s_print_attention\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: attention\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n color_name: red\n - action: notify.USER1_devices\n data:\n message: Print Needs Attention (MK4S)\n data:\n tag: prusa_mk4s\n entity_id: camera.prusa_mk4s",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_on_turn_on_light",
"automation": "- alias: 3D-Printer - MK4S On Turn On Light\n id: 3d_printer_mk4s_on_turn_on_light\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_off_turn_off_light",
"automation": "- alias: 3D-Printer - MK4S Off Turn Off Light\n id: 3d_printer_mk4s_off_turn_off_light\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s\n to: 'off'\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.prusa_mk4s",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_light_reset_if_idle",
"automation": "- alias: 3D-Printer - MK4S Light Reset if Idle\n id: 3d_printer_mk4s_light_reset_if_idle\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: idle\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: idle\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_light_print_start",
"automation": "- alias: 3D-Printer - MK4S Light Print Start\n id: 3d_printer_mk4s_light_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: printing\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n color_name: blue\n - delay: 00:05:00\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_light_print_finish",
"automation": "- alias: 3D-Printer - MK4S Light Print Finish\n id: 3d_printer_mk4s_light_print_finish\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: finished\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n color_name: green",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "3d_printer_light_mk4s_print_finish_reset",
"automation": "- alias: 3D-Printer - Light MK4S Print Finish Reset\n id: 3d_printer_light_mk4s_print_finish_reset\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: finished\n to: idle\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_enclosure_fan_on_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S Enclosure Fan On Temp\n id: 3d_printer_prusa_mk4s_enclosure_fan_on_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n above: 25\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_enclosure_fan\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_material\n state: ABS\n - condition: state\n entity_id: sensor.prusa_mk4s_material\n state: ASA\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S material sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_material",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_psu_fan_on_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S PSU Fan On Temp\n id: 3d_printer_prusa_mk4s_psu_fan_on_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n above: 28\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_psu_fan\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_material\n state: ABS\n - condition: state\n entity_id: sensor.prusa_mk4s_material\n state: ASA\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S material sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_material",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_enclosure_fan_off_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S Enclosure Fan Off Temp\n id: 3d_printer_prusa_mk4s_enclosure_fan_off_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n below: 24\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_enclosure_fan\n state: 'on'\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_psu_fan_off_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S PSU Fan Off Temp\n id: 3d_printer_prusa_mk4s_psu_fan_off_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n below: 28\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_psu_fan\n state: 'on'\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_enclosure_fan_on_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S Enclosure Fan On Print Start\n id: 3d_printer_prusa_mk4s_enclosure_fan_on_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_enclosure_fan\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ABS\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ASA\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n above: 25\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 material sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_material",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_psu_fan_on_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S PSU Fan On Print Start\n id: 3d_printer_prusa_mk4s_psu_fan_on_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_psu_fan\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ABS\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ASA\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n above: 28\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 material sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_material",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_enclosure_fan_off_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S Enclosure Fan Off Print Start\n id: 3d_printer_prusa_mk4s_enclosure_fan_off_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_enclosure_fan\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ABS\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ASA\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n below: 24\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 material sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_material",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_psu_fan_off_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S PSU Fan Off Print Start\n id: 3d_printer_prusa_mk4s_psu_fan_off_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_psu_fan\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ABS\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3_material\n state: ASA\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_enclosure_temperature\n below: 28\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 material sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_material",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_enclosure_fans_on_print_finished",
"automation": "- alias: 3D-Printer - Prusa MK4S Enclosure Fans On Print Finished\n id: 3d_printer_prusa_mk4s_enclosure_fans_on_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: finished\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_psu_fan\n state: 'off'\n - condition: state\n entity_id: switch.prusa_mk4s_enclosure_fan\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_enclosure_fans_off_print_finished",
"automation": "- alias: 3D-Printer - Prusa MK4S Enclosure Fans Off Print Finished\n id: 3d_printer_prusa_mk4s_enclosure_fans_off_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: finished\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: idle\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_psu_fan\n state: 'on'\n - condition: state\n entity_id: switch.prusa_mk4s_enclosure_fan\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_off_turn_off_fans",
"automation": "- alias: 3D-Printer - MK4S Off Turn Off Fans\n id: 3d_printer_mk4s_off_turn_off_fans\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s\n to: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_enclosure_fan\n - switch.prusa_mk4s_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_psu_fan",
"device_id": null
}
}
]
},
{
"id": "3d_printer_turn_on_camera_recording_prusa_mk4s",
"automation": "- alias: 3D-Printer - Turn On Camera Recording Prusa MK4S\n id: 3d_printer_turn_on_camera_recording_prusa_mk4s\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: printing\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: select.prusa_mk4s_camera_recording_mode\n state: Always\n actions:\n - action: select.select_option\n data:\n entity_id: select.prusa_mk4s_camera_recording_mode\n option: Always",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera recording mode select",
"room": "3d_printer",
"type": "select",
"id": {
"entity_id": "select.prusa_mk4s_camera_recording_mode",
"device_id": null
}
}
]
},
{
"id": "3d_printer_turn_off_camera_recording_prusa_mk4s",
"automation": "- alias: 3D-Printer - Turn Off Camera Recording Prusa MK4S\n id: 3d_printer_turn_off_camera_recording_prusa_mk4s\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: select.prusa_mk4s_camera_recording_mode\n state: Never\n actions:\n - action: select.select_option\n data:\n entity_id: select.prusa_mk4s_camera_recording_mode\n option: Never",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera recording mode select",
"room": "3d_printer",
"type": "select",
"id": {
"entity_id": "select.prusa_mk4s_camera_recording_mode",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_print_finished",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Print Finished\n id: 3d_printer_prusa_mk4s_mmu3_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: finished\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: notify.USER1_devices\n data:\n message: 3D Print Complete (MMU)\n data:\n tag: prusa_mk4s_mmu3\n entity_id: camera.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_print_stopped",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Print Stopped\n id: 3d_printer_prusa_mk4s_mmu3_print_stopped\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: stopped\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n color_name: purple\n - action: notify.USER1_devices\n data:\n message: Print Stopped (MMU)\n data:\n tag: prusa_mk4s_mmu3\n entity_id: camera.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_print_paused",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Print Paused\n id: 3d_printer_prusa_mk4s_mmu3_print_paused\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: paused\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n color_name: orangered\n - action: notify.USER1_devices\n data:\n message: Print Paused (MMU)\n data:\n tag: prusa_mk4s_mmu3\n entity_id: camera.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_print_error",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 MMU Print Error\n id: 3d_printer_prusa_mk4s_mmu3_print_error\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_nozzle_temperature\n below: 165\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: notify.USER1_devices\n data:\n message: Print Error (MMU)\n data:\n tag: prusa_mk4s_mmu3\n entity_id: camera.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 nozzle temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_nozzle_temperature",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_print_error",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Print Error\n id: 3d_printer_prusa_mk4s_mmu3_print_error\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: error\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n color_name: red\n - action: notify.USER1_devices\n data:\n message: Print Error (MMU)\n data:\n tag: prusa_mk4s_mmu3\n entity_id: camera.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_print_attention",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Print Attention\n id: 3d_printer_prusa_mk4s_mmu3_print_attention\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: attention\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n color_name: red\n - action: notify.USER1_devices\n data:\n message: Print Needs Attention (MMU)\n data:\n tag: prusa_mk4s_mmu3\n entity_id: camera.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera",
"room": "3d_printer",
"type": "camera",
"id": {
"entity_id": "camera.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_mmu3_on_turn_on_light",
"automation": "- alias: 3D-Printer - MK4S MMU3 On Turn On Light\n id: 3d_printer_mk4s_mmu3_on_turn_on_light\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s_mmu3\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s_mmu3\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_mmu3_off_turn_off_light",
"automation": "- alias: 3D-Printer - MK4S MMU3 Off Turn Off Light\n id: 3d_printer_mk4s_mmu3_off_turn_off_light\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s_mmu3\n to: 'off'\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s_mmu3\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.prusa_mk4s_mmu3",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_mmu3_light_print_start",
"automation": "- alias: 3D-Printer - MK4S MMU3 Light Print Start\n id: 3d_printer_mk4s_mmu3_light_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: printing\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s_mmu3\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n color_name: blue\n - delay: 00:05:00\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_mmu3_light_print_finish",
"automation": "- alias: 3D-Printer - MK4S MMU3 Light Print Finish\n id: 3d_printer_mk4s_mmu3_light_print_finish\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: finished\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s_mmu3\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n color_name: green",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_light_mk4s_mmu3_print_finish_reset",
"automation": "- alias: 3D-Printer - Light MK4S MMU3 Print Finish Reset\n id: 3d_printer_light_mk4s_mmu3_print_finish_reset\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: finished\n to: idle\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s_mmu3\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_mmu3_light_reset_if_idle",
"automation": "- alias: 3D-Printer - MK4S MMU3 Light Reset if Idle\n id: 3d_printer_mk4s_mmu3_light_reset_if_idle\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: idle\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: light.prusa_mk4s_mmu3\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: idle\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.prusa_mk4s_mmu3\n data:\n brightness_pct: 100\n effect: Daylight",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 light",
"room": "3d_printer",
"type": "light",
"id": {
"entity_id": "light.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_enclosure_fan_on_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Enclosure Fan On Temp\n id: 3d_printer_prusa_mk4s_mmu3_enclosure_fan_on_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n above: 25\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_enclosure_fan\n state: 'off'\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_psu_fan_on_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 PSU Fan On Temp\n id: 3d_printer_prusa_mk4s_mmu3_psu_fan_on_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n above: 28\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_psu_fan\n state: 'off'\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_enclosure_fan_off_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Enclosure Fan Off Temp\n id: 3d_printer_prusa_mk4s_mmu3_enclosure_fan_off_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n below: 24\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_enclosure_fan\n state: 'on'\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_psu_fan_off_temp",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 PSU Fan Off Temp\n id: 3d_printer_prusa_mk4s_mmu3_psu_fan_off_temp\n triggers:\n - trigger: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n below: 28\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_psu_fan\n state: 'on'\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_enclosure_fan_on_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Enclosure Fan On Print Start\n id: 3d_printer_prusa_mk4s_mmu3_enclosure_fan_on_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_enclosure_fan\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n above: 25\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_psu_fan_on_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 PSU Fan On Print Start\n id: 3d_printer_prusa_mk4s_mmu3_psu_fan_on_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_psu_fan\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n above: 28\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_enclosure_fan_off_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Enclosure Fan Off Print Start\n id: 3d_printer_prusa_mk4s_mmu3_enclosure_fan_off_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_enclosure_fan\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n below: 24\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_psu_fan_off_print_start",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 PSU Fan Off Print Start\n id: 3d_printer_prusa_mk4s_mmu3_psu_fan_off_print_start\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: printing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_psu_fan\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.prusa_mk4s_mmu3_enclosure_temperature\n below: 28\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure temperature sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_enclosure_temperature",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_enclosure_fans_on_print_finished",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Enclosure Fans On Print Finished\n id: 3d_printer_prusa_mk4s_mmu3_enclosure_fans_on_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: finished\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_psu_fan\n state: 'off'\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_enclosure_fan\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_prusa_mk4s_mmu3_enclosure_fans_off_print_finished",
"automation": "- alias: 3D-Printer - Prusa MK4S MMU3 Enclosure Fans Off Print Finished\n id: 3d_printer_prusa_mk4s_mmu3_enclosure_fans_off_print_finished\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: finished\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: idle\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_psu_fan\n state: 'on'\n - condition: state\n entity_id: switch.prusa_mk4s_mmu3_enclosure_fan\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n - condition: state\n entity_id: input_boolean.prusa_mk4s_mmu3_disable_fans\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 disable fans input boolean",
"room": "3d_printer",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.prusa_mk4s_mmu3_disable_fans",
"device_id": null
}
}
]
},
{
"id": "3d_printer_mk4s_mmu3_off_turn_off_fans",
"automation": "- alias: 3D-Printer - MK4S MMU3 Off Turn Off Fans\n id: 3d_printer_mk4s_mmu3_off_turn_off_fans\n triggers:\n - trigger: state\n entity_id: switch.prusa_mk4s_mmu3\n to: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.prusa_mk4s_mmu3_enclosure_fan\n - switch.prusa_mk4s_mmu3_psu_fan",
"config": [
{
"name": "Prusa MK4S printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 enclosure fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_enclosure_fan",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 PSU fan switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.prusa_mk4s_mmu3_psu_fan",
"device_id": null
}
}
]
},
{
"id": "3d_printer_turn_on_camera_recording_prusa_mk4s_mmu3",
"automation": "- alias: 3D-Printer - Turn On Camera Recording Prusa MK4S MMU3\n id: 3d_printer_turn_on_camera_recording_prusa_mk4s_mmu3\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: printing\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: select.prusa_mk4s_mmu3_camera_recording_mode\n state: Always\n actions:\n - action: select.select_option\n data:\n entity_id: select.prusa_mk4s_mmu3_camera_recording_mode\n option: Always",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera recording mode select",
"room": "3d_printer",
"type": "select",
"id": {
"entity_id": "select.prusa_mk4s_mmu3_camera_recording_mode",
"device_id": null
}
}
]
},
{
"id": "3d_printer_turn_off_camera_recording_prusa_mk4s_mmu3",
"automation": "- alias: 3D-Printer - Turn Off Camera Recording Prusa MK4S MMU3\n id: 3d_printer_turn_off_camera_recording_prusa_mk4s_mmu3\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: select.prusa_mk4s_mmu3_camera_recording_mode\n state: Never\n actions:\n - action: select.select_option\n data:\n entity_id: select.prusa_mk4s_mmu3_camera_recording_mode\n option: Never",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 camera recording mode select",
"room": "3d_printer",
"type": "select",
"id": {
"entity_id": "select.prusa_mk4s_mmu3_camera_recording_mode",
"device_id": null
}
}
]
},
{
"id": "alarm_triggered_armed_away",
"automation": "- alias: Alarm - Triggered Armed Away\n id: alarm_triggered_armed_away\n triggers:\n - trigger: state\n entity_id: alarm_control_panel.alarm\n to: triggered\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs_exterior\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.lutron_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.lutron_lights_exterior\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n flash: long\n - action: switch.turn_on\n target:\n entity_id:\n - switch.siren\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"You are not Authorized\n to be Here. Law Enforcement Has Been Notified!\"\n\n '\n media_content_type: music\n extra:\n volume: 90\n - action: notify.USER1_devices\n data:\n message: Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: notify.USER2_devices\n data:\n message: Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Smart bulbs light group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs",
"device_id": null
}
},
{
"name": "Exterior smart bulbs light group",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs_exterior",
"device_id": null
}
},
{
"name": "Lutron lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.lutron_lights",
"device_id": null
}
},
{
"name": "Exterior Lutron lights group",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.lutron_lights_exterior",
"device_id": null
}
},
{
"name": "Siren switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.siren",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_triggered_armed_home",
"automation": "- alias: Alarm - Triggered Armed Home\n id: alarm_triggered_armed_home\n triggers:\n - trigger: state\n entity_id: alarm_control_panel.alarm\n to: triggered\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs_exterior\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.lutron_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.lutron_lights_exterior\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n flash: long\n - action: switch.turn_on\n target:\n entity_id:\n - switch.siren\n - action: notify.USER1_devices\n data:\n message: Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: notify.USER2_devices\n data:\n message: Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Smart bulbs light group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs",
"device_id": null
}
},
{
"name": "Exterior smart bulbs light group",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs_exterior",
"device_id": null
}
},
{
"name": "Lutron lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.lutron_lights",
"device_id": null
}
},
{
"name": "Exterior Lutron lights group",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.lutron_lights_exterior",
"device_id": null
}
},
{
"name": "Siren switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.siren",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_panic_button_on",
"automation": "- alias: Alarm - Panic Button On\n id: alarm_panic_button_on\n triggers:\n - trigger: state\n entity_id: switch.panic_mode\n to: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs_exterior\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.lutron_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.lutron_lights_exterior\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n flash: long\n - action: switch.turn_on\n target:\n entity_id:\n - switch.siren\n - action: notify.USER1_devices\n data:\n message: Panic Button Has Been Pressed!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: notify.USER2_devices\n data:\n message: Panic Button Has Been Pressed!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: siren_off\n title: Siren Off\n activationMode: background",
"config": [
{
"name": "Smart bulbs light group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs",
"device_id": null
}
},
{
"name": "Exterior smart bulbs light group",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs_exterior",
"device_id": null
}
},
{
"name": "Lutron lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.lutron_lights",
"device_id": null
}
},
{
"name": "Exterior Lutron lights group",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.lutron_lights_exterior",
"device_id": null
}
},
{
"name": "Siren switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.siren",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "Panic mode switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.panic_mode",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_panic_button_off",
"automation": "- alias: Alarm - Panic Button Off\n id: alarm_panic_button_off\n triggers:\n - trigger: state\n entity_id: switch.panic_mode\n to: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.siren",
"config": [
{
"name": "Siren switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.siren",
"device_id": null
}
},
{
"name": "Panic mode switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.panic_mode",
"device_id": null
}
}
]
},
{
"id": "alarm_panic_button_auto_off",
"automation": "- alias: Alarm - Panic Button Auto Off\n id: alarm_panic_button_auto_off\n triggers:\n - trigger: state\n entity_id: switch.panic_mode\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.siren",
"config": [
{
"name": "Siren switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.siren",
"device_id": null
}
},
{
"name": "Panic mode switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.panic_mode",
"device_id": null
}
}
]
},
{
"id": "alarm_away_door_alarm",
"automation": "- alias: Alarm - Away Door Alarm\n id: alarm_away_door_alarm\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: armed_away\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Door Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: notify.USER2_devices\n data:\n message: Door Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: alarm_control_panel.alarm_trigger\n target:\n entity_id:\n - alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_home_door_alarm",
"automation": "- alias: Alarm - Home Door Alarm\n id: alarm_home_door_alarm\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: armed_home\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Door Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: notify.USER2_devices\n data:\n message: Door Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background\n - action: siren_off\n title: Siren Off\n activationMode: background\n - action: alarm_control_panel.alarm_trigger\n target:\n entity_id:\n - alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_motion_alarm_away",
"automation": "- alias: Alarm - Motion Alarm Away\n id: alarm_motion_alarm_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.motion\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 30\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n - condition: state\n entity_id: vacuum.basement_roomba\n state: docked\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: armed_away\n - condition: state\n entity_id: switch.3d_printer_prusa\n state: 'off'\n - condition: state\n entity_id: switch.3d_printer_prusa_mini\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Motion Alarm Triggered!\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1.0\n tag: alarm\n entity_id:\n - camera.front_porch\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "Motion binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.motion",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "3D printer Prusa switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.3d_printer_prusa",
"device_id": null
}
},
{
"name": "3D printer Prusa Mini switch",
"room": "3d_printer",
"type": "switch",
"id": {
"entity_id": "switch.3d_printer_prusa_mini",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_garage_alarm_home",
"automation": "- alias: Alarm - Garage Alarm Home\n id: alarm_garage_alarm_home\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: open\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: armed_home\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Garage Door Alarm Triggered!\n data:\n tag: alarm\n entity_id: camera.garage",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage camera",
"room": "garage",
"type": "camera",
"id": {
"entity_id": "camera.garage",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_garage_alarm_away",
"automation": "- alias: Alarm - Garage Alarm Away\n id: alarm_garage_alarm_away\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: open\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: armed_away\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Garage Door Alarm Triggered!\n data:\n tag: alarm\n entity_id: camera.garage",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage camera",
"room": "garage",
"type": "camera",
"id": {
"entity_id": "camera.garage",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_disable_alarm_when_home",
"automation": "- alias: Alarm - Disable Alarm when Home\n id: alarm_disable_alarm_when_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n actions:\n - action: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
}
]
},
{
"id": "alarm_disable_alarm_when_USER1_or_USER2_home",
"automation": "- alias: Alarm - Disable Alarm when USER1 or USER2 Home\n id: alarm_disable_alarm_when_USER1_or_USER2_home\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n actions:\n - action: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
}
]
},
{
"id": "alarm_enable_alarm_when_away",
"automation": "- alias: Alarm - Enable Alarm when Away\n id: alarm_enable_alarm_when_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.home_showing_mode\n state: 'on'\n actions:\n - action: alarm_control_panel.alarm_arm_away\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
}
]
},
{
"id": "alarm_arm_home_at_bedtime",
"automation": "- alias: Alarm - Arm Home at Bedtime\n id: alarm_arm_home_at_bedtime\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n actions:\n - action: alarm_control_panel.alarm_arm_home\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
}
]
},
{
"id": "alarm_disarm_armed_home_in_the_morning_on_motion",
"automation": "- alias: Alarm - Disarm Armed Home in the Morning on Motion\n id: alarm_disarm_armed_home_in_the_morning_on_motion\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.bedroom_closet_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: armed_home\n - condition: time\n after: 05:00:00\n before: '21:00:00'\n actions:\n - action: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
},
{
"name": "Bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "alarm_disable_alarm_if_lock_code_used",
"automation": "- alias: Alarm - Disable Alarm if Lock Code Used\n id: alarm_disable_alarm_if_lock_code_used\n triggers:\n - trigger: state\n entity_id: sensor.front_door_lock_code\n to: USER2\n - trigger: state\n entity_id: sensor.front_door_lock_code\n to: USER1\n - trigger: state\n entity_id: sensor.front_door_lock_code\n to: guest\n - trigger: state\n entity_id: sensor.back_door_lock_code\n to: USER2\n - trigger: state\n entity_id: sensor.back_door_lock_code\n to: USER1\n - trigger: state\n entity_id: sensor.back_door_lock_code\n to: guest\n - trigger: state\n entity_id: sensor.basement_door_lock_code\n to: USER2\n - trigger: state\n entity_id: sensor.basement_door_lock_code\n to: USER1\n - trigger: state\n entity_id: sensor.basement_door_lock_code\n to: guest\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n actions:\n - action: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Front Door Lock Code",
"room": "Front Door",
"type": "sensor",
"id": {
"entity_id": "sensor.front_door_lock_code",
"device_id": null
}
},
{
"name": "Back Door Lock Code",
"room": "Back Door",
"type": "sensor",
"id": {
"entity_id": "sensor.back_door_lock_code",
"device_id": null
}
},
{
"name": "Basement Door Lock Code",
"room": "Basement Door",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_door_lock_code",
"device_id": null
}
}
]
},
{
"id": "alarm_armed_home_ios_notification",
"automation": "- alias: Alarm - Armed Home iOS Notification\n id: alarm_armed_home_ios_notification\n triggers:\n - trigger: state\n entity_id: alarm_control_panel.alarm\n to: armed_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Alarm is Armed\n data:\n tag: alarm\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_armed_away_ios_notification",
"automation": "- alias: Alarm - Armed Away iOS Notification\n id: alarm_armed_away_ios_notification\n triggers:\n - trigger: state\n entity_id: alarm_control_panel.alarm\n to: armed_away\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Alarm is Armed\n data:\n tag: alarm\n actions:\n - action: disarm_alarm\n title: Disable Alarm System\n destructive: true\n activationMode: background",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_disabled_ios_notification",
"automation": "- alias: Alarm - Disabled iOS Notification\n id: alarm_disabled_ios_notification\n triggers:\n - trigger: state\n entity_id: alarm_control_panel.alarm\n to: disarmed\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Alarm is Disarmed\n data:\n tag: alarm\n actions:\n - action: arm_alarm\n title: Arm Alarm System\n destructive: true\n activationMode: background",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "alarm_low_battery_notification",
"automation": "- alias: Alarm - Low Battery Notification\n id: alarm_low_battery_notification\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.siren_batt\n below: 30\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Alarm {{ trigger.to_state.attributes.friendly_name }} Low Battery",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Siren Battery",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.siren_batt",
"device_id": null
}
}
]
},
{
"id": "bedtime_locks",
"automation": "- alias: Bedtime - Locks\n id: bedtime_locks\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
}
]
},
{
"id": "bedtime_media",
"automation": "- alias: Bedtime - Media\n id: bedtime_media\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 30\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: power_off\n - action: select.select_option\n data:\n entity_id: select.USER1_s_office_tv_activities\n option: power_off\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: None\n - action: media_player.media_stop\n target:\n entity_id:\n - media_player.sonos_surround_sound\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_craft_room\n - media_player.sonos_fitness_room\n - media_player.sonos_backyard_patio\n - media_player.sonos_roam",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
},
{
"name": "Sonos Roam",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_roam",
"device_id": null
}
}
]
},
{
"id": "bedtime_blinds",
"automation": "- alias: Bedtime - Blinds\n id: bedtime_blinds\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.kitchen_blinds\n state: open\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: open\n - condition: state\n entity_id: cover.stairs_blinds\n state: open\n actions:\n - action: cover.close_cover\n target:\n entity_id:\n - cover.stairs_blinds\n - action: cover.close_cover\n target:\n entity_id:\n - cover.bedroom_closet_blinds\n - action: cover.close_cover\n target:\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
}
]
},
{
"id": "bedtime_helpers",
"automation": "- alias: Bedtime - Helpers\n id: bedtime_helpers\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.office_rainbow\n - input_boolean.livingroom_rainbow\n - input_boolean.bedroom_rainbow\n - input_boolean.front_porch_rainbow\n - input_boolean.pop_music\n - input_boolean.jazz_music\n - input_boolean.chill_music\n - input_boolean.electronic_music\n - input_boolean.classical_music\n - input_boolean.group_all_sonos\n - input_boolean.view_package_camera\n - input_boolean.package_camera_notification",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Bedroom rainbow input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_rainbow",
"device_id": null
}
},
{
"name": "Front porch rainbow input boolean",
"room": "front_porch",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.front_porch_rainbow",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Electronic music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.electronic_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
},
{
"name": "Group all Sonos input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.group_all_sonos",
"device_id": null
}
},
{
"name": "View package camera input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.view_package_camera",
"device_id": null
}
},
{
"name": "Package camera notification input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.package_camera_notification",
"device_id": null
}
}
]
},
{
"id": "bedtime_fans",
"automation": "- alias: Bedtime - Fans\n id: bedtime_fans\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 3\n seconds: 30\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: fan.turn_off\n target:\n entity_id:\n - fan.USER1s_office_fan\n - fan.living_room_east\n - fan.living_room_west",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "bedtime_switches",
"automation": "- alias: Bedtime - Switches\n id: bedtime_switches\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 4\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.USER1s_office_air_purifier\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - switch.fireplace\n - switch.fountain\n - switch.fountain_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "USER1 office air purifier switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_air_purifier",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
}
]
},
{
"id": "bedtime_lights",
"automation": "- alias: Bedtime - Lights\n id: bedtime_lights\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.interior_lights\n state: 'on'\n - condition: state\n entity_id: input_boolean.overnight_guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.interior_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - delay: 00:00:60\n - action: light.turn_off\n target:\n entity_id:\n - light.interior_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
}
]
},
{
"id": "bedtime_guest_mode",
"automation": "- alias: Bedtime - Guest Mode\n id: bedtime_guest_mode\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.overnight_guest_mode\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2s_bedroom_closet\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_off\n target:\n entity_id:\n - light.work_bench_light\n - action: light.turn_off\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_off\n target:\n entity_id:\n - light.craft_room_ceiling\n - action: light.turn_off\n target:\n entity_id:\n - light.fitness_room_ceiling\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lamp\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2_office_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Guest\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1s_office_desktop_clock\n - light.living_room_clock",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Bedroom lights group",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lights",
"device_id": null
}
},
{
"name": "USER2 bedroom closet light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.USER2s_bedroom_closet",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Craft room ceiling light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.craft_room_ceiling",
"device_id": null
}
},
{
"name": "Fitness room ceiling light",
"room": "fitness_room",
"type": "light",
"id": {
"entity_id": "light.fitness_room_ceiling",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "bedtime_thermostat",
"automation": "- alias: Bedtime - Thermostat\n id: bedtime_thermostat\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 4\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.overnight_guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: time\n after: '17:00:00'\n before: '23:00:00'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: sleep",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
}
]
},
{
"id": "bedtime_exterior_lights",
"automation": "- alias: Bedtime - Exterior Lights\n id: bedtime_exterior_lights\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 4\n seconds: 30\n conditions:\n - condition: time\n after: 00:00:00\n before: 06:00:00\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - delay: 00:00:60\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: switch.turn_off\n target:\n entity_id:\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - switch.fountain\n - switch.fountain_lights",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "bedtime_exterior_lights_holiday",
"automation": "- alias: Bedtime - Bedtime Exterior Lights Holiday\n id: bedtime_exterior_lights_holiday\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 4\n seconds: 30\n conditions:\n - condition: time\n after: 00:00:00\n before: 07:30:00\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light\n - action: light.turn_off\n target:\n entity_id: light.backyard_patio\n - action: light.turn_off\n target:\n entity_id: light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: switch.turn_off\n target:\n entity_id:\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - delay: 00:00:30\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "bedtime_garage_door",
"automation": "- alias: Bedtime - Garage Door\n id: bedtime_garage_door\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 30\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_interior\n data:\n flash: long\n - delay: 00:00:15\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "bedtime_USER1_office_blinds",
"automation": "- alias: Bedtime USER1's Office Blinds\n id: bedtime_USER1_office_blinds\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 30\n conditions:\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n actions:\n - action: cover.close_cover\n target:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
}
]
},
{
"id": "bedtime_USER1_office_blinds_portable_ac",
"automation": "- alias: Bedtime USER1's Office Blinds Portable AC\n id: bedtime_USER1_office_blinds_portable_ac\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 30\n conditions:\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n target:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER1s_office_blinds_right\n position: 13",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
}
]
},
{
"id": "bedtime_USER2_office_blinds",
"automation": "- alias: Bedtime USER2's Office Blinds\n id: bedtime_USER2_office_blinds\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 4\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n actions:\n - action: cover.close_cover\n target:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
}
]
},
{
"id": "bedtime_USER2_office_blinds_portable_ac",
"automation": "- alias: Bedtime USER2's Office Blinds Portable AC\n id: bedtime_USER2_office_blinds_portable_ac\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 4\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n actions:\n - action: cover.close_cover\n target:\n entity_id:\n - cover.USER2s_office_blinds_left\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2s_office_blinds_right\n position: 15",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER2 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_right",
"device_id": null
}
}
]
},
{
"id": "bedtime_reset_switch",
"automation": "- alias: Bedtime - Reset Switch\n id: bedtime_reset_switch\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.bedtime",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_when_sun_below_horizon",
"automation": "- alias: Blinds - Close USER2's Office Blinds when Sun Below Horizon\n id: blinds_close_USER2_office_blinds_when_sun_below_horizon\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_when_sun_below_horizon_portable_ac",
"automation": "- alias: Blinds - Close USER2's Office Blinds when Sun Below Horizon Portable AC\n id: blinds_close_USER2_office_blinds_when_sun_below_horizon_portable_ac\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2s_office_blinds_left\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2s_office_blinds_right\n position: 15",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER2 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_right",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_close_bedroom_closet_blinds_when_sun_below_horizon",
"automation": "- alias: Blinds - Close Bedroom Closet Blinds when Sun Below Horizon\n id: blinds_close_bedroom_closet_blinds_when_sun_below_horizon\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_close_upstairs_blinds_when_sun_below_horizon",
"automation": "- alias: Blinds - Close Upstairs Blinds when Sun Below Horizon\n id: blinds_close_upstairs_blinds_when_sun_below_horizon\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.stairs_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.stairs_blinds",
"config": [
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_close_kitchen_blinds_when_sun_below_horizon",
"automation": "- alias: Blinds - Close Kitchen Blinds when Sun Below Horizon\n id: blinds_close_kitchen_blinds_when_sun_below_horizon\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.kitchen_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_USER1_office_blinds_when_motion_detected",
"automation": "- alias: Blinds - USER1's Office Blinds When Motion Detected\n id: blinds_USER1_office_blinds_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: time\n after: 08:00:00\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closed\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n - condition: sun\n after: sunrise\n after_offset: 00:60:00\n before: sunset\n before_offset: -00:45:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_when_no_motion_detected",
"automation": "- alias: Blinds - Close USER1's Office Blinds When No Motion Detected\n id: blinds_close_USER1_office_blinds_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'off'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_when_no_motion_detected_portable_ac",
"automation": "- alias: Blinds - Close USER1's Office Blinds When No Motion Detected Portable AC\n id: blinds_close_USER1_office_blinds_when_no_motion_detected_portable_ac\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER1s_office_blinds_right\n position: 13",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_outside_temperature",
"automation": "- alias: Blinds - Close USER1's Office Blinds Outside Temperature\n id: blinds_close_USER1_office_blinds_outside_temperature\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 85\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 20\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'off'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_outside_temperature_portable_ac",
"automation": "- alias: Blinds - Close USER1's Office Blinds Outside Temperature Portable AC\n id: blinds_close_USER1_office_blinds_outside_temperature_portable_ac\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 85\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 20\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER1s_office_blinds_right\n position: 13",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_halfway_before_sunset",
"automation": "- alias: Blinds - Close USER1's Office Blinds Halfway Before Sunset\n id: blinds_close_USER1_office_blinds_halfway_before_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:50:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n actions:\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER1_s_office_blinds\n position: 50",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_before_sunset_window_closed",
"automation": "- alias: Blinds - Close USER1's Office Blinds Before Sunset Window Closed\n id: blinds_close_USER1_office_blinds_before_sunset_window_closed\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:32:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'off'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1_office_blinds_before_sunset_window_open",
"automation": "- alias: Blinds - Close USER1's Office Blinds Before Sunset Window Open\n id: blinds_close_USER1_office_blinds_before_sunset_window_open\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:32:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1s_office_blinds_when_sun_below_horizon_window_closed",
"automation": "- alias: Blinds - Close USER1's Office Blinds when Sun Below Horizon and Window Closed\n id: blinds_close_USER1s_office_blinds_when_sun_below_horizon_window_closed\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1s_office_blinds_partially_when_sun_below_horizon_and_window_open",
"automation": "- alias: Blinds - Close USER1's Office Blinds Partially when Sun Below Horizon and\n Window Open\n id: blinds_close_USER1s_office_blinds_partially_when_sun_below_horizon_and_window_open\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER1s_office_blinds_right\n position: 45",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER1s_office_blinds_partially_when_sun_below_horizon_and_window_open_portable_ac",
"automation": "- alias: Blinds - Close USER1's Office Blinds Partially when Sun Below Horizon Portable\n AC\n id: blinds_close_USER1s_office_blinds_partially_when_sun_below_horizon_and_window_open_portable_ac\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER1s_office_blinds_right\n position: 13",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "blinds_turn_off_USER1_office_lights_when_blinds_are_open",
"automation": "- alias: Blinds - Turn Off USER1's Office Lights when Blinds are Open\n id: blinds_turn_off_USER1_office_lights_when_blinds_are_open\n triggers:\n - trigger: state\n entity_id: cover.USER1_s_office_blinds\n from: closed\n to: opening\n - trigger: state\n entity_id: cover.USER1_s_office_blinds\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: light.USER1_office_lights\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id:\n - light.USER1_s_office_ceiling\n - action: light.turn_off\n entity_id:\n - light.office_lamp\n - action: light.turn_off\n entity_id:\n - light.USER1_office_desk_accent",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_s_office_ceiling",
"device_id": null
}
},
{
"name": "Office lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lamp",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
}
]
},
{
"id": "blinds_turn_off_USER1_office_desk_lamp_when_blinds_are_open",
"automation": "- alias: Blinds - Turn Off USER1's Office Desk Lamp when Blinds are Open\n id: blinds_turn_off_USER1_office_desk_lamp_when_blinds_are_open\n triggers:\n - trigger: state\n entity_id: cover.USER1_s_office_blinds\n from: closed\n to: opening\n - trigger: state\n entity_id: cover.USER1_s_office_blinds\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n actions:\n - action: light.turn_off\n entity_id:\n - light.USER1_office_desk_lamp\n - delay: 00:00:30\n - action: light.turn_off\n entity_id:\n - light.USER1_office_desk_lamp",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
}
]
},
{
"id": "blinds_stairs_blinds_open_when_motion_detected",
"automation": "- alias: Blinds - Open Stairs Blinds When Motion Detected\n id: blinds_stairs_blinds_open_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: state\n entity_id: cover.stairs_blinds\n state: closed\n - condition: sun\n after: sunrise\n after_offset: 00:60:00\n before: sunset\n before_offset: -00:45:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.stairs_blinds",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
}
]
},
{
"id": "blinds_close_stairs_blinds_when_no_motion_detected",
"automation": "- alias: Blinds - Close Stairs Blinds When No Motion Detected\n id: blinds_close_stairs_blinds_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'on'\n to: 'off'\n for:\n hours: 2\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER2s_office_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.upstairs_bathroom_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.stairs_motion\n state: 'off'\n - condition: state\n entity_id: cover.stairs_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.stairs_blinds",
"config": [
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Upstairs bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathroom_motion",
"device_id": null
}
}
]
},
{
"id": "blinds_close_stairs_blinds_outside_temperature",
"automation": "- alias: Blinds - Close Stairs Blinds Outside Temperature\n id: blinds_close_stairs_blinds_outside_temperature\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 85\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 20\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.stairs_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.stairs_blinds",
"config": [
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
}
]
},
{
"id": "blinds_turn_off_stair_lights_when_blinds_are_open",
"automation": "- alias: Blinds - Turn Off Stair Lights when Blinds are Open\n id: blinds_turn_off_stair_lights_when_blinds_are_open\n triggers:\n - trigger: state\n entity_id: cover.stairs_blinds\n from: closed\n to: opening\n - trigger: state\n entity_id: cover.stairs_blinds\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: light.stairs_light\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id:\n - light.stairs_light",
"config": [
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
}
]
},
{
"id": "blinds_close_upstairs_blinds_before_sunset",
"automation": "- alias: Blinds - Close Upstairs Blinds Before Sunset\n id: blinds_close_upstairs_blinds_before_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:45:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.stairs_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.stairs_blinds",
"config": [
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_USER2_office_blinds_when_motion_detected",
"automation": "- alias: Blinds - USER2's Office Blinds When Motion Detected\n id: blinds_USER2_office_blinds_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: sun\n before: sunset\n before_offset: -00:45:00\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: autumn\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: closed\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "blinds_USER2_office_blinds_when_motion_detected_winter__sunny",
"automation": "- alias: Blinds - Open USER2's Office Blinds When Motion Detected Winter Sunny\n id: blinds_USER2_office_blinds_when_motion_detected_winter__sunny\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: closed\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: autumn\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: state\n entity_id: weather.REDACTED\n state: sunny\n - condition: time\n before: '11:30:00'\n - condition: sun\n before: sunset\n before_offset: -00:45:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2_s_office_blinds\n position: 40",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
}
]
},
{
"id": "blinds_USER2_office_blinds_when_motion_detected_winter__early",
"automation": "- alias: Blinds - Open USER2's Office Blinds When Motion Detected Winter Early\n id: blinds_USER2_office_blinds_when_motion_detected_winter__early\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: closed\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: autumn\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: time\n before: '11:30:00'\n - condition: sun\n before: sunset\n before_offset: -00:45:00\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: sunny\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
}
]
},
{
"id": "blinds_USER2_office_blinds_when_motion_detected_winter",
"automation": "- alias: Blinds - Open USER2's Office Blinds When Motion Detected Winter\n id: blinds_USER2_office_blinds_when_motion_detected_winter\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: closed\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n attribute: current_position\n state: 40\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: autumn\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: time\n after: '11:31:00'\n - condition: sun\n before: sunset\n before_offset: -00:45:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_when_no_motion_detected",
"automation": "- alias: Blinds - Close USER2's Office Blinds When No Motion Detected\n id: blinds_close_USER2_office_blinds_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_when_no_motion_detected_portable_ac",
"automation": "- alias: Blinds - Close USER2's Office Blinds When No Motion Detected Portable AC\n id: blinds_close_USER2_office_blinds_when_no_motion_detected_portable_ac\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2s_office_blinds_left\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2s_office_blinds_right\n position: 15",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER2 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_right",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_outside_temperature",
"automation": "- alias: Blinds - Close USER2's Office Blinds Outside Temperature\n id: blinds_close_USER2_office_blinds_outside_temperature\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 85\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 20\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_outside_temperature_portable_ac",
"automation": "- alias: Blinds - Close USER2's Office Blinds Outside Temperature Portable AC\n id: blinds_close_USER2_office_blinds_outside_temperature_portable_ac\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 85\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 20\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2s_office_blinds_left\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2s_office_blinds_right\n position: 15",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER2 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_right",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_before_sunset",
"automation": "- alias: Blinds - Close USER2's Office Blinds Before Sunset\n id: blinds_close_USER2_office_blinds_before_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:45:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
}
]
},
{
"id": "blinds_close_USER2_office_blinds_before_sunset_portable_ac",
"automation": "- alias: Blinds - Close USER2's Office Blinds Before Sunset Portable AC\n id: blinds_close_USER2_office_blinds_before_sunset_portable_ac\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:45:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.USER2_s_office_blinds\n state: open\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2s_office_blinds_left\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2s_office_blinds_right\n position: 15",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER2 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_right",
"device_id": null
}
}
]
},
{
"id": "blinds_open_bedroom_blinds_at_10a_weekdays",
"automation": "- alias: Blinds - Open Bedroom Blinds at 10a Weekdays\n id: blinds_open_bedroom_blinds_at_10a_weekdays\n triggers:\n - trigger: time\n at: '10:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: closed\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 95\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
}
]
},
{
"id": "blinds_close_bedroom_blinds_before_sunset",
"automation": "- alias: Blinds - Close Bedroom Blinds Before Sunset\n id: blinds_close_bedroom_blinds_before_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:45:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_turn_off_bedroom_lights_when_blinds_are_open",
"automation": "- alias: Blinds - Turn Off Bedroom Lights when Blinds are Open\n id: blinds_turn_off_bedroom_lights_when_blinds_are_open\n triggers:\n - trigger: state\n entity_id: cover.bedroom_closet_blinds\n from: closed\n to: opening\n - trigger: state\n entity_id: cover.bedroom_closet_blinds\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: light.bedroom_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: not\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n attribute: effect\n state: Plantgrowth\n actions:\n - action: light.turn_off\n entity_id:\n - light.bedroom_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Bedroom lights group",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lights",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
}
]
},
{
"id": "blinds_open_bedroom_blinds_at_9a_when_away",
"automation": "- alias: Blinds - Open Bedroom Blinds at 9a When Away\n id: blinds_open_bedroom_blinds_at_9a_when_away\n triggers:\n - trigger: time\n at: 09:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 85\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.bedroom_closet_blinds_center\n - cover.bedroom_closet_blinds_left\n position: 40",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Bedroom closet blinds center",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds_center",
"device_id": null
}
},
{
"name": "Bedroom closet blinds left",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds_left",
"device_id": null
}
}
]
},
{
"id": "blinds_close_bedroom_blinds_at_2p_when_away",
"automation": "- alias: Blinds - Close Bedroom Blinds at 2p When Away\n id: blinds_close_bedroom_blinds_at_2p_when_away\n triggers:\n - trigger: time\n at: '14:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds_center\n - cover.bedroom_closet_blinds_left",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Bedroom closet blinds center",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds_center",
"device_id": null
}
},
{
"name": "Bedroom closet blinds left",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds_left",
"device_id": null
}
}
]
},
{
"id": "blinds_open_kitcen_south_blind_at_sunrise",
"automation": "- alias: Blinds - Open Kitchen South Blind at Sunrise\n id: blinds_open_kitcen_south_blind_at_sunrise\n triggers:\n - trigger: sun\n event: sunrise\n offset: 00:60:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: cover.kitchen_blinds_south\n state: closed\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 95\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.kitchen_blinds_south",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "Kitchen blinds south",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_south",
"device_id": null
}
}
]
},
{
"id": "blinds_open_kitcen_blinds_when_home",
"automation": "- alias: Blinds - Open Kitchen Blinds when Home\n id: blinds_open_kitcen_blinds_when_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: sun\n before: sunset\n before_offset: -01:31:00\n - condition: state\n entity_id: cover.kitchen_blinds\n state: closed\n - condition: state\n entity_id: cover.kitchen_blinds_south\n state: closed\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 95\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.kitchen_blinds_south\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.kitchen_blinds_west\n position: 20",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "Kitchen blinds south",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_south",
"device_id": null
}
},
{
"name": "Kitchen blinds west",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_west",
"device_id": null
}
}
]
},
{
"id": "blinds_open_kitchen_west_blind_at_9a",
"automation": "- alias: Blinds - Open Kitchen West Blind at 9a\n id: blinds_open_kitchen_west_blind_at_9a\n triggers:\n - trigger: time\n at: 09:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: cover.kitchen_blinds_west\n state: closed\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 90\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 20\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 95\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 20\n actions:\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.kitchen_blinds_west\n position: 20",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "Kitchen blinds west",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_west",
"device_id": null
}
}
]
},
{
"id": "blinds_close_kitchen_west_blind_before_sunset",
"automation": "- alias: Blinds - Close Kitchen West Blind Before Sunset\n id: blinds_close_kitchen_west_blind_before_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -01:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.kitchen_blinds_west\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.kitchen_blinds_west",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Kitchen blinds west",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_west",
"device_id": null
}
}
]
},
{
"id": "blinds_close_kitchen_south_blind_before_sunset",
"automation": "- alias: Blinds - Close Kitchen South Blind Before Sunset\n id: blinds_close_kitchen_south_blind_before_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_blinds\n state: 'off'\n - condition: state\n entity_id: cover.kitchen_blinds_south\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.kitchen_blinds_south",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Kitchen blinds south",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_south",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_open_pico_remote",
"automation": "- alias: Blinds - Kitchen Blinds Open Pico Remote\n id: blinds_kitchen_blinds_open_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 2\n action: press\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_close_pico_remote",
"automation": "- alias: Blinds - Kitchen Blinds Close Pico Remote\n id: blinds_kitchen_blinds_close_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 4\n action: press\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_raise_pico_remote_press",
"automation": "- alias: Blinds - Kitchen Raise Blinds Pico Remote Press\n id: blinds_kitchen_blinds_raise_pico_remote_press\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 5\n action: press\n actions:\n - action: cover.open_cover\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_raise_pico_remote_release",
"automation": "- alias: Blinds - Kitchen Raise Blinds Pico Remote Release\n id: blinds_kitchen_blinds_raise_pico_remote_release\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 5\n actions: release\n actions:\n - action: cover.stop_cover\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_lower_pico_remote_press",
"automation": "- alias: Blinds - Kitchen Lower Blinds Pico Remote Press\n id: blinds_kitchen_blinds_lower_pico_remote_press\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 6\n action: press\n actions:\n - action: cover.close_cover\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_lower_pico_remote_release",
"automation": "- alias: Blinds - Kitchen Lower Blinds Pico Remote Release\n id: blinds_kitchen_blinds_lower_pico_remote_release\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 6\n actions: release\n actions:\n - action: cover.stop_cover\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_kitchen_blinds_reset_pico_remote",
"automation": "- alias: Blinds - Kitchen Blinds Reset Pico Remote\n id: blinds_kitchen_blinds_reset_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91735138\n button_number: 3\n action: press\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.kitchen_blinds_south\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.kitchen_blinds_west\n position: 20",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Kitchen blinds south",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_south",
"device_id": null
}
},
{
"name": "Kitchen blinds west",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds_west",
"device_id": null
}
}
]
},
{
"id": "blinds_bedroom_closet_open_pico_remote",
"automation": "- alias: Blinds - Bedroom Closet Open Pico Remote\n id: blinds_bedroom_closet_open_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 92034753\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: closed\n actions:\n - action: cover.open_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_bedroom_closet_close_pico_remote",
"automation": "- alias: Blinds - Bedroom Closet Close Pico Remote\n id: blinds_bedroom_closet_close_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 92034753\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_fix_stuck_in_opening_state",
"automation": "- alias: Blinds - Fix Stuck in Opening State\n id: blinds_fix_stuck_in_opening_state\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - cover.kitchen_blinds\n - cover.bedroom_closet_blinds\n - cover.USER1_s_office_blinds\n - cover.USER2_s_office_blinds\n - cover.stairs_blinds\n to: opening\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: cover.stop_cover\n target:\n entity_id: '{{ trigger.entity_id }}'",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_fix_stuck_in_closing_state",
"automation": "- alias: Blinds - Fix Stuck in Closing State\n id: blinds_fix_stuck_in_closing_state\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - cover.kitchen_blinds\n - cover.bedroom_closet_blinds\n - cover.USER1_s_office_blinds\n - cover.USER2_s_office_blinds\n - cover.stairs_blinds\n to: closing\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: cover.stop_cover\n target:\n entity_id: '{{ trigger.entity_id }}'",
"config": [
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
}
]
},
{
"id": "blinds_low_battery_notification",
"automation": "- alias: Blinds - Low Battery Notification\n id: blinds_low_battery_notification\n mode: parallel\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.USER1s_office_blinds_center\n - sensor.USER1s_office_blinds_left\n - sensor.USER1s_office_blinds_right\n - sensor.bedroom_closet_blinds_center\n - sensor.bedroom_closet_blinds_left\n - sensor.bedroom_closet_blinds_right\n - sensor.USER2s_office_blinds_left\n - sensor.USER2s_office_blinds_right\n - sensor.stairs_blinds_left\n - sensor.stairs_blinds_right\n - sensor.kitchen_blinds_south\n - sensor.kitchen_blinds_west\n below: 30\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Low Battery'",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Bedroom Closet Blinds Center",
"room": "Bedroom Closet",
"type": "sensor",
"id": {
"entity_id": "sensor.bedroom_closet_blinds_center",
"device_id": null
}
},
{
"name": "Bedroom Closet Blinds Left",
"room": "Bedroom Closet",
"type": "sensor",
"id": {
"entity_id": "sensor.bedroom_closet_blinds_left",
"device_id": null
}
},
{
"name": "Bedroom Closet Blinds Right",
"room": "Bedroom Closet",
"type": "sensor",
"id": {
"entity_id": "sensor.bedroom_closet_blinds_right",
"device_id": null
}
},
{
"name": "Kitchen Blinds South",
"room": "Kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_blinds_south",
"device_id": null
}
},
{
"name": "Kitchen Blinds West",
"room": "Kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_blinds_west",
"device_id": null
}
},
{
"name": "Stairs Blinds Left",
"room": "Stairs",
"type": "sensor",
"id": {
"entity_id": "sensor.stairs_blinds_left",
"device_id": null
}
},
{
"name": "Stairs Blinds Right",
"room": "Stairs",
"type": "sensor",
"id": {
"entity_id": "sensor.stairs_blinds_right",
"device_id": null
}
}
]
},
{
"id": "bug_zapper_turn_on_bug_zapper_at_sunset",
"automation": "- alias: Bug Zapper - Turn On Bug Zapper at Sunset\n id: bug_zapper_turn_on_bug_zapper_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:30:00\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: switch.bug_zapper\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.bug_zapper",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
}
]
},
{
"id": "bug_zapper_turn_off_bug_zapper_at_sunrise",
"automation": "- alias: Bug Zapper - Turn Off Bug Zapper at Sunrise\n id: bug_zapper_turn_off_bug_zapper_at_sunrise\n triggers:\n - trigger: sun\n event: sunrise\n offset: +00:15:00\n conditions:\n - condition: state\n entity_id: switch.bug_zapper\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.bug_zapper",
"config": [
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
}
]
},
{
"id": "bug_zapper_turn_off_bug_zapper_in_the_rain",
"automation": "- alias: Bug Zapper - Turn Off Bug Zapper in the Rain\n id: bug_zapper_turn_off_bug_zapper_in_the_rain\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n to: rainy\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: state\n entity_id: weather.REDACTED\n to: lightning-rainy\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: switch.bug_zapper\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.bug_zapper",
"config": [
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
}
]
},
{
"id": "bug_zapper_turn_on_bug_zapper_after_rain_stops",
"automation": "- alias: Bug Zapper - Turn On Bug Zapper After Rain Stops\n id: bug_zapper_turn_on_bug_zapper_after_rain_stops\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n from: rainy\n conditions:\n - condition: state\n entity_id: switch.bug_zapper\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.bug_zapper",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
}
]
},
{
"id": "bug_zapper_turn_bug_zapper_when_returning_home",
"automation": "- alias: Bug Zapper - Turn On Bug Zapper when Returning Home\n id: bug_zapper_turn_bug_zapper_when_returning_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: switch.bug_zapper\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.bug_zapper",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
}
]
},
{
"id": "bug_zapper_turn_on_bug_zapper_when_returning_home_before_sunset",
"automation": "- alias: Bug Zapper - Turn On Bug Zapper when Returning Home before Sunset\n id: bug_zapper_turn_on_bug_zapper_when_returning_home_before_sunset\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: switch.bug_zapper\n state: 'off'\n - condition: sun\n after: sunset\n after_offset: -00:30:00\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.bug_zapper",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
}
]
},
{
"id": "camera_package_camera_on",
"automation": "- alias: Camera - Package Camera On\n id: camera_package_camera_on\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_package_detected\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.view_package_camera\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.view_package_camera",
"config": [
{
"name": "View package camera input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.view_package_camera",
"device_id": null
}
},
{
"name": "Front door camera package detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_package_detected",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
}
]
},
{
"id": "camera_package_camera_off",
"automation": "- alias: Camera - Package Camera Off\n id: camera_package_camera_off\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.view_package_camera\n state: 'on'\n - condition: state\n entity_id: input_boolean.package_camera_notification\n state: 'on'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.view_package_camera\n - input_boolean.package_camera_notification",
"config": [
{
"name": "View package camera input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.view_package_camera",
"device_id": null
}
},
{
"name": "Package camera notification input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.package_camera_notification",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
}
]
},
{
"id": "camera_package_camera_off_at_midnight",
"automation": "- alias: Camera - Package Camera Off at Midnight\n id: camera_package_camera_off_at_midnight\n triggers:\n - trigger: time\n at: '23:59:00'\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.view_package_camera\n state: 'on'\n - condition: state\n entity_id: input_boolean.package_camera_notification\n state: 'on'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.view_package_camera\n - input_boolean.package_camera_notification",
"config": [
{
"name": "View package camera input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.view_package_camera",
"device_id": null
}
},
{
"name": "Package camera notification input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.package_camera_notification",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_front_porch_lights_when_rung",
"automation": "- alias: Camera - Turn On Front Porch Lights when Rung\n id: camera_turn_on_front_porch_lights_when_rung\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 100",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
}
]
},
{
"id": "camera_reset_front_porch_lights_brightness_after_ring",
"automation": "- alias: Camera - Reset Front Porch Lights Brightness After Ring\n id: camera_reset_front_porch_lights_brightness_after_ring\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 50\n transition: 900",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_front_porch_lights_when_motion_detected",
"automation": "- alias: Camera - Turn On Front Porch Lights when Motion Detected\n id: camera_turn_on_front_porch_lights_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_person_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.front_porch_person_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.front_yard_camera_person_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 100",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door camera person detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_person_detected",
"device_id": null
}
},
{
"name": "Front porch person detected",
"room": "front_porch",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_porch_person_detected",
"device_id": null
}
},
{
"name": "Front yard camera person detected",
"room": "front_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
}
]
},
{
"id": "camera_reset_front_porch_lights_brightness_after_motion_detected",
"automation": "- alias: Camera - Reset Front Porch Lights Brightness After Motion Detected\n id: camera_reset_front_porch_lights_brightness_after_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.front_porch_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.front_yard_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: state\n entity_id: light.front_porch\n state: 'on'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 50\n transition: 900",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door camera person detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_person_detected",
"device_id": null
}
},
{
"name": "Front porch person detected",
"room": "front_porch",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_porch_person_detected",
"device_id": null
}
},
{
"name": "Front yard camera person detected",
"room": "front_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_lights_when_ring_and_away",
"automation": "- alias: Camera - Turn On Lights when Ring and Away\n id: camera_turn_on_lights_when_ring_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
}
]
},
{
"id": "camera_turn_off_lights_after_ring_and_away",
"automation": "- alias: Camera - Turn Off Lights After Ring and Away\n id: camera_turn_off_lights_after_ring_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 16\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights\n data:\n transition: 900\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_sink\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 1\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 1",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_lights_when_motion_detected_and_away",
"automation": "- alias: Camera - Turn On Lights when Motion Detected and Away\n id: camera_turn_on_lights_when_motion_detected_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_person_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.front_porch_person_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.front_yard_camera_person_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Front door camera person detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_person_detected",
"device_id": null
}
},
{
"name": "Front porch person detected",
"room": "front_porch",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_porch_person_detected",
"device_id": null
}
},
{
"name": "Front yard camera person detected",
"room": "front_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
}
]
},
{
"id": "camera_turn_off_lights_after_motion_detected_and_away",
"automation": "- alias: Camera - Turn Off Lights After Motion Detected and Away\n id: camera_turn_off_lights_after_motion_detected_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 16\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.front_porch_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 16\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.front_yard_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 16\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights\n data:\n transition: 900\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_sink\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 1\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 1",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Front door camera person detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_person_detected",
"device_id": null
}
},
{
"name": "Front porch person detected",
"room": "front_porch",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_porch_person_detected",
"device_id": null
}
},
{
"name": "Front yard camera person detected",
"room": "front_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_backyard_lights_when_motion_detected_and_away",
"automation": "- alias: Camera - Turn On Backyard Lights when Motion Detected and Away\n id: camera_turn_on_backyard_lights_when_motion_detected_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.backyard_gate_camera_person_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.backyard_camera_person_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.side_yard_camera_person_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: light.back_door\n state: 'off'\n - condition: state\n entity_id: light.backyard_deck\n state: 'off'\n - condition: state\n entity_id: light.backyard_patio\n state: 'off'\n - condition: state\n entity_id: switch.backyard_lighting\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.backyard_patio_lighting\n - switch.lower_backyard_lighting\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_patio\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_deck\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Backyard gate camera person detected",
"room": "backyard_gate",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_gate_camera_person_detected",
"device_id": null
}
},
{
"name": "Backyard camera person detected",
"room": "backyard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_camera_person_detected",
"device_id": null
}
},
{
"name": "Side yard camera person detected",
"room": "side_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.side_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "camera_reset_backyard_lights_after_motion_detected_and_away",
"automation": "- alias: Camera - Reset Backyard Lights After Motion Detected and Away\n id: camera_reset_backyard_lights_after_motion_detected_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.backyard_gate_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.backyard_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.side_yard_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: time\n before: '23:59:00'\n - condition: or\n conditions:\n - condition: state\n entity_id: light.back_door\n state: 'on'\n - condition: state\n entity_id: light.backyard_deck\n state: 'on'\n - condition: state\n entity_id: light.backyard_patio\n state: 'on'\n - condition: state\n entity_id: switch.backyard_lighting\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.backyard_patio_lighting\n - switch.lower_backyard_lighting\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Backyard gate camera person detected",
"room": "backyard_gate",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_gate_camera_person_detected",
"device_id": null
}
},
{
"name": "Backyard camera person detected",
"room": "backyard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_camera_person_detected",
"device_id": null
}
},
{
"name": "Side yard camera person detected",
"room": "side_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.side_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "camera_turn_off_backyard_lights_after_motion_detected_and_away",
"automation": "- alias: Camera - Turn Off Backyard Lights After Motion Detected and Away\n id: camera_turn_off_backyard_lights_after_motion_detected_and_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.backyard_gate_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.backyard_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.side_yard_camera_person_detected\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: time\n after: 00:00:00\n before: 05:00:00\n - condition: or\n conditions:\n - condition: state\n entity_id: light.back_door\n state: 'on'\n - condition: state\n entity_id: light.backyard_deck\n state: 'on'\n - condition: state\n entity_id: light.backyard_patio\n state: 'on'\n - condition: state\n entity_id: switch.backyard_lighting\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.backyard_patio_lighting\n - switch.lower_backyard_lighting\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Backyard gate camera person detected",
"room": "backyard_gate",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_gate_camera_person_detected",
"device_id": null
}
},
{
"name": "Backyard camera person detected",
"room": "backyard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_camera_person_detected",
"device_id": null
}
},
{
"name": "Side yard camera person detected",
"room": "side_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.side_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "camera_household_away_turn_off_privacy_mode",
"automation": "- alias: Camera - Household Away Turn Off Privacy Mode\n id: camera_household_away_turn_off_privacy_mode\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.secondary_switch_basement_camera_poe\n - delay: 00:02:00\n - action: switch.turn_off\n target:\n entity_id:\n - switch.basement_camera_privacy_mode\n - switch.living_room_camera_privacy_mode\n - switch.kitchen_camera_privacy_mode\n - switch.USER1_office_camera_privacy_mode",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Basement camera privacy mode switch",
"room": "basement",
"type": "switch",
"id": {
"entity_id": "switch.basement_camera_privacy_mode",
"device_id": null
}
},
{
"name": "Living room camera privacy mode switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.living_room_camera_privacy_mode",
"device_id": null
}
},
{
"name": "Kitchen camera privacy mode switch",
"room": "kitchen",
"type": "switch",
"id": {
"entity_id": "switch.kitchen_camera_privacy_mode",
"device_id": null
}
},
{
"name": "USER1 office camera privacy mode switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1_office_camera_privacy_mode",
"device_id": null
}
},
{
"name": "Secondary switch basement camera POE",
"room": "basement",
"type": "switch",
"id": {
"entity_id": "switch.secondary_switch_basement_camera_poe",
"device_id": null
}
}
]
},
{
"id": "camera_household_home_turn_on_privacy_mode",
"automation": "- alias: Camera - Household Away Turn On Privacy Mode\n id: camera_household_home_turn_on_privacy_mode\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.basement_camera_privacy_mode\n - switch.living_room_camera_privacy_mode\n - switch.kitchen_camera_privacy_mode\n - switch.USER1_office_camera_privacy_mode\n - delay: 00:05:00\n - action: switch.turn_off\n target:\n entity_id:\n - switch.secondary_switch_basement_camera_poe",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Basement camera privacy mode switch",
"room": "basement",
"type": "switch",
"id": {
"entity_id": "switch.basement_camera_privacy_mode",
"device_id": null
}
},
{
"name": "Living room camera privacy mode switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.living_room_camera_privacy_mode",
"device_id": null
}
},
{
"name": "Kitchen camera privacy mode switch",
"room": "kitchen",
"type": "switch",
"id": {
"entity_id": "switch.kitchen_camera_privacy_mode",
"device_id": null
}
},
{
"name": "USER1 office camera privacy mode switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1_office_camera_privacy_mode",
"device_id": null
}
},
{
"name": "Secondary switch basement camera POE",
"room": "basement",
"type": "switch",
"id": {
"entity_id": "switch.secondary_switch_basement_camera_poe",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_front_yard_infrared_after_sunset",
"automation": "- alias: Camera - Turn on Front Yard Infrared after Sunset\n id: camera_turn_on_front_yard_infrared_after_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: 00:17:00\n conditions:\n - condition: state\n entity_id: binary_sensor.front_yard_camera_is_dark\n state: 'off'\n - condition: state\n entity_id: select.front_yard_camera_infrared_mode\n state: Auto\n actions:\n - action: select.select_option\n data:\n entity_id: select.front_yard_camera_infrared_mode\n option: Always Enable",
"config": [
{
"name": "Front yard camera is dark binary sensor",
"room": "front_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_camera_is_dark",
"device_id": null
}
},
{
"name": "Front yard camera infrared mode select",
"room": "front_yard",
"type": "select",
"id": {
"entity_id": "select.front_yard_camera_infrared_mode",
"device_id": null
}
}
]
},
{
"id": "camera_reset_front_yard_infrared_at_4a",
"automation": "- alias: Camera - Reset Front Yard Infrared at 4a\n id: camera_reset_front_yard_infrared_at_4a\n triggers:\n - trigger: time\n at: 04:00:00\n conditions:\n - condition: state\n entity_id: select.front_yard_camera_infrared_mode\n state: Always Enable\n actions:\n - action: select.select_option\n data:\n entity_id: select.front_yard_camera_infrared_mode\n option: Auto",
"config": [
{
"name": "Front yard camera infrared mode select",
"room": "front_yard",
"type": "select",
"id": {
"entity_id": "select.front_yard_camera_infrared_mode",
"device_id": null
}
}
]
},
{
"id": "camera_turn_on_front_porch_infrared_after_sunset",
"automation": "- alias: Camera - Turn on Front Porch Infrared after Sunset\n id: camera_turn_on_front_porch_infrared_after_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: 00:17:00\n conditions:\n - condition: state\n entity_id: binary_sensor.front_porch_camera_is_dark\n state: 'off'\n - condition: state\n entity_id: select.front_porch_camera_infrared_mode\n state: Auto\n actions:\n - action: select.select_option\n data:\n entity_id: select.front_porch_camera_infrared_mode\n option: Always Enable",
"config": [
{
"name": "Front porch camera is dark binary sensor",
"room": "front_porch",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_porch_camera_is_dark",
"device_id": null
}
},
{
"name": "Front porch camera infrared mode select",
"room": "front_porch",
"type": "select",
"id": {
"entity_id": "select.front_porch_camera_infrared_mode",
"device_id": null
}
}
]
},
{
"id": "camera_reset_front_porch_infrared_at_4a",
"automation": "- alias: Camera - Reset Front Porch Infrared at 4a\n id: camera_reset_front_porch_infrared_at_4a\n triggers:\n - trigger: time\n at: 04:00:00\n conditions:\n - condition: state\n entity_id: select.front_porch_camera_infrared_mode\n state: Always Enable\n actions:\n - action: select.select_option\n data:\n entity_id: select.front_porch_camera_infrared_mode\n option: Auto",
"config": [
{
"name": "Front porch camera infrared mode select",
"room": "front_porch",
"type": "select",
"id": {
"entity_id": "select.front_porch_camera_infrared_mode",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_in_front_door",
"automation": "- alias: Camera - Person Detected in Front Door\n id: camera_person_detected_in_front_door\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected at Front Door!\n data:\n tag: front_door_person_camera\n entity_id: camera.front_door\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front door camera person detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Front door camera",
"room": "front_door",
"type": "camera",
"id": {
"entity_id": "camera.front_door",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_in_front_porch",
"automation": "- alias: Camera - Person Detected in Front Porch\n id: camera_person_detected_in_front_porch\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_porch_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected on Front Porch!\n data:\n tag: front_porch_person_camera\n entity_id: camera.front_porch\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "Front porch person detected",
"room": "front_porch",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_porch_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_in_front_yard",
"automation": "- alias: Camera - Person Detected in Front Yard\n id: camera_person_detected_in_front_yard\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_yard_camera_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected in Front Yard!\n data:\n tag: front_yard_person_camera\n entity_id: camera.front_yard\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front yard camera person detected",
"room": "front_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Front yard camera",
"room": "front_yard",
"type": "camera",
"id": {
"entity_id": "camera.front_yard",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_in_backyard",
"automation": "- alias: Camera - Person Detected in Backyard\n id: camera_person_detected_in_backyard\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.backyard_camera_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected in Backyard!\n data:\n tag: backyard_person_camera\n entity_id: camera.backyard\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Backyard camera person detected",
"room": "backyard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Backyard camera",
"room": "backyard",
"type": "camera",
"id": {
"entity_id": "camera.backyard",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_at_backyard_gate",
"automation": "- alias: Camera - Person Detected at Backyard Gate\n id: camera_person_detected_at_backyard_gate\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.backyard_gate_camera_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected at Backyard Gate!\n data:\n tag: backyard_gate_person_camera\n entity_id: camera.backyard_gate\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Backyard gate camera person detected",
"room": "backyard_gate",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.backyard_gate_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Backyard camera",
"room": "backyard",
"type": "camera",
"id": {
"entity_id": "camera.backyard",
"device_id": null
}
},
{
"name": "Backyard gate camera",
"room": "backyard_gate",
"type": "camera",
"id": {
"entity_id": "camera.backyard_gate",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_in_side_yard",
"automation": "- alias: Camera - Person Detected in Side Yard\n id: camera_person_detected_in_side_yard\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.side_yard_camera_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected in Side Yard!\n data:\n tag: side_yard_person_camera\n entity_id: camera.side_yard\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Side yard camera person detected",
"room": "side_yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.side_yard_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Side yard camera",
"room": "side_yard",
"type": "camera",
"id": {
"entity_id": "camera.side_yard",
"device_id": null
}
}
]
},
{
"id": "camera_person_detected_in_garage",
"automation": "- alias: Camera - Person Detected in Garage\n id: camera_person_detected_in_garage\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.garage_camera_person_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Person Detected in Garage!\n data:\n tag: garage_person_camera\n entity_id: camera.garage\n - delay: 00:05:00",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Garage camera",
"room": "garage",
"type": "camera",
"id": {
"entity_id": "camera.garage",
"device_id": null
}
},
{
"name": "Garage camera person detected",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_camera_person_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "camera_doorbell_ios_USER1_notification",
"automation": "- alias: Camera - Doorbell iOS USER1 Notification\n id: camera_doorbell_ios_USER1_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Someone is at the Front Door\n data:\n tag: doorbell\n entity_id: camera.front_door\n actions:\n - action: unlock_front_door\n title: Unlock Front Door\n destructive: true\n activationMode: background",
"config": [
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Front door camera",
"room": "front_door",
"type": "camera",
"id": {
"entity_id": "camera.front_door",
"device_id": null
}
}
]
},
{
"id": "camera_doorbell_ios_USER2_notification",
"automation": "- alias: Camera - Doorbell iOS USER2 Notification\n id: camera_doorbell_ios_USER2_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER2_devices\n data:\n message: Someone is at the Front Door\n data:\n tag: doorbell\n entity_id:\n - camera.front_door\n actions:\n - action: unlock_front_door\n title: Unlock Front Door\n destructive: true\n activationMode: background",
"config": [
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
},
{
"name": "Front door camera",
"room": "front_door",
"type": "camera",
"id": {
"entity_id": "camera.front_door",
"device_id": null
}
}
]
},
{
"id": "camera_package_ios_notification",
"automation": "- alias: Camera - Package iOS Notification\n id: camera_package_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_package_detected\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: input_boolean.package_camera_notification\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Package Detected on Front Porch\n data:\n tag: package\n entity_id: camera.front_door\n - action: notify.USER2_devices\n data:\n message: Package Detected on Front Porch\n data:\n tag: package\n entity_id: camera.front_door\n - delay: 00:00:30\n - action: homeassistant.turn_on\n entity_id:\n - input_boolean.package_camera_notification",
"config": [
{
"name": "Package camera notification input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.package_camera_notification",
"device_id": null
}
},
{
"name": "Front door camera package detected",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_package_detected",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
},
{
"name": "Front door camera",
"room": "front_door",
"type": "camera",
"id": {
"entity_id": "camera.front_door",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Exterior Christmas Lights at Sunset",
"automation": "- alias: Christmas - Turn on Exterior Christmas Lights at Sunset\n trigger:\n - platform: sun\n event: sunset\n offset: -00:15:00\n condition:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n - condition: state\n entity_id: sensor.holidays_calendar\n state: New Year's Eve\n action:\n - service: switch.turn_on\n entity_id:\n - switch.exterior_christmas_lights",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Exterior Christmas lights switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.exterior_christmas_lights",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn Off Exterior Christmas Lights at 2a",
"automation": "- alias: Christmas - Turn Off Exterior Christmas Lights at 2a\n trigger:\n - platform: time\n at: 02:00:00\n action:\n - service: switch.turn_off\n entity_id:\n - switch.exterior_christmas_lights",
"config": [
{
"name": "Exterior Christmas lights switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.exterior_christmas_lights",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn Off Exterior Christmas Lights at Sunrise",
"automation": "- alias: Christmas - Turn Off Exterior Christmas Lights at Sunrise\n trigger:\n - platform: sun\n event: sunrise\n offset: +00:15:00\n action:\n - service: switch.turn_off\n entity_id:\n - switch.exterior_christmas_lights",
"config": [
{
"name": "Exterior Christmas lights switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.exterior_christmas_lights",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn off Christmas Lights after 2a",
"automation": "- alias: Christmas - Turn off Christmas Lights after 2a\n trigger:\n - platform: state\n entity_id: switch.exterior_christmas_lights\n from: 'off'\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n condition:\n - condition: time\n after: 02:00\n before: 07:30\n - condition: state\n entity_id: group.household\n state: home\n action:\n - service: switch.turn_off\n entity_id:\n - switch.exterior_christmas_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Exterior Christmas lights switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.exterior_christmas_lights",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Christmas Lights when Home",
"automation": "- alias: Christmas - Turn on Christmas Lights when Home\n trigger:\n - platform: state\n entity_id: group.household\n from: not_home\n to: home\n condition:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: switch.exterior_christmas_lights\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n - condition: state\n entity_id: sensor.holidays_calendar\n state: New Year's Eve\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.exterior_christmas_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Exterior Christmas lights switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.exterior_christmas_lights",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
}
]
},
{
"id": "Christmas - Tree Away Mode",
"automation": "- alias: Christmas - Tree Away Mode\n trigger:\n - platform: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n condition:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "Christmas - Tree Home Mode",
"automation": "- alias: Christmas - Tree Home Mode\n trigger:\n - platform: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 45\n condition:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Christmas Tree at Sunset",
"automation": "- alias: Christmas - Turn on Christmas Tree at Sunset\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_interior_lights_sunset\n state: 'off'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable interior lights sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_interior_lights_sunset",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Christmas Tree when Sun Below Horizon",
"automation": "- alias: Christmas - Turn on Christmas Tree when Sun Below Horizon\n trigger:\n - platform: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n condition:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_interior_lights_sunset\n state: 'off'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable interior lights sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_interior_lights_sunset",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Tree when USER2 Home",
"automation": "- alias: Christmas - Turn on Tree when USER2 Home\n trigger:\n - platform: time\n at: 08:00:00\n condition:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn off Tree when USER2 Leaves",
"automation": "- alias: Christmas - Turn off Tree when USER2 Leaves\n trigger:\n - platform: state\n entity_id: person.USER2\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 5\n seconds: 0\n condition:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: time\n after: 05:00\n before: '15:00'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Christmas Tree when USER2 Arrives Home",
"automation": "- alias: Christmas - Turn on Christmas Tree when USER2 Arrives Home\n trigger:\n - platform: state\n entity_id: person.USER2\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 30\n condition:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: time\n after: 08:30\n before: '18:00'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
}
]
},
{
"id": "Christmas - Plex Stopped Playing Tree On",
"automation": "- alias: Christmas - Plex Stopped Playing Tree On\n trigger:\n - platform: state\n entity_id: media_player.plex_living_room_appletv\n to: paused\n for:\n hours: 0\n minutes: 2\n seconds: 0\n - platform: state\n entity_id: media_player.plex_living_room_appletv\n to: idle\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Plex living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.plex_living_room_appletv",
"device_id": null
}
}
]
},
{
"id": "Christmas - Plex Playing Tree Off",
"automation": "- alias: Christmas - Plex Playing Tree Off\n trigger:\n - platform: state\n entity_id: media_player.plex_living_room_appletv\n to: playing\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Plex living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.plex_living_room_appletv",
"device_id": null
}
}
]
},
{
"id": "Christmas - Late Night TV Watching before Midnight Tree on",
"automation": "- alias: Christmas - Late Night TV Watching before Midnight Tree on\n trigger:\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: paused\n for:\n hours: 0\n minutes: 3\n seconds: 0\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: idle\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: '21:30'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
}
]
},
{
"id": "Christmas - Late Night TV Watching after Midnight Tree on",
"automation": "- alias: Christmas - Late Night TV Watching after Midnight Tree on\n trigger:\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: paused\n for:\n hours: 0\n minutes: 3\n seconds: 0\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: idle\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: 00:00\n before: 03:00\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
}
]
},
{
"id": "Christmas - Late Night TV Watching after Midnight Tree On",
"automation": "- alias: Christmas - Late Night TV Watching after Midnight Tree On\n trigger:\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: paused\n for:\n hours: 0\n minutes: 3\n seconds: 0\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: idle\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: 00:00\n before: 03:00\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
}
]
},
{
"id": "Christmas - Late Night TV Watching after Midnight Tree off",
"automation": "- alias: Christmas - Late Night TV Watching after Midnight Tree off\n trigger:\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: 00:00\n before: 03:00\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
}
]
},
{
"id": "Christmas - Late Night TV Watching before Midnight Tree Off",
"automation": "- alias: Christmas - Late Night TV Watching before Midnight Tree Off\n trigger:\n - platform: state\n entity_id: media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: '21:30'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
}
]
},
{
"id": "Christmas - Tree Bedtime",
"automation": "- alias: Christmas - Tree Bedtime\n trigger:\n - platform: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition:\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn off Christmas Tree When Playing Xbox",
"automation": "- alias: Christmas - Turn off Christmas Tree When Playing Xbox\n trigger:\n - platform: state\n entity_id: select.living_room_tv_activities\n to: Play Xbox\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: group.friends_and_family\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '21:00:00'\n before: 05:00:00\n - condition: state\n entity_id: switch.christmas_tree\n state: 'on'\n action:\n - service: switch.turn_off\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
},
{
"name": "Friends and Family Group",
"room": null,
"type": "group",
"id": {
"entity_id": "group.friends_and_family",
"device_id": null
}
}
]
},
{
"id": "Christmas - Turn on Christmas Tree When Done Playing Xbox",
"automation": "- alias: Christmas - Turn on Christmas Tree When Done Playing Xbox\n trigger:\n - platform: state\n entity_id: select.living_room_tv_activities\n from: Play Xbox\n for:\n hours: 0\n minutes: 0\n seconds: 30\n condition:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '21:00:00'\n before: 05:00:00\n - condition: state\n entity_id: switch.christmas_tree\n state: 'off'\n action:\n - service: switch.turn_on\n entity_id:\n - switch.christmas_tree",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Christmas tree switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.christmas_tree",
"device_id": null
}
}
]
},
{
"id": "climate_thermostat_eco_plus_enabled",
"automation": "- alias: Climate - Thermostat eco+ Enabled\n id: climate_thermostat_eco_plus_enabled\n triggers:\n - trigger: state\n entity_id: binary_sensor.thermostat_eco_plus_enabled\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: ecobee.resume_program\n data:\n entity_id: climate.main_floor\n - action: notify.USER1_devices\n data:\n message: Ecobee eco+ Detected - Disabling\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Thermostat eco+ enabled binary sensor",
"room": "main_floor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.thermostat_eco_plus_enabled",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
}
]
},
{
"id": "climate_home",
"automation": "- alias: Climate - Home\n id: climate_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.thermostat_away\n - delay: 00:00:30\n - action: ecobee.set_fan_min_on_time\n data:\n entity_id: climate.main_floor\n fan_min_on_time: '15'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_away",
"automation": "- alias: Climate - Away\n id: climate_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n below: 85\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_low\n above: 20\n actions:\n - action: notify.USER1_devices\n data:\n message: House has been empty for an hour, shutting Off HVAC\n data:\n tag: climate\n - action: homeassistant.turn_on\n entity_id: input_boolean.thermostat_away\n - delay: 00:00:30\n - action: ecobee.set_fan_min_on_time\n data:\n entity_id: climate.main_floor\n fan_min_on_time: '0'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature low sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_low",
"device_id": null
}
}
]
},
{
"id": "climate_turn_off_humidifier_when_water_main_shuts_off",
"automation": "- alias: Climate - Turn Off Humidifier When Water Main Shuts Off\n id: climate_turn_off_humidifier_when_water_main_shuts_off\n triggers:\n - trigger: state\n entity_id: valve.water_main\n from: open\n to: closed\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: humidifier.main_floor\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n actions:\n - action: humidifier.set_mode\n data:\n mode: 'off'\n target:\n entity_id: humidifier.main_floor",
"config": [
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
},
{
"name": "Main floor humidifier",
"room": "main_floor",
"type": "humidifier",
"id": {
"entity_id": "humidifier.main_floor",
"device_id": null
}
}
]
},
{
"id": "climate_turn_on_humidifier_when_water_main_turns_on",
"automation": "- alias: Climate - Turn On Humidifier When Water Main Turns On\n id: climate_turn_on_humidifier_when_water_main_turns_on\n triggers:\n - trigger: state\n entity_id: valve.water_main\n from: closed\n to: open\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: humidifier.main_floor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n actions:\n - action: humidifier.set_mode\n data:\n mode: auto\n target:\n entity_id: humidifier.main_floor",
"config": [
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
},
{
"name": "Main floor humidifier",
"room": "main_floor",
"type": "humidifier",
"id": {
"entity_id": "humidifier.main_floor",
"device_id": null
}
}
]
},
{
"id": "climate_on_demand_home",
"automation": "- alias: Climate - On Demand Home\n id: climate_on_demand_home\n triggers:\n - trigger: state\n entity_id: input_boolean.thermostat_away\n from: 'on'\n to: 'off'\n actions:\n - action: ecobee.resume_program\n data:\n entity_id: climate.main_floor\n resume_all: true",
"config": [
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
}
]
},
{
"id": "climate_on_demand_away",
"automation": "- alias: Climate - On Demand Away\n id: climate_on_demand_away\n triggers:\n - trigger: state\n entity_id: input_boolean.thermostat_away\n from: 'off'\n to: 'on'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: away_indefinitely",
"config": [
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
}
]
},
{
"id": "climate_turn_thermostat_on_summer",
"automation": "- alias: Climate - Turn Thermostat On Summer\n id: climate_turn_thermostat_on_summer\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 68\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'on'\n - condition: state\n entity_id: sensor.season\n state: summer\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Outside temp above 68 turning On AC\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_turn_thermostat_off_summer",
"automation": "- alias: Climate - Turn Thermostat Off Summer\n id: climate_turn_thermostat_off_summer\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 65\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: sensor.season\n state: summer\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Outside temp below 65 shutting Off AC\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_turn_thermostat_on_winter",
"automation": "- alias: Climate - Turn Thermostat On Winter\n id: climate_turn_thermostat_on_winter\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 65\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'on'\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Outside temp below 65 turning On Heat\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_turn_thermostat_off_winter",
"automation": "- alias: Climate - Turn Thermostat Off Winter\n id: climate_turn_thermostat_off_winter\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 65\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Outside temp above 65 turning Off Heat\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_turn_thermostat_on_spring_fall",
"automation": "- alias: Climate - Turn Thermostat On Spring/Fall\n id: climate_turn_thermostat_on_spring_fall\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 65\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 82\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: spring\n - condition: state\n entity_id: sensor.season\n state: autumn\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Outside temp below 65 or above 78 turning On HVAC\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_turn_thermostat_off_spring_fall",
"automation": "- alias: Climate - Turn Thermostat Off Spring/Fall\n id: climate_turn_thermostat_off_spring_fall\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 65\n below: 75\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.season\n state: spring\n - condition: state\n entity_id: sensor.season\n state: autumn\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Outside temp above 65 or below 78 turning Off HVAC\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_winter_season_turn_on_heat",
"automation": "- alias: Climate - Winter Season Turn On Heat\n id: climate_winter_season_turn_on_heat\n triggers:\n - trigger: state\n entity_id: sensor.season\n to: winter\n actions:\n - action: climate.set_hvac_mode\n data:\n entity_id: climate.main_floor\n hvac_mode: heat",
"config": [
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "climate_spring_season_hvac_auto",
"automation": "- alias: Climate - Spring Season HVAC Auto\n id: climate_spring_season_hvac_auto\n triggers:\n - trigger: state\n entity_id: sensor.season\n to: spring\n actions:\n - action: climate.set_hvac_mode\n data:\n entity_id: climate.main_floor\n hvac_mode: heat_cool",
"config": [
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "climate_summer_season_turn_on_cool",
"automation": "- alias: Climate - Summer Season Turn On Cool\n id: climate_summer_season_turn_on_cool\n triggers:\n - trigger: state\n entity_id: sensor.season\n to: summer\n actions:\n - action: climate.set_hvac_mode\n data:\n entity_id: climate.main_floor\n hvac_mode: cool",
"config": [
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "climate_fall_season_hvac_auto",
"automation": "- alias: Climate - Fall Season HVAC Auto\n id: climate_fall_season_hvac_auto\n triggers:\n - trigger: state\n entity_id: sensor.season\n to: autumn\n actions:\n - action: climate.set_hvac_mode\n data:\n entity_id: climate.main_floor\n hvac_mode: heat_cool",
"config": [
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "climate_set_climate_home_when_USER2_leaves_work",
"automation": "- alias: Climate - Set Climate Home When USER2 Leaves Work\n id: climate_set_climate_home_when_USER2_leaves_work\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: Work\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.thermostat_away",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_turn_off_when_door_opens_for_extended_period",
"automation": "- alias: Climate - Turn Off when Door Opens for Extended Period\n id: climate_turn_off_when_door_opens_for_extended_period\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.thermostat_away\n - action: notify.USER1_devices\n data:\n message: Door has been left open, shutting Off AC\n data:\n tag: climate",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_turn_on_guest_settings_before_midnight",
"automation": "- alias: Climate - Turn On Guest Settings before Midnight\n id: climate_turn_on_guest_settings_before_midnight\n triggers:\n - trigger: time\n at: '23:31:00'\n conditions:\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.overnight_guest_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_bedroom_portable_ac\n state: 'off'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Guest",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Guest bedroom portable AC input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_bedroom_portable_ac",
"device_id": null
}
}
]
},
{
"id": "climate_turn_on_guest_settings_after_midnight",
"automation": "- alias: Climate - Turn On Guest Settings after Midnight\n id: climate_turn_on_guest_settings_after_midnight\n triggers:\n - trigger: state\n entity_id: input_boolean.overnight_guest_mode\n to: 'on'\n conditions:\n - condition: time\n after: 00:00:00\n before: 04:59:00\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_bedroom_portable_ac\n state: 'off'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Guest",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Guest bedroom portable AC input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_bedroom_portable_ac",
"device_id": null
}
}
]
},
{
"id": "climate_reset_thermostat_when_USER2_leaves",
"automation": "- alias: Climate - Reset Thermostat when USER2 Leaves\n id: climate_reset_thermostat_when_USER2_leaves\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n conditions:\n - condition: time\n after: 06:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n actions:\n - action: ecobee.resume_program\n data:\n entity_id: climate.main_floor\n resume_all: true",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_adjust_thermostat_to_upstairs_mode_in_the_morning",
"automation": "- alias: Climate - Adjust Thermostat to Upstairs Mode in the Morning\n id: climate_adjust_thermostat_to_upstairs_mode_in_the_morning\n triggers:\n - trigger: time\n at: '10:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.main_floor\n state: heat\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.main_floor\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.REDACTED_forecasted_temperature_high\n above: 79\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Upstairs",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "REDACTED forecasted temperature high sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_forecasted_temperature_high",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_adjust_thermostat_to_upstairs_mode_when_hot_between_12_7",
"automation": "- alias: Climate - Adjust Thermostat to Upstairs Mode when Hot Between 12-7\n id: climate_adjust_thermostat_to_upstairs_mode_when_hot_between_12_7\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 80\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.main_floor\n state: heat\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.main_floor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: time\n after: '12:00:00'\n before: '19:00:00'\n - condition: state\n entity_id: group.household\n state: home\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Upstairs",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_reset_thermostat_at_10p_if_on_upstairs_mode",
"automation": "- alias: Climate - Reset Thermostat at 10p if On Upstairs Mode\n id: climate_reset_thermostat_at_10p_if_on_upstairs_mode\n triggers:\n - trigger: time\n at: '22:00:00'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: sensor.thermostat_climate_mode\n state: Upstairs\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: ecobee.resume_program\n data:\n entity_id: climate.main_floor\n resume_all: true",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Thermostat climate mode sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.thermostat_climate_mode",
"device_id": null
}
}
]
},
{
"id": "climate_adjust_thermostat_if_fireplace_on",
"automation": "- alias: Climate - Adjust Thermostat if Fireplace On\n id: climate_adjust_thermostat_if_fireplace_on\n triggers:\n - trigger: state\n entity_id: switch.fireplace\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Fireplace",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_reset_thermostat_when_fireplace_off",
"automation": "- alias: Climate - Reset Thermostat when Fireplace Off\n id: climate_reset_thermostat_when_fireplace_off\n triggers:\n - trigger: state\n entity_id: switch.fireplace\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.thermostat_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n actions:\n - action: ecobee.resume_program\n data:\n entity_id: climate.main_floor\n resume_all: true",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_fireplace_on_when_nobody_home_ios_notification",
"automation": "- alias: Climate - Fireplace On when Nobody Home iOS Notification\n id: climate_fireplace_on_when_nobody_home_ios_notification\n triggers:\n - trigger: state\n entity_id: switch.fireplace\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: notify.USER1_devices\n data:\n message: Fireplace Turned On!\n data:\n tag: fireplace-climate\n push: null\n actions:\n - action: fireplace_off\n title: Turn Off Fireplace\n destructive: true\n activationMode: background",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_fireplace_on_for_4_hours_ios_notification",
"automation": "- alias: Climate - Fireplace On for 4 Hours iOS Notification\n id: climate_fireplace_on_for_4_hours_ios_notification\n triggers:\n - trigger: state\n entity_id: switch.fireplace\n from: 'off'\n to: 'on'\n for:\n hours: 4\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Fireplace has been On for 4 Hours\n data:\n tag: fireplace-climate\n actions:\n - action: fireplace_off\n title: Turn Off Fireplace\n destructive: true\n activationMode: background",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "climate_fireplace_on_pico_remote",
"automation": "- alias: Climate - Fireplace On Pico Remote\n id: climate_fireplace_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43846935\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: switch.fireplace\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fireplace\n - delay:\n seconds: 30",
"config": [
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
}
]
},
{
"id": "climate_fireplace_off_pico_remote",
"automation": "- alias: Climate - Fireplace Off Pico Remote\n id: climate_fireplace_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43846935\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: switch.fireplace\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fireplace\n - delay:\n seconds: 30",
"config": [
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
}
]
},
{
"id": "climate_fireplace_on_living_room_west_pico_remote",
"automation": "- alias: Climate - Fireplace On Living Room West Pico Remote\n id: climate_fireplace_on_living_room_west_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: switch.fireplace\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fireplace\n - delay:\n seconds: 30",
"config": [
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
}
]
},
{
"id": "climate_fireplace_off_living_room_west_pico_remote",
"automation": "- alias: Climate - Fireplace Off Living Room West Pico Remote\n id: climate_fireplace_off_living_room_west_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: switch.fireplace\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fireplace\n - delay:\n seconds: 30",
"config": [
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
}
]
},
{
"id": "climate_turn_on_office_fan_heat_when_cold_outside",
"automation": "- alias: Climate - Turn On Office Fan Heat when Cold Outside\n id: climate_turn_on_office_fan_heat_when_cold_outside\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: binary_sensor.office_occupancy\n state: 'on'\n - condition: state\n entity_id: fan.USER1s_office_fan\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n actions:\n - action: fan.turn_on\n target:\n entity_id:\n - fan.USER1s_office_fan\n - delay: 00:00:01\n - action: fan.set_preset_mode\n target:\n entity_id: fan.USER1s_office_fan\n data:\n preset_mode: Auto\n - delay: 00:00:01\n - action: climate.set_temperature\n data:\n entity_id: climate.office_fan\n temperature: 74\n hvac_mode: heat\n - delay: 00:00:01\n - action: fan.oscillate\n data:\n entity_id: fan.USER1s_office_fan\n oscillating: 'true'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Office occupancy binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_occupancy",
"device_id": null
}
},
{
"name": "Office fan climate",
"room": "office",
"type": "climate",
"id": {
"entity_id": "climate.office_fan",
"device_id": null
}
}
]
},
{
"id": "climate_turn_off_office_fan_heat_when_warmer_outside",
"automation": "- alias: Climate - Turn Off Office Fan Heat when warmer Outside\n id: climate_turn_off_office_fan_heat_when_warmer_outside\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: binary_sensor.office_occupancy\n state: 'on'\n - condition: state\n entity_id: fan.USER1s_office_fan\n state: 'on'\n actions:\n - action: fan.turn_on\n target:\n entity_id:\n - fan.USER1s_office_fan\n - delay: 00:00:01\n - action: fan.set_preset_mode\n target:\n entity_id:\n - fan.USER1s_office_fan\n data:\n preset_mode: Auto\n - delay: 00:00:01\n - action: climate.set_hvac_mode\n data:\n entity_id: climate.office_fan\n hvac_mode: cool\n - delay: 00:00:01\n - action: fan.oscillate\n data:\n entity_id: fan.USER1s_office_fan\n oscillating: 'true'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Office occupancy binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_occupancy",
"device_id": null
}
},
{
"name": "Office fan climate",
"room": "office",
"type": "climate",
"id": {
"entity_id": "climate.office_fan",
"device_id": null
}
}
]
},
{
"id": "climate_adjust_thermostat_for_portable_ac_at_9:30a",
"automation": "- alias: Climate - Adjust Thermostat for Portable AC at 9:30a\n id: climate_adjust_thermostat_for_portable_ac_at_9:30a\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Downstairs",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
}
]
},
{
"id": "climate_adjust_thermostat_for_portable_ac_when_enabled",
"automation": "- alias: Climate - Adjust Thermostat for Portable when Enabled\n id: climate_adjust_thermostat_for_portable_ac_when_enabled\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_office_portable_ac\n to: 'on'\n - trigger: state\n entity_id: input_boolean.USER1_office_portable_ac\n to: 'on'\n - trigger: state\n entity_id: input_boolean.guest_bedroom_portable_ac\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_climate\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.main_floor\n state: heat\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.main_floor\n state: 'off'\n actions:\n - action: climate.set_preset_mode\n data:\n entity_id: climate.main_floor\n preset_mode: Downstairs",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor climate",
"room": "main_floor",
"type": "climate",
"id": {
"entity_id": "climate.main_floor",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Guest bedroom portable AC input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_bedroom_portable_ac",
"device_id": null
}
}
]
},
{
"id": "climate_turn_off_portable_ac_when_water_bin_full",
"automation": "- alias: Climate - Turn Off Portable AC when Water Bin Full\n id: climate_turn_off_portable_ac_when_water_bin_full\n triggers:\n - trigger: state\n entity_id: binary_sensor.portable_ac_water_sensor\n to: 'on'\n actions:\n - action: climate.turn_off\n entity_id: climate.portable_air_conditioner\n - delay: 00:05:00\n - action: switch.turn_off\n entity_id: switch.portable_ac",
"config": [
{
"name": "Portable AC water sensor binary sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.portable_ac_water_sensor",
"device_id": null
}
},
{
"name": "Portable air conditioner climate",
"room": "home",
"type": "climate",
"id": {
"entity_id": "climate.portable_air_conditioner",
"device_id": null
}
},
{
"name": "Portable AC switch",
"room": "home",
"type": "switch",
"id": {
"entity_id": "switch.portable_ac",
"device_id": null
}
}
]
},
{
"id": "climate_turn_off_portable_ac_if_water_bin_already_full",
"automation": "- alias: Climate - Turn Off Portable AC if Water Bin Already Full\n id: climate_turn_off_portable_ac_if_water_bin_already_full\n triggers:\n - trigger: state\n entity_id: climate.portable_air_conditioner\n from: 'off'\n to: cool\n conditions:\n - condition: state\n entity_id: binary_sensor.portable_ac_water_sensor\n state: 'on'\n actions:\n - action: climate.turn_off\n entity_id: climate.portable_air_conditioner\n - action: notify.USER1_devices\n data:\n message: Empty Portable AC Water Bin\n data:\n tag: portable-ac-climate\n - delay: 00:05:00\n - action: switch.turn_off\n entity_id: switch.portable_ac",
"config": [
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Portable AC water sensor binary sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.portable_ac_water_sensor",
"device_id": null
}
},
{
"name": "Portable air conditioner climate",
"room": "home",
"type": "climate",
"id": {
"entity_id": "climate.portable_air_conditioner",
"device_id": null
}
},
{
"name": "Portable AC switch",
"room": "home",
"type": "switch",
"id": {
"entity_id": "switch.portable_ac",
"device_id": null
}
}
]
},
{
"id": "climate_turn_off_portable_ac_when_water_bin_full_ios_notification",
"automation": "- alias: Climate - Turn Off Portable AC when Water Bin Full iOS Notification\n id: climate_turn_off_portable_ac_when_water_bin_full_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.portable_ac_water_sensor\n to: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Empty Portable AC Water Bin\n data:\n tag: portable-ac-climate",
"config": [
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Portable AC water sensor binary sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.portable_ac_water_sensor",
"device_id": null
}
}
]
},
{
"id": "doors_turn_on_front_porch_lights_when_front_door_opens",
"automation": "- alias: Doors - Turn On Front Porch Lights when Front Door Opens\n id: doors_turn_on_front_porch_lights_when_front_door_opens\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 100",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
}
]
},
{
"id": "doors_reset_front_porch_lights_brightness_when_front_door_closes",
"automation": "- alias: Doors - Reset Front Porch Lights Brightness when Front Door Closes\n id: doors_reset_front_porch_lights_brightness_when_front_door_closes\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 50\n transition: 120",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
}
]
},
{
"id": "doors_turn_off_front_porch_lights_when_front_door_closes_between_12_5a",
"automation": "- alias: Doors - Turn Off Front Porch Lights when Front Door Closes between 12-5a\n id: doors_turn_off_front_porch_lights_when_front_door_closes_between_12_5a\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: time\n after: 00:00:00\n before: 05:00:00\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n data:\n transition: 900",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
}
]
},
{
"id": "doors_turn_on_living_room_lights_when_front_door_opens",
"automation": "- alias: Doors - Turn On Living Room Lights when Front Door Opens\n id: doors_turn_on_living_room_lights_when_front_door_opens\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: light.living_room_accent_lights\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights",
"config": [
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
}
]
},
{
"id": "doors_turn_on_back_door_lights_when_back_door_opens",
"automation": "- alias: Doors - Turn On Back Door Lights when Back Door Opens\n id: doors_turn_on_back_door_lights_when_back_door_opens\n triggers:\n - trigger: state\n entity_id: binary_sensor.back_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 100",
"config": [
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "doors_reset_back_door_lights_brightness_when_back_door_closes",
"automation": "- alias: Doors - Reset Back Door Lights Brightness when Back Door Closes\n id: doors_reset_back_door_lights_brightness_when_back_door_closes\n triggers:\n - trigger: state\n entity_id: binary_sensor.back_door_opened\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 2\n transition: 300",
"config": [
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "doors_turn_off_back_door_lights_when_back_door_closes_between_12_5a",
"automation": "- alias: Doors - Turn Off Back Door Lights when Back Door Closes between 12-5a\n id: doors_turn_off_back_door_lights_when_back_door_closes_between_12_5a\n triggers:\n - trigger: state\n entity_id: binary_sensor.back_door_opened\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 17\n seconds: 0\n conditions:\n - condition: time\n after: 00:00:00\n before: 05:00:00\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n data:\n transition: 900",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "doors_turn_on_basement_lights_when_basement_door_opens_and_lights_off",
"automation": "- alias: Doors - Turn On Basement Lights when Basement Door Opens and Lights Off\n id: doors_turn_on_basement_lights_when_basement_door_opens_and_lights_off\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.basement_lighting\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lamp\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
}
]
},
{
"id": "doors_low_battery_notification",
"automation": "- alias: Doors - Low Battery Notification\n id: doors_low_battery_notification\n mode: parallel\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.front_door_sensor_batt\n - sensor.back_door_sensor_batt\n - sensor.basement_door_sensor_batt\n below: 30\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Low'",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Front door sensor battery",
"room": "front_door",
"type": "sensor",
"id": {
"entity_id": "sensor.front_door_sensor_batt",
"device_id": null
}
},
{
"name": "Back door sensor battery",
"room": "back_door",
"type": "sensor",
"id": {
"entity_id": "sensor.back_door_sensor_batt",
"device_id": null
}
},
{
"name": "Basement door sensor battery",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_door_sensor_batt",
"device_id": null
}
}
]
},
{
"id": "energy_set_winter_rate_first_750",
"automation": "- alias: Energy - Set Winter Rate First 750\n id: energy_set_winter_rate_first_750\n trigger:\n - trigger: state\n entity_id:\n - sensor.monthly_electric\n conditions:\n - condition: template\n value_template: '{{ now().month in [1,2,3,4,5,10,11,12] }}'\n - condition: template\n value_template: '{{ trigger.to_state.state | float(0) < 750000 }}'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.monthly_electric\n state: Winter Rate First 750\n actions:\n - action: select.select_option\n data:\n entity_id: select.monthly_electric\n option: Winter Rate First 750",
"config": [
{
"name": "Monthly electric sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.monthly_electric",
"device_id": null
}
},
{
"name": "Monthly electric select",
"room": "home",
"type": "select",
"id": {
"entity_id": "select.monthly_electric",
"device_id": null
}
}
]
},
{
"id": "energy_set_winter_rate_over_750",
"automation": "- alias: Energy - Set Winter Rate Over 750\n id: energy_set_winter_rate_over_750\n trigger:\n - trigger: state\n entity_id:\n - sensor.monthly_electric\n conditions:\n - condition: template\n value_template: '{{ now().month in [1,2,3,4,5,10,11,12] }}'\n - condition: template\n value_template: '{{ trigger.to_state.state | float(0) > 749999 }}'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.monthly_electric\n state: Winter Rate Over 750\n actions:\n - action: select.select_option\n data:\n entity_id: select.monthly_electric\n option: Winter Rate Over 750",
"config": [
{
"name": "Monthly electric sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.monthly_electric",
"device_id": null
}
},
{
"name": "Monthly electric select",
"room": "home",
"type": "select",
"id": {
"entity_id": "select.monthly_electric",
"device_id": null
}
}
]
},
{
"id": "energy_set_summer_rate",
"automation": "- alias: Energy - Set Summer Rate\n id: energy_set_summer_rate\n trigger:\n - trigger: state\n entity_id:\n - sensor.monthly_electric\n conditions:\n - condition: template\n value_template: '{{ now().month in [6,7,8,9] }}'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.monthly_electric\n state: Summer Rate\n actions:\n - action: select.select_option\n data:\n entity_id: select.monthly_electric\n option: Summer Rate",
"config": [
{
"name": "Monthly electric sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.monthly_electric",
"device_id": null
}
},
{
"name": "Monthly electric select",
"room": "home",
"type": "select",
"id": {
"entity_id": "select.monthly_electric",
"device_id": null
}
}
]
},
{
"id": "energy_turn_off_USER1_ebike_chargers_when_not_charging",
"automation": "- alias: Energy - Turn Off USER1 Electric Bike Chargers when Not Charging\n id: energy_turn_off_USER1_ebike_chargers_when_not_charging\n trigger:\n - trigger: numeric_state\n entity_id: sensor.USER1s_bike_charger_current_consumption\n below: 1\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: switch.USER1s_bike_charger\n state: 'on'\n actions:\n - action: switch.turn_off\n data:\n entity_id: switch.USER1s_bike_charger",
"config": [
{
"name": "USER1 bike charger current consumption",
"room": "garage",
"type": "sensor",
"id": {
"entity_id": "sensor.USER1s_bike_charger_current_consumption",
"device_id": null
}
},
{
"name": "USER1 bike charger switch",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_bike_charger",
"device_id": null
}
}
]
},
{
"id": "energy_turn_off_USER2_ebike_chargers_when_not_charging",
"automation": "- alias: Energy - Turn Off USER2 Electric Bike Chargers when Not Charging\n id: energy_turn_off_USER2_ebike_chargers_when_not_charging\n trigger:\n - trigger: numeric_state\n entity_id: sensor.USER2s_bike_charger_current_consumption\n below: 1\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: switch.USER2s_bike_charger\n state: 'on'\n actions:\n - action: switch.turn_off\n data:\n entity_id: switch.USER2s_bike_charger",
"config": [
{
"name": "USER2 bike charger current consumption",
"room": "garage",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2s_bike_charger_current_consumption",
"device_id": null
}
},
{
"name": "USER2 bike charger switch",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.USER2s_bike_charger",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_on_pico_remote",
"automation": "- alias: Fan - Living Room Fans On Pico Remote\n id: fan_living_room_fans_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'off'\n actions:\n - delay:\n seconds: 1\n - action: fan.turn_on\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_off_pico_remote",
"automation": "- alias: Fan - Living Room Fans Off Pico Remote\n id: fan_living_room_fans_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n actions:\n - delay:\n seconds: 1\n - action: fan.turn_off\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_off_to_on_pico_remote_raise_or_lower",
"automation": "- alias: Fan - Living Room Fans Off to On Pico Remote Raise or Lower\n id: fan_living_room_fans_off_to_on_pico_remote_raise_or_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 5\n action: press\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'off'\n actions:\n - delay:\n seconds: 1\n - action: fan.turn_on\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_1_to_2_pico_remote_raise",
"automation": "- alias: Fan - Living Room Fans 1 to 2 Pico Remote Raise\n id: fan_living_room_fans_1_to_2_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 16)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 33\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_2_to_3_pico_remote_raise",
"automation": "- alias: Fan - Living Room Fans 2 to 3 Pico Remote Raise\n id: fan_living_room_fans_2_to_3_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 33)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 50\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_3_to_4_pico_remote_raise",
"automation": "- alias: Fan - Living Room Fans 3 to 4 Pico Remote Raise\n id: fan_living_room_fans_3_to_4_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 50)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 66\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_4_to_5_pico_remote_raise",
"automation": "- alias: Fan - Living Room Fans 4 to 5 Pico Remote Raise\n id: fan_living_room_fans_4_to_5_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 66)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 83\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_5_to_6_pico_remote_raise",
"automation": "- alias: Fan - Living Room Fans 5 to 6 Pico Remote Raise\n id: fan_living_room_fans_5_to_6_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 83)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 100\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_6_to_5_pico_remote_lower",
"automation": "- alias: Fan - Living Room Fans 6 to 5 Pico Remote Lower\n id: fan_living_room_fans_6_to_5_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 100)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 83\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_5_to_4_pico_remote_lower",
"automation": "- alias: Fan - Living Room Fans 5 to 4 Pico Remote Lower\n id: fan_living_room_fans_5_to_4_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 83)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 66\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_4_to_3_pico_remote_lower",
"automation": "- alias: Fan - Living Room Fans 4 to 3 Pico Remote Lower\n id: fan_living_room_fans_4_to_3_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 66)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 50\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_3_to_2_pico_remote_lower",
"automation": "- alias: Fan - Living Room Fans 3 to 2 Pico Remote Lower\n id: fan_living_room_fans_3_to_2_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 50)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 33\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_2_to_1_pico_remote_lower",
"automation": "- alias: Fan - Living Room Fans 2 to 1 Pico Remote Lower\n id: fan_living_room_fans_2_to_1_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 33)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n percentage: 16\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_living_room_fans_1_to_off_pico_remote_lower",
"automation": "- alias: Fan - Living Room Fans 1 to Off Pico Remote Lower\n id: fan_living_room_fans_1_to_off_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_fans'', ''percentage'', 16)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.turn_off\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_off_to_on_pico_remote_raise_or_lower",
"automation": "- alias: Fan - West Living Room Fan Off to On Pico Remote Raise or Lower\n id: fan_west_living_room_fan_off_to_on_pico_remote_raise_or_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 5\n action: press\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'off'\n actions:\n - delay:\n seconds: 1\n - action: fan.turn_on\n target:\n entity_id:\n - fan.living_room_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_1_to_2_pico_remote_raise",
"automation": "- alias: Fan - West Living Room Fan 1 to 2 Pico Remote Raise\n id: fan_west_living_room_fan_1_to_2_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 16)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 33\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_2_to_3_pico_remote_raise",
"automation": "- alias: Fan - West Living Room Fan 2 to 3 Pico Remote Raise\n id: fan_west_living_room_fan_2_to_3_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 33)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 50\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_3_to_4_pico_remote_raise",
"automation": "- alias: Fan - West Living Room Fan 3 to 4 Pico Remote Raise\n id: fan_west_living_room_fan_3_to_4_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 50)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 66\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_4_to_5_pico_remote_raise",
"automation": "- alias: Fan - West Living Room Fan 4 to 5 Pico Remote Raise\n id: fan_west_living_room_fan_4_to_5_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 66)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 83\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_5_to_6_pico_remote_raise",
"automation": "- alias: Fan - West Living Room Fan 5 to 6 Pico Remote Raise\n id: fan_west_living_room_fan_5_to_6_pico_remote_raise\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 5\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 83)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 100\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_6_to_5_pico_remote_lower",
"automation": "- alias: Fan - West Living Room Fan 6 to 5 Pico Remote Lower\n id: fan_west_living_room_fan_6_to_5_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 100)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 83\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_5_to_4_pico_remote_lower",
"automation": "- alias: Fan - West Living Room Fan 5 to 4 Pico Remote Lower\n id: fan_west_living_room_fan_5_to_4_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 83)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 66\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_4_to_3_pico_remote_lower",
"automation": "- alias: Fan - West Living Room Fan 4 to 3 Pico Remote Lower\n id: fan_west_living_room_fan_4_to_3_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 66)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 50\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_3_to_2_pico_remote_lower",
"automation": "- alias: Fan - West Living Room Fan 3 to 2 Pico Remote Lower\n id: fan_west_living_room_fan_3_to_2_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 50)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 33\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_2_to_1_pico_remote_lower",
"automation": "- alias: Fan - West Living Room Fan 2 to 1 Pico Remote Lower\n id: fan_west_living_room_fan_2_to_1_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 33)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.set_percentage\n data:\n entity_id:\n - fan.living_room_west\n percentage: 16\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fan_west_living_room_fan_1_to_off_pico_remote_lower",
"automation": "- alias: Fan - West Living Room Fan 1 to Off Pico Remote Lower\n id: fan_west_living_room_fan_1_to_off_pico_remote_lower\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: fan.living_room_west\n state: 'on'\n - condition: template\n value_template: '{{is_state_attr(''fan.living_room_west'', ''percentage'', 16)}}'\n actions:\n - delay:\n seconds: 1\n - action: fan.turn_off\n target:\n entity_id:\n - fan.living_room_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "fountain_off_when_away",
"automation": "- alias: Fountain - Fountain Off When Away\n id: fountain_off_when_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: switch.fountain\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fountain\n - switch.fountain_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_on_when_home",
"automation": "- alias: Fountain - Fountain On When Home\n id: fountain_on_when_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: time\n after: '12:00:00'\n before: '23:59:00'\n - condition: state\n entity_id: switch.fountain\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 39\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fountain",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_lights_on_when_home_before_sunset",
"automation": "- alias: Fountain - Lights On When Home Before Sunset\n id: fountain_lights_on_when_home_before_sunset\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: switch.fountain\n state: 'on'\n - condition: state\n entity_id: switch.fountain_lights\n state: 'off'\n - condition: sun\n after: sunset\n after_offset: -00:15:00\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fountain_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_on_lights_at_sunset",
"automation": "- alias: Fountain - Turn on Lights at Sunset\n id: fountain_turn_on_lights_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: switch.fountain\n state: 'on'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fountain_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_on_lights_when_fountain_on_at_night",
"automation": "- alias: Fountain - Turn on Lights when Fountain on at Night\n id: fountain_turn_on_lights_when_fountain_on_at_night\n triggers:\n - trigger: state\n entity_id: switch.fountain\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: switch.fountain_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fountain_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_off_lights_when_fountain_turns_off",
"automation": "- alias: Fountain - Turn off Lights when Fountain turns off\n id: fountain_turn_off_lights_when_fountain_turns_off\n triggers:\n - trigger: state\n entity_id: switch.fountain\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: switch.fountain_lights\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fountain_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_on_daily",
"automation": "- alias: Fountain - Turn On Daily\n id: fountain_turn_on_daily\n triggers:\n - trigger: time\n at: '10:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: switch.fountain\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 39\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fountain",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_off_at_midnight",
"automation": "- alias: Fountain - Turn Off at Midnight\n id: fountain_turn_off_at_midnight\n triggers:\n - trigger: time\n at: '23:59:00'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: switch.fountain\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fountain\n - switch.fountain_lights",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "Fountain lights switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain_lights",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_off_when_raining",
"automation": "- alias: Fountain - Turn Off When Raining\n id: fountain_turn_off_when_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n to: rainy\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - trigger: state\n entity_id: weather.REDACTED\n to: lightning-rainy\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: switch.fountain\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fountain",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_on_when_done_raining",
"automation": "- alias: Fountain - Turn On When Done Raining\n id: fountain_turn_on_when_done_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n from: rainy\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - trigger: state\n entity_id: weather.REDACTED\n from: lightning-rainy\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_fountain\n state: 'off'\n - condition: state\n entity_id: switch.fountain\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: time\n after: '12:00:00'\n before: '23:59:00'\n - condition: numeric_state\n entity_id: sensor.REDACTED_temperature\n above: 39\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.fountain",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
}
]
},
{
"id": "fountain_turn_off_when_cold",
"automation": "- alias: Fountain - Turn Off When Cold\n id: fountain_turn_off_when_cold\n triggers:\n - trigger: numeric_state\n entity_id: sensor.REDACTED_temperature\n below: 38\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: switch.fountain\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.fountain\n - action: notify.USER1_devices\n data:\n message: Cold Outside Shutting Off Fountain\n data:\n tag: fountain",
"config": [
{
"name": "Fountain switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.fountain",
"device_id": null
}
},
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "garage_household_away_mode_close_garage",
"automation": "- alias: Garage - Household Away Mode Close Garage\n id: garage_household_away_mode_close_garage\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_close_garage_when_USER1_leaves",
"automation": "- alias: Garage - Close Garage when USER1 Leaves\n id: garage_close_garage_when_USER1_leaves\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_close_garage_when_USER2_leaves",
"automation": "- alias: Garage - Close Garage when USER2 Leaves\n id: garage_close_garage_when_USER2_leaves\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_USER1_home_from_driving_open_garage_door",
"automation": "- alias: Garage - USER1 Home from Driving Open Garage Door\n id: garage_USER1_home_from_driving_open_garage_door\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_away_driving\n state: 'on'\n - condition: state\n entity_id: cover.garage_door\n state: closed\n actions:\n - action: cover.open_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
}
]
},
{
"id": "garage_USER1_home_close_garage_windy",
"automation": "- alias: Garage - USER1 Home Close Garage Windy\n id: garage_USER1_home_close_garage_windy\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 4\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: windy\n - condition: numeric_state\n entity_id: weather.REDACTED\n attribute: wind_speed\n above: '13'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_door_motor\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_USER1_home_close_garage",
"automation": "- alias: Garage - USER1 Home Close Garage\n id: garage_USER1_home_close_garage\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_door_motor\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_USER2_home_from_driving_open_garage",
"automation": "- alias: Garage - USER2 Home from Driving Open Garage\n id: garage_USER2_home_from_driving_open_garage\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away_driving\n state: 'on'\n - condition: state\n entity_id: cover.garage_door\n state: closed\n actions:\n - action: cover.open_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
}
]
},
{
"id": "garage_USER2_home_close_garage_windy",
"automation": "- alias: Garage - USER2 Home Close Garage Windy\n id: garage_USER2_home_close_garage_windy\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: windy\n - condition: numeric_state\n entity_id: weather.REDACTED\n attribute: wind_speed\n above: '13'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_door_motor\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_USER2_home_close_garage",
"automation": "- alias: Garage - USER2 Home Close Garage\n id: garage_USER2_home_close_garage\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_door_motor\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_close_after_30_mins",
"automation": "- alias: Garage - Close After 30 Mins\n id: garage_close_after_30_mins\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: open\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_open_on_demand",
"automation": "- alias: Garage - Open On Demand\n id: garage_open_on_demand\n triggers:\n - trigger: state\n entity_id: input_boolean.garage_door\n to: 'on'\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: closed\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: cover.open_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
}
]
},
{
"id": "garage_close_on_demand",
"automation": "- alias: Garage - Close On Demand\n id: garage_close_on_demand\n triggers:\n - trigger: state\n entity_id: input_boolean.garage_door\n to: 'off'\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: open\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior\n - delay: 00:00:05\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_turn_off_garage_door_boolean_when_closed",
"automation": "- alias: Garage - Turn Off Garage Door Boolean when Closed\n id: garage_turn_off_garage_door_boolean_when_closed\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: open\n to: closed\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: closed\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
}
]
},
{
"id": "garage_turn_on_garage_door_boolean_when_open",
"automation": "- alias: Garage - Turn On Garage Door Boolean when Open\n id: garage_turn_on_garage_door_boolean_when_open\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closed\n to: open\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: open\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
}
]
},
{
"id": "garage_USER2_leaving_for_work_open_garage",
"automation": "- alias: Garage - USER2 Leaving for Work Open Garage\n id: garage_USER2_leaving_for_work_open_garage\n triggers:\n - trigger: state\n entity_id: binary_sensor.back_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: time\n after: 06:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: cover.garage_door\n state: closed\n - condition: state\n entity_id: input_boolean.garage_door_motor\n state: 'off'\n actions:\n - action: cover.open_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "garage_flash_light_when_garage_motor_on",
"automation": "- alias: Garage - Flash Light When Garage Motor On\n id: garage_flash_light_when_garage_motor_on\n triggers:\n - trigger: state\n entity_id: input_boolean.garage_door_motor\n to: 'on'\n actions:\n - action: lifx.effect_pulse\n data:\n cycles: 5\n power_on: true\n brightness_pct: 100\n target:\n entity_id: light.garage_interior",
"config": [
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "garage_door_motor_on",
"automation": "- alias: Garage - Door Motor On\n id: garage_door_motor_on\n triggers:\n - trigger: event\n event_type: call_service\n event_data:\n domain: cover\n service: close_cover\n service_data:\n entity_id: cover.garage_door\n - trigger: event\n event_type: call_service\n event_data:\n domain: cover\n service: open_cover\n service_data:\n entity_id: cover.garage_door\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.garage_door_motor",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
}
]
},
{
"id": "garage_door_motor_off",
"automation": "- alias: Garage - Door Motor Off\n id: garage_door_motor_off\n triggers:\n - trigger: state\n entity_id: input_boolean.garage_door_motor\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 18\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.garage_door_motor",
"config": [
{
"name": "Garage door motor input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door_motor",
"device_id": null
}
},
{
"name": "Garage door input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.garage_door",
"device_id": null
}
}
]
},
{
"id": "garage_open_ios_notification",
"automation": "- alias: Garage - Open iOS Notification\n id: garage_open_ios_notification\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closed\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Garage Door Open\n data:\n tag: garage-open\n entity_id: camera.garage\n actions:\n - action: close_garage\n title: Close Garage Door\n destructive: true\n activationMode: background",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage camera",
"room": "garage",
"type": "camera",
"id": {
"entity_id": "camera.garage",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "garage_closed_ios_notification",
"automation": "- alias: Garage - Closed iOS Notification\n id: garage_closed_ios_notification\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: open\n to: closed\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Garage Door Closed\n data:\n tag: garage-closed\n entity_id: camera.garage\n actions:\n - action: open_garage\n title: Open Garage Door\n destructive: true\n activationMode: background",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage camera",
"room": "garage",
"type": "camera",
"id": {
"entity_id": "camera.garage",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "garage_door_still_open_ios_notification",
"automation": "- alias: Garage - Door Still Open iOS Notification\n id: garage_door_still_open_ios_notification\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: open\n for:\n hours: 0\n minutes: 35\n seconds: 0\n - trigger: state\n entity_id: cover.garage_door\n to: closing\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: cover.garage_door\n to: opening\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Garage Door is Still Open!\n data:\n tag: garage-still-open\n entity_id: camera.garage\n actions:\n - action: close_garage\n title: Close Garage Door\n destructive: true\n activationMode: background",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage camera",
"room": "garage",
"type": "camera",
"id": {
"entity_id": "camera.garage",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_christmas_lighting",
"automation": "- alias: Holiday - Enable Christmas Lighting\n id: holiday_enable_christmas_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Christmas Eve\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Christmas Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Christmas",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_christmas_lighting",
"automation": "- alias: Holiday - Christmas Lighting\n id: holiday_christmas_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: red",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_christmas_lighting_rotate_colors",
"automation": "- alias: Holiday - Christmas Lighting Rotate Colors\n id: holiday_christmas_lighting_rotate_colors\n triggers:\n trigger: time_pattern\n minutes: /1\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n - condition: state\n entity_id: light.front_porch\n state: 'on'\n - condition: time\n after: '15:30:00'\n before: 02:00:00\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 5\n brightness_pct: 100\n color_name: '{{ states(''input_select.exterior_christmas_light_color_left'')\n }}'\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 5\n brightness_pct: 100\n color_name: '{{ states(''input_select.exterior_christmas_light_color_right'')\n }}'\n - action: input_select.select_option\n target:\n entity_id: input_select.exterior_christmas_light_color_left\n data:\n option: \"{{ state_attr('input_select.exterior_christmas_light_color_left', 'options')\\n\\\n \\ | reject('eq', states('input_select.exterior_christmas_light_color_left'))\\n\\\n \\ | reject('eq', states('input_select.exterior_christmas_light_color_right'))\\n\\\n \\ | list | random }}\\n\"\n - action: input_select.select_option\n target:\n entity_id: input_select.exterior_christmas_light_color_right\n data:\n option: \"{{ state_attr('input_select.exterior_christmas_light_color_right',\\\n \\ 'options')\\n | reject('eq', states('input_select.exterior_christmas_light_color_right'))\\n\\\n \\ | reject('eq', states('input_select.exterior_christmas_light_color_left'))\\n\\\n \\ | list | random }}\\n\"",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
},
{
"name": "Exterior Christmas light color left select",
"room": "exterior",
"type": "input_select",
"id": {
"entity_id": "input_select.exterior_christmas_light_color_left",
"device_id": null
}
},
{
"name": "Exterior Christmas light color right select",
"room": "exterior",
"type": "input_select",
"id": {
"entity_id": "input_select.exterior_christmas_light_color_right",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_new_years_eve_lighting",
"automation": "- alias: Holiday - Enable New Years Eve Lighting\n id: holiday_enable_new_years_eve_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: New Year's Eve\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: New Year's Eve",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_new_years_eve_lighting",
"automation": "- alias: Holiday - New Years Eve Lighting\n id: holiday_new_years_eve_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: New Year's Eve\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.front_porch_rainbow",
"config": [
{
"name": "Front porch rainbow input boolean",
"room": "front_porch",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.front_porch_rainbow",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_halloween_lighting",
"automation": "- alias: Holiday - Enable Halloween Lighting\n id: holiday_enable_halloween_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Halloween\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Halloween",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_halloween_lighting",
"automation": "- alias: Holiday - Halloween Lighting\n id: holiday_halloween_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Halloween\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n rgb_color:\n - 255\n - 85\n - 7\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n rgb_color:\n - 160\n - 6\n - 255",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_halloween_lighting_rotate_on_the_hour",
"automation": "- alias: Holiday - Halloween Lighting Rotate on the Hour\n id: holiday_halloween_lighting_rotate_on_the_hour\n triggers:\n trigger: time_pattern\n minutes: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '15:00:00'\n before: '23:45:00'\n - condition: state\n entity_id: input_select.holiday\n state: Halloween\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 160\n - 6\n - 255\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 255\n - 85\n - 7",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_halloween_lighting_rotate_15_mins_after_the_hour",
"automation": "- alias: Holiday - Halloween Lighting Rotate 15 mins after the Hour\n id: holiday_halloween_lighting_rotate_15_mins_after_the_hour\n triggers:\n trigger: time_pattern\n minutes: 15\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '15:00:00'\n before: '23:45:00'\n - condition: state\n entity_id: input_select.holiday\n state: Halloween\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 255\n - 85\n - 7\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 160\n - 6\n - 255",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_halloween_lighting_rotate_30_mins_after_the_hour",
"automation": "- alias: Holiday - Halloween Lighting Rotate 30 Mins after the Hour\n id: holiday_halloween_lighting_rotate_30_mins_after_the_hour\n triggers:\n trigger: time_pattern\n minutes: 30\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '15:00:00'\n before: '23:45:00'\n - condition: state\n entity_id: input_select.holiday\n state: Halloween\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 160\n - 6\n - 255\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 255\n - 85\n - 7",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_halloween_lighting_rotate_45_mins_after_the_hour",
"automation": "- alias: Holiday - Halloween Lighting Rotate 45 Mins After the Hour\n id: holiday_halloween_lighting_rotate_45_mins_after_the_hour\n triggers:\n trigger: time_pattern\n minutes: 45\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '15:00:00'\n before: '23:45:00'\n - condition: state\n entity_id: input_select.holiday\n state: Halloween\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 2\n brightness_pct: 100\n rgb_color:\n - 255\n - 85\n - 7\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 2\n brightness_pct: 100\n rgb_color: 152,39,25",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_st_patricks_day_lighting",
"automation": "- alias: Holiday - Enable St. Patricks Day Lighting\n id: holiday_enable_st_patricks_day_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: St. Patrick's Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: St. Patricks Day",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_st_patricks_day_lighting",
"automation": "- alias: Holiday - St. Patricks Day Lighting\n id: holiday_st_patricks_day_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: St. Patrick's Day\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: green\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: green",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_valentines_day_lighting",
"automation": "- alias: Holiday - Enable Valentine's Day Lighting\n id: holiday_enable_valentines_day_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Valentine's Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Valentine's Day",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_valendtines_day_lighting",
"automation": "- alias: Holiday - Valentine's Day Lighting\n id: holiday_valendtines_day_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Valentine's Day\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: deeppink\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: deeppink",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_cardinals_game_lighting",
"automation": "- alias: Holiday - Cardinals Game Lighting\n id: holiday_cardinals_game_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Cardinals Game\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: red\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: red",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_blues_game_lighting",
"automation": "- alias: Holiday - Blues Game Lighting\n id: holiday_blues_game_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Blues Game\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: blue",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_easter_lighting",
"automation": "- alias: Holiday - Enable Easter Lighting\n id: holiday_enable_easter_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Easter Sunday\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Easter",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_easter_lighting",
"automation": "- alias: Holiday - Easter Lighting\n id: holiday_easter_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Easter\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: indigo\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: tomato",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_thanksgiving_lighting",
"automation": "- alias: Holiday - Enable Thanksgiving Lighting\n id: holiday_enable_thanksgiving_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Thanksgiving Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Thanksgiving",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_thanksgiving_lighting",
"automation": "- alias: Holiday - Thanksgiving Lighting\n id: holiday_thanksgiving_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: Thanksgiving\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: darkorange\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: yellow",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_independence_day_lighting",
"automation": "- alias: Holiday - Enable Independence Day Lighting\n id: holiday_enable_independence_day_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Independence Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Independence Day",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_memorial_day_lighting",
"automation": "- alias: Holiday - Enable Memorial Day Lighting\n id: holiday_enable_memorial_day_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Memorial Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Memorial Day",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_veterans_day_lighting",
"automation": "- alias: Holiday - Enable Veterans Day Lighting\n id: holiday_enable_veterans_day_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Veterans Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Veterans Day",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_enable_labor_day_lighting",
"automation": "- alias: Holiday - Enable Labor Day Lighting\n id: holiday_enable_labor_day_lighting\n triggers:\n - trigger: state\n entity_id: calendar.holiday\n to: 'on'\n for:\n hours: 9\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: sensor.holidays_calendar\n state: Labor Day\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: Labor Day",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Holidays calendar sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.holidays_calendar",
"device_id": null
}
},
{
"name": "Holiday calendar",
"room": "home",
"type": "calendar",
"id": {
"entity_id": "calendar.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_independence_memorial_veterans_labor_day_lighting",
"automation": "- alias: Holiday - Independence / Memorial / Veterans / Labor Day Lighting\n id: holiday_independence_memorial_veterans_labor_day_lighting\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Labor Day\n - condition: state\n entity_id: input_select.holiday\n state: Memorial Day\n - condition: state\n entity_id: input_select.holiday\n state: Independence Day\n - condition: state\n entity_id: input_select.holiday\n state: Veterans Day\n actions:\n - action: light.turn_on\n entity_id: light.front_porch_left\n data:\n transition: 900\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n entity_id: light.front_porch_right\n data:\n transition: 900\n brightness_pct: 100\n color_name: red",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "holiday_turn_off_lighting_at_2a",
"automation": "- alias: Holiday - Turn Off Lighting at 2a\n id: holiday_turn_off_lighting_at_2a\n triggers:\n - trigger: time\n at: 01:59:00\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: New Year's Eve\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.front_porch_rainbow\n - delay: 00:00:60\n - action: light.turn_off\n entity_id: light.front_porch\n - delay: 00:00:60\n - action: light.turn_off\n entity_id: light.front_porch\n - delay: 00:00:90\n - action: light.turn_off\n entity_id: light.front_porch",
"config": [
{
"name": "Front porch rainbow input boolean",
"room": "front_porch",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.front_porch_rainbow",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "holiday_reset_lighting_at_4a",
"automation": "- alias: Holiday - Reset Lighting at 4a\n id: holiday_reset_lighting_at_4a\n triggers:\n - trigger: time\n at: 04:00:00\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: St. Patrick's Day\n - condition: state\n entity_id: input_select.holiday\n state: Easter\n - condition: state\n entity_id: input_select.holiday\n state: Valentine's Day\n - condition: state\n entity_id: input_select.holiday\n state: Thanksgiving\n - condition: state\n entity_id: input_select.holiday\n state: Labor Day\n - condition: state\n entity_id: input_select.holiday\n state: Memorial Day\n - condition: state\n entity_id: input_select.holiday\n state: Independence Day\n - condition: state\n entity_id: input_select.holiday\n state: Veterans Day\n - condition: state\n entity_id: input_select.holiday\n state: New Year's Eve\n - condition: state\n entity_id: input_select.holiday\n state: Cardinals Game\n - condition: state\n entity_id: input_select.holiday\n state: Blues Game\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.holiday\n option: None",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "ios_action_bedtime",
"automation": "- alias: iOS Action - Bedtime\n id: ios_action_bedtime\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Bedtime\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.bedtime",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
}
]
},
{
"id": "ios_action_arm_alarm_home",
"automation": "- alias: iOS Action - Arm Alarm Home\n id: ios_action_arm_alarm_home\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Arm Alarm Home\n actions:\n - action: alarm_control_panel.alarm_arm_home\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
}
]
},
{
"id": "ios_action_arm_alarm_away",
"automation": "- alias: iOS Action - Arm Alarm Away\n id: ios_action_arm_alarm_away\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Arm Alarm Away\n actions:\n - action: alarm_control_panel.alarm_arm_away\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
}
]
},
{
"id": "ios_action_disarm_alarm",
"automation": "- alias: iOS Action - Disarm Alarm\n id: ios_action_disarm_alarm\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Disarm Alarm\n actions:\n - action: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_toogle_garage_door",
"automation": "- alias: iOS Action - Toggle Garage Door\n id: ios_action_automation_toogle_garage_door\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Toggle Garage Door\n actions:\n - action: cover.toggle\n target:\n entity_id: cover.garage_door\n data: {}",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_toogle_fireplace",
"automation": "- alias: iOS Action - Toggle Fireplace\n id: ios_action_automation_toogle_fireplace\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Toggle Fireplace\n actions:\n - action: switch.toggle\n target:\n entity_id: switch.fireplace\n data: {}",
"config": [
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_unlock_front_door",
"automation": "- alias: iOS Action - Unlock Front Door\n id: ios_action_automation_unlock_front_door\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Unlock Front Door\n actions:\n - action: lock.unlock\n target:\n entity_id: lock.front_door\n data: {}",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_unlock_back_door",
"automation": "- alias: iOS Action - Unlock Back Door\n id: ios_action_automation_unlock_back_door\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Unlock Back Door\n actions:\n - action: lock.unlock\n target:\n entity_id: lock.back_door\n data: {}",
"config": [
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_unlock_basement_door",
"automation": "- alias: iOS Action - Unlock Basement Door\n id: ios_action_automation_unlock_basement_door\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Unlock Basement Door\n actions:\n - action: lock.unlock\n target:\n entity_id: lock.basement_door\n data: {}",
"config": [
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_lock_doors",
"automation": "- alias: iOS Action - Lock Doors\n id: ios_action_automation_lock_doors\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Lock Doors\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door\n data: {}",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_toggle_living_room_fans",
"automation": "- alias: iOS Action - Toggle Living Room Fans\n id: ios_action_automation_toggle_living_room_fans\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Toggle Living Room Fans\n actions:\n - action: fan.toggle\n target:\n entity_id: fan.living_room_fans\n data: {}",
"config": [
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_living_room_fans_increase_speed",
"automation": "- alias: iOS Action - Living Room Fans Increase Speed\n id: ios_action_automation_living_room_fans_increase_speed\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Living Room Fans Increase Speed\n actions:\n - action: fan.increase_speed\n target:\n entity_id: fan.living_room_fans\n data: {}",
"config": [
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_living_room_fans_decrease_speed",
"automation": "- alias: iOS Action - Living Room Fans Decrease Speed\n id: ios_action_automation_living_room_fans_decrease_speed\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Living Room Fans Decrease Speed\n actions:\n - action: fan.decrease_speed\n target:\n entity_id: fan.living_room_fans\n data: {}",
"config": [
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_party_mode",
"automation": "- alias: iOS Action - Party Mode\n id: ios_action_automation_party_mode\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Party Mode\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: homeassistant.toggle\n target:\n entity_id:\n - input_boolean.livingroom_rainbow\n - input_boolean.bedroom_rainbow\n - input_boolean.pop_music\n data: {}\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: Watch TV",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Bedroom rainbow input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_rainbow",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_party_mode_tv_on",
"automation": "- alias: iOS Action - Party Mode TV On\n id: ios_action_automation_party_mode_tv_on\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Party Mode\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n actions:\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: Watch TV",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
}
]
},
{
"id": "ios_action_automation_party_mode_winter",
"automation": "- alias: iOS Action - Party Mode Winter\n id: ios_action_automation_party_mode_winter\n triggers:\n - trigger: event\n event_type: ios.action_fired\n event_data:\n actionName: Party Mode\n conditions:\n - condition: state\n entity_id: sensor.season\n state: winter\n actions:\n - action: homeassistant.toggle\n target:\n entity_id:\n - input_boolean.livingroom_rainbow\n - input_boolean.bedroom_rainbow\n - input_boolean.pop_music\n data: {}\n - action: switch.toggle\n target:\n entity_id:\n - switch.fireplace\n data: {}\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: Watch TV",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Bedroom rainbow input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_rainbow",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
}
]
},
{
"id": "ios_action_unlock_doors",
"automation": "- alias: iOS Action - Unlock Doors\n id: ios_action_unlock_doors\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: unlock_doors\n actions:\n - action: lock.unlock\n target:\n entity_id:\n - lock.back_door\n - lock.front_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_unlock_front_door",
"automation": "- alias: iOS Action - Unlock Front Door\n id: ios_action_unlock_front_door\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: unlock_front_door\n actions:\n - action: lock.unlock\n target:\n entity_id:\n - lock.front_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_close_garage",
"automation": "- alias: iOS Action - Close Garage\n id: ios_action_close_garage\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: close_garage\n actions:\n - action: cover.close_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_open_garage",
"automation": "- alias: iOS Action - Open Garage\n id: ios_action_open_garage\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: open_garage\n actions:\n - action: cover.open_cover\n entity_id: cover.garage_door",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
}
]
},
{
"id": "ios_action_silence_alarm",
"automation": "- alias: iOS Action - Silence Alarm\n id: ios_action_silence_alarm\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: disarm_alarm\n actions:\n - action: alarm_control_panel.alarm_disarm\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
}
]
},
{
"id": "ios_action_enable_alarm",
"automation": "- alias: iOS Action - Enable Alarm\n id: ios_action_enable_alarm\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: arm_alarm\n actions:\n - action: alarm_control_panel.alarm_arm_away\n entity_id: alarm_control_panel.alarm",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
}
]
},
{
"id": "ios_action_siren",
"automation": "- alias: iOS Action - Siren\n id: ios_action_siren\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: siren_off\n actions:\n - action: switch.turn_off\n entity_id: switch.siren",
"config": [
{
"name": "Siren switch",
"room": "security",
"type": "switch",
"id": {
"entity_id": "switch.siren",
"device_id": null
}
}
]
},
{
"id": "ios_action_fireplace_off",
"automation": "- alias: iOS Action - Fireplace Off\n id: ios_action_fireplace_off\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: fireplace_off\n actions:\n - action: switch.turn_off\n entity_id: switch.fireplace",
"config": [
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
}
]
},
{
"id": "laundry_washing_machine_done_USER1_ios_notification",
"automation": "- alias: Laundry - Washing Machine Done USER1 iOS Notification\n id: laundry_washing_machine_done_USER1_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.washer_wash_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Washing Machine Finished\n data:\n tag: washer",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
}
]
},
{
"id": "laundry_dryer_done_USER1_ios_notification",
"automation": "- alias: Laundry - Dryer Done USER1 iOS Notification\n id: laundry_dryer_done_USER1_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.dryer_dry_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Dryer Finished\n data:\n tag: dryer",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
}
]
},
{
"id": "laundry_washing_machine_done_USER2_ios_notification",
"automation": "- alias: Laundry - Washing Machine Done USER2 iOS Notification\n id: laundry_washing_machine_done_USER2_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.washer_wash_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER2_devices\n data:\n message: Washing Machine Finished\n data:\n tag: washer",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
}
]
},
{
"id": "laundry_dryer_done_USER2_ios_notficiation",
"automation": "- alias: Laundry - Dryer Done USER2 iOS Notification\n id: laundry_dryer_done_USER2_ios_notficiation\n triggers:\n - trigger: state\n entity_id: binary_sensor.dryer_dry_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER2_devices\n data:\n message: Dryer Finished\n data:\n tag: dryer",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
}
]
},
{
"id": "laundry_washing_machine_done_audio_notification",
"automation": "- alias: Laundry - Washing Machine Done Audio Notification\n id: laundry_washing_machine_done_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.washer_wash_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '20:00:00'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Washing Machine Has Finished\"\n\n '\n media_content_type: music\n extra:\n volume: 45",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
}
]
},
{
"id": "laundry_dryer_done_audio_notification",
"automation": "- alias: Laundry - Dryer Done Audio Notification\n id: laundry_dryer_done_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.dryer_dry_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '20:00:00'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Dryer Has Finished\"\n\n '\n media_content_type: music\n extra:\n volume: 45",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
}
]
},
{
"id": "laundry_washer_run_tub_clean_notification",
"automation": "- alias: Laundry - Washer Run Tub Clean Notification\n id: laundry_washer_run_tub_clean_notification\n triggers:\n - trigger: numeric_state\n entity_id: sensor.washer_tub_clean\n above: 29\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Time to Run a Tub Clean Cycler on the Washer\n data:\n tag: washer-clean",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Washer tub clean sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer_tub_clean",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
}
]
},
{
"id": "led_clock_bedtime",
"automation": "- alias: LED Clock - Bedtime\n id: led_clock_bedtime\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_off\n entity_id:\n - light.USER1s_office_desktop_clock\n - light.living_room_clock\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_song\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_album\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_song\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_album\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/youtube\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/youtube\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/party_time\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/party_time\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/temp\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/temp",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
}
]
},
{
"id": "led_clock_household_away_mode",
"automation": "- alias: LED Clock - Household Away Mode\n id: led_clock_household_away_mode\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: light.turn_off\n entity_id:\n - light.USER1s_office_desktop_clock\n - light.living_room_clock\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_song\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_album\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_song\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_album\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/youtube\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/youtube\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/party_time\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/party_time\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
}
]
},
{
"id": "led_clock_weather_app",
"automation": "- alias: LED Clock - Weather App\n id: led_clock_weather_app\n triggers:\n - trigger: time_pattern\n minutes: /30\n - trigger: state\n entity_id: weather.REDACTED\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/weather\n payload: '{ \"icon\": \"weather_{{ states(\"sensor.weather_condition_lcd_clock_icon\")\n |regex_replace(find=''-'', replace=''_'', ignorecase=False) }}\", \"pushIcon\":\n 0, \"text\": \"{{ states(\"sensor.weather_condition_human_readable\") }}\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/weather\n payload: '{ \"icon\": \"weather_{{ states(\"sensor.weather_condition_lcd_clock_icon\")\n |regex_replace(find=''-'', replace=''_'', ignorecase=False) }}\", \"pushIcon\":\n 0, \"text\": \"{{ states(\"sensor.weather_condition_human_readable\") }}\" }'",
"config": [
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Weather condition LCD clock icon sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.weather_condition_lcd_clock_icon",
"device_id": null
}
},
{
"name": "Weather condition human readable sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.weather_condition_human_readable",
"device_id": null
}
}
]
},
{
"id": "led_clock_temperature_app",
"automation": "- alias: LED Clock - Temperature App\n id: led_clock_temperature_app\n triggers:\n - trigger: time_pattern\n minutes: /30\n - trigger: state\n entity_id: sensor.REDACTED_temperature\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/temperature\n payload: '{ \"icon\": \"{{ states(\"sensor.outdoor_temp_range\") }}\", \"pushIcon\":\n 0, \"text\": \"{{ states(\"sensor.REDACTED_temperature\") }}°F\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/temperature\n payload: '{ \"icon\": \"{{ states(\"sensor.outdoor_temp_range\") }}\", \"pushIcon\":\n 0, \"text\": \"{{ states(\"sensor.REDACTED_temperature\") }}°F\" }'",
"config": [
{
"name": "REDACTED temperature sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.REDACTED_temperature",
"device_id": null
}
},
{
"name": "Outdoor temperature range sensor",
"room": "exterior",
"type": "sensor",
"id": {
"entity_id": "sensor.outdoor_temp_range",
"device_id": null
}
}
]
},
{
"id": "led_clock_humidity_app",
"automation": "- alias: LED Clock - Humidity App\n id: led_clock_humidity_app\n triggers:\n - trigger: time_pattern\n minutes: /30\n - trigger: state\n entity_id: sensor.REDACTED_humidity\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/humidity\n payload: '{ \"icon\": \"humid_2\", \"pushIcon\": 0, \"text\": \"{{ states(\"sensor.REDACTED_humidity\")\n }}%\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/humidity\n payload: '{ \"icon\": \"humid_2\", \"pushIcon\": 0, \"text\": \"{{ states(\"sensor.REDACTED_humidity\")\n }}%\" }'",
"config": []
},
{
"id": "led_clock_mk4s_mmu3_print_progress_app",
"automation": "- alias: LED Clock - MK4S MMU3 Print Progress App\n id: led_clock_mk4s_mmu3_print_progress_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3_progress\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_mmu3_progress\n payload: '{ \"icon\": \"3d_print\", \"pushIcon\": 0, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MMU: {{ states(\"sensor.prusa_mk4s_mmu3_progress\") |round }}%\"\n }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_mmu3_progress\n payload: '{ \"icon\": \"3d_print\", \"pushIcon\": 0, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MMU: {{ states(\"sensor.prusa_mk4s_mmu3_progress\") |round }}%\"\n }'",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 progress sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_progress",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_mmu3_print_time_remaining_app",
"automation": "- alias: LED Clock - MK4S MMU3 Print Time Remaining App\n id: led_clock_mk4s_mmu3_print_time_remaining_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3_progress\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s_mmu3\n state: printing\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_mmu3_time_remaining\n payload: '{ \"icon\": \"clock\", \"pushIcon\": 2, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MMU: {{ relative_time(now() - timedelta( seconds = as_timestamp(states(''sensor.prusa_mk4s_mmu3_print_finish''))\n - as_timestamp(now()))) }}\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_mmu3_time_remaining\n payload: '{ \"icon\": \"clock\", \"pushIcon\": 2, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MMU: {{ relative_time(now() - timedelta( seconds = as_timestamp(states(''sensor.prusa_mk4s_mmu3_print_finish''))\n - as_timestamp(now()))) }}\" }'",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 progress sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_progress",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 print finish sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3_print_finish",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_mmu3_3d_print_clear_when_idle",
"automation": "- alias: LED Clock - MK4S MMU3 3D Print Clear When Idle\n id: led_clock_mk4s_mmu3_3d_print_clear_when_idle\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n to: idle\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_mmu3_progress\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_mmu3_time_remaining\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_mmu3_progress\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_mmu3_time_remaining",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_mmu3_3d_print_complete_app",
"automation": "- alias: LED Clock - MK4S MMU3 3D Print Complete App\n id: led_clock_mk4s_mmu3_3d_print_complete_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_mmu3\n from: printing\n to: finished\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_mmu3_progress\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_mmu3_time_remaining\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"3d_print_complete\", \"pushIcon\": 0, \"rainbow\": true, \"duration\":\n 60, \"text\": \"MMU: Finished\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_mmu3_progress\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_mmu3_time_remaining\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"3d_print_complete\", \"pushIcon\": 0, \"rainbow\": true, \"duration\":\n 60, \"text\": \"MMU: Finished\" }'",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S MMU3 printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_mmu3",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_print_progress_app",
"automation": "- alias: LED Clock - mk4s_ Print Progress App\n id: led_clock_mk4s_print_progress_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_progress\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_progress\n payload: '{ \"icon\": \"3d_print\", \"pushIcon\": 0, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK4: {{ states(\"sensor.prusa_mk4s_progress\") |round }}%\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_progress\n payload: '{ \"icon\": \"3d_print\", \"pushIcon\": 0, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK4: {{ states(\"sensor.prusa_mk4s_progress\") |round }}%\" }'",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S progress sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_progress",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_print_time_remaining_app",
"automation": "- alias: LED Clock - MK4S Print Time Remaining App\n id: led_clock_mk4s_print_time_remaining_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s_progress\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk4s\n state: printing\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_time_remaining\n payload: '{ \"icon\": \"clock\", \"pushIcon\": 2, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK4: {{ relative_time(now() - timedelta( seconds = as_timestamp(states(''sensor.prusa_mk4s_print_finish''))\n - as_timestamp(now()))) }}\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_time_remaining\n payload: '{ \"icon\": \"clock\", \"pushIcon\": 2, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK4: {{ relative_time(now() - timedelta( seconds = as_timestamp(states(''sensor.prusa_mk4s_print_finish''))\n - as_timestamp(now()))) }}\" }'",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
},
{
"name": "Prusa MK4S progress sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_progress",
"device_id": null
}
},
{
"name": "Prusa MK4S print finish sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s_print_finish",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_3d_print_clear_when_idle",
"automation": "- alias: LED Clock - MK4S 3D Print Clear When Idle\n id: led_clock_mk4s_3d_print_clear_when_idle\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n to: idle\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_progress\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_time_remaining\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_progress\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_time_remaining",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk4s_3d_print_complete_app",
"automation": "- alias: LED Clock - MK4S 3D Print Complete App\n id: led_clock_mk4s_3d_print_complete_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk4s\n from: printing\n to: finished\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_progress\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk4s_time_remaining\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"3d_print_complete\", \"pushIcon\": 0, \"rainbow\": true, \"duration\":\n 60, \"text\": \"MK4: Finished\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_progress\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk4s_time_remaining\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"3d_print_complete\", \"pushIcon\": 0, \"rainbow\": true, \"duration\":\n 60, \"text\": \"MK4: Finished\" }'",
"config": [
{
"name": "Prusa MK4S printer status",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk4s",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk3_5_print_progress_app",
"automation": "- alias: LED Clock - MK3.5 Print Progress App\n id: led_clock_mk3_5_print_progress_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk3_5_progress\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk3_5\n state: printing\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk3_5_progress\n payload: '{ \"icon\": \"3d_print\", \"pushIcon\": 0, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK3: {{ states(\"sensor.prusa_mk3_5_progress\") |round }}%\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk3_5_progress\n payload: '{ \"icon\": \"3d_print\", \"pushIcon\": 0, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK3: {{ states(\"sensor.prusa_mk3_5_progress\") |round }}%\" }'",
"config": [
{
"name": "Prusa MK3.5 progress sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5_progress",
"device_id": null
}
},
{
"name": "Prusa MK3.5 printer status sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk3_5_print_time_remaining_app",
"automation": "- alias: LED Clock - MK3.5 Print Time Remaining App\n id: led_clock_mk3_5_print_time_remaining_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk3_5_progress\n conditions:\n - condition: state\n entity_id: sensor.prusa_mk3_5\n state: printing\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk3_5_time_remaining\n payload: '{ \"icon\": \"clock\", \"pushIcon\": 2, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK3: {{ relative_time(now() - timedelta( seconds = as_timestamp(states(''sensor.prusa_mk3_5_print_finish''))\n - as_timestamp(now()))) }}\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk3_5_time_remaining\n payload: '{ \"icon\": \"clock\", \"pushIcon\": 2, \"color\": [255,98,0], \"repeat\":\n 3, \"text\": \"MK3: {{ relative_time(now() - timedelta( seconds = as_timestamp(states(''sensor.prusa_mk3_5_print_finish''))\n - as_timestamp(now()))) }}\" }'",
"config": [
{
"name": "Prusa MK3.5 progress sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5_progress",
"device_id": null
}
},
{
"name": "Prusa MK3.5 printer status sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5",
"device_id": null
}
},
{
"name": "Prusa MK3.5 print finish sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5_print_finish",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk3_5_3d_print_clear_when_idle",
"automation": "- alias: LED Clock - MK3.5 3D Print Clear When Idle\n id: led_clock_mk3_5_3d_print_clear_when_idle\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk3_5\n to: idle\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk3_5_progress\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk3_5_time_remaining\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk3_5_progress\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk3_5_time_remaining",
"config": [
{
"name": "Prusa MK3.5 printer status sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5",
"device_id": null
}
}
]
},
{
"id": "led_clock_mk3_5_3d_print_complete_app",
"automation": "- alias: LED Clock - MK3.5 3D Print Complete App\n id: led_clock_mk3_5_3d_print_complete_app\n triggers:\n - trigger: state\n entity_id: sensor.prusa_mk3_5\n from: printing\n to: finished\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk3_5_progress\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/mk3_5_time_remaining\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"3d_print_complete\", \"pushIcon\": 0, \"rainbow\": true, \"duration\":\n 60, \"text\": \"MK3: Finished\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk3_5_progress\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/mk3_5_time_remaining\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"3d_print_complete\", \"pushIcon\": 0, \"rainbow\": true, \"duration\":\n 60, \"text\": \"MK3: Finished\" }'",
"config": [
{
"name": "Prusa MK3.5 printer status sensor",
"room": "3d_printer",
"type": "sensor",
"id": {
"entity_id": "sensor.prusa_mk3_5",
"device_id": null
}
}
]
},
{
"id": "led_clock_washing_machine_status_app",
"automation": "- alias: LED Clock - Washing Machine Status App\n id: led_clock_washing_machine_status_app\n triggers:\n - trigger: state\n entity_id: sensor.washing_machine_time_remaining\n conditions:\n - condition: state\n entity_id: sensor.washer\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/washer\n payload: '{ \"icon\": \"washer\", \"pushIcon\": 2, \"repeat\": 3, \"color\": [0,255,255],\n \"text\": \"Washer: {{ states(\"sensor.washing_machine_time_remaining\") }}\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/washer\n payload: '{ \"icon\": \"washer\", \"pushIcon\": 2, \"repeat\": 3, \"color\": [0,255,255],\n \"text\": \"Washer: {{ states(\"sensor.washing_machine_time_remaining\") }}\" }'",
"config": [
{
"name": "Washing machine time remaining sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washing_machine_time_remaining",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
}
]
},
{
"id": "led_clock_washing_machine_done_app",
"automation": "- alias: LED Clock - Washing Machine Done App\n id: led_clock_washing_machine_done_app\n triggers:\n - trigger: state\n entity_id: binary_sensor.washer_wash_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/washer\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"washer\", \"pushIcon\": 0, \"duration\": 60, \"color\": [0,255,255],\n \"text\": \"Washer Finished\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/washer\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"washer\", \"pushIcon\": 0, \"duration\": 60, \"color\": [0,255,255],\n \"text\": \"Washer Finished\" }'",
"config": [
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Washer wash completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washer_wash_completed",
"device_id": null
}
}
]
},
{
"id": "led_clock_dryer_status_app",
"automation": "- alias: LED Clock - Dryer Status App\n id: led_clock_dryer_status_app\n triggers:\n - trigger: state\n entity_id: sensor.dryer_time_remaining\n conditions:\n - condition: state\n entity_id: sensor.dryer\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/dryer\n payload: '{ \"icon\": \"dryer\", \"pushIcon\": 2, \"repeat\": 3, \"color\": [255,0,0],\n \"text\": \"Dryer: {{ states(\"sensor.dryer_time_remaining\") }}\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/dryer\n payload: '{ \"icon\": \"dryer\", \"pushIcon\": 2, \"repeat\": 3, \"color\": [255,0,0],\n \"text\": \"Dryer: {{ states(\"sensor.dryer_time_remaining\") }}\" }'",
"config": [
{
"name": "Dryer time remaining sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer_time_remaining",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
}
]
},
{
"id": "led_clock_dryer_done_app",
"automation": "- alias: LED Clock - Dryer Done App\n id: led_clock_dryer_done_app\n triggers:\n - trigger: state\n entity_id: binary_sensor.dryer_dry_completed\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 1\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/dryer\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"dryer\", \"pushIcon\": 0, \"duration\": 60, \"color\": [255,0,0],\n \"text\": \"Dryer Finished\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/dryer\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"dryer\", \"pushIcon\": 0, \"duration\": 60, \"color\": [255,0,0],\n \"text\": \"Dryer Finished\" }'",
"config": [
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Dryer dry completed binary sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_dry_completed",
"device_id": null
}
}
]
},
{
"id": "led_clock_package_app",
"automation": "- alias: LED Clock - Package App\n id: led_clock_package_app\n triggers:\n - trigger: state\n entity_id: input_boolean.package_camera_notification\n to: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/package\n payload: '{ \"icon\": \"delivery\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [0,125,125],\n \"text\": \"Package Detected\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/package\n payload: '{ \"icon\": \"delivery\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [0,125,125],\n \"text\": \"Package Detected\" }'",
"config": [
{
"name": "Package camera notification input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.package_camera_notification",
"device_id": null
}
}
]
},
{
"id": "led_clock_package_app_clear",
"automation": "- alias: LED Clock - Package App Clear\n id: led_clock_package_app_clear\n triggers:\n - trigger: state\n entity_id: input_boolean.package_camera_notification\n to: 'off'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/package\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/package",
"config": [
{
"name": "Package camera notification input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.package_camera_notification",
"device_id": null
}
}
]
},
{
"id": "led_clock_holiday_reset_app",
"automation": "- alias: LED Clock - Holiday Reset App\n id: led_clock_holiday_reset_app\n triggers:\n - trigger: time\n at: 05:00:00\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_christmas_app",
"automation": "- alias: LED Clock - Christmas App\n id: led_clock_christmas_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: Christmas\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"christmas_tree\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"\\\n text\\\": [\\n {\\n \\\"t\\\": \\\"Merry \\\",\\n \\\"c\\\": \\\"FF0000\\\"\\n },\\n {\\n\\\n \\ \\\"t\\\": \\\"Christmas\\\",\\n \\\"c\\\": \\\"00FF00\\\"\\n }\\n] }\"\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"christmas_tree\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"\\\n text\\\": [\\n {\\n \\\"t\\\": \\\"Merry \\\",\\n \\\"c\\\": \\\"FF0000\\\"\\n },\\n {\\n\\\n \\ \\\"t\\\": \\\"Christmas\\\",\\n \\\"c\\\": \\\"00FF00\\\"\\n }\\n] }\"",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_halloween_app",
"automation": "- alias: LED Clock - Halloween App\n id: led_clock_halloween_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: Halloween\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Halloween\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"pumpkin\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"text\\\"\\\n : [\\n {\\n \\\"t\\\": \\\"Happy \\\",\\n \\\"c\\\": \\\"FFA500\\\"\\n },\\n {\\n \\\"\\\n t\\\": \\\"Halloween\\\",\\n \\\"c\\\": \\\"A020F0\\\"\\n }\\n] }\"\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"pumpkin\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"text\\\"\\\n : [\\n {\\n \\\"t\\\": \\\"Happy \\\",\\n \\\"c\\\": \\\"FFA500\\\"\\n },\\n {\\n \\\"\\\n t\\\": \\\"Halloween\\\",\\n \\\"c\\\": \\\"A020F0\\\"\\n }\\n] }\"",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_thanksgiving_app",
"automation": "- alias: LED Clock - Thanksgiving App\n id: led_clock_thanksgiving_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: Thanksgiving\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Thanksgiving\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"thanksgiving\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"\\\n text\\\": [\\n {\\n \\\"t\\\": \\\"Happy \\\",\\n \\\"c\\\": \\\"FFD700\\\"\\n },\\n {\\n\\\n \\ \\\"t\\\": \\\"Thanksgiving\\\",\\n \\\"c\\\": \\\"8B4513\\\"\\n }\\n] }\"\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"thanksgiving\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"\\\n text\\\": [\\n {\\n \\\"t\\\": \\\"Happy \\\",\\n \\\"c\\\": \\\"FFD700\\\"\\n },\\n {\\n\\\n \\ \\\"t\\\": \\\"Thanksgiving\\\",\\n \\\"c\\\": \\\"8B4513\\\"\\n }\\n] }\"",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_4th_of_july_app",
"automation": "- alias: LED Clock - 4th of July App\n id: led_clock_4th_of_july_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: Independence Day\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Independence Day\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"usa\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"text\\\": [\\n\\\n \\ {\\n \\\"t\\\": \\\"Happy \\\",\\n \\\"c\\\": \\\"FF0000\\\"\\n },\\n {\\n \\\"t\\\"\\\n : \\\"Independence\\\",\\n \\\"c\\\": \\\"FFFFFF\\\"\\n }\\n {\\n \\\"t\\\": \\\"Day\\\",\\n\\\n \\ \\\"c\\\": \\\"0000FF\\\"\\n }\\n] }\"\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: \"{ \\\"icon\\\": \\\"usa\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"text\\\": [\\n\\\n \\ {\\n \\\"t\\\": \\\"Happy \\\",\\n \\\"c\\\": \\\"FF0000\\\"\\n },\\n {\\n \\\"t\\\"\\\n : \\\"Independence\\\",\\n \\\"c\\\": \\\"FFFFFF\\\"\\n }\\n {\\n \\\"t\\\": \\\"Day\\\",\\n\\\n \\ \\\"c\\\": \\\"0000FF\\\"\\n }\\n] }\"",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_valentines_day_app",
"automation": "- alias: LED Clock - Valentines Day App\n id: led_clock_valentines_day_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: Valentine's Day\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Valentine's Day\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: '{ \"icon\": \"heart\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [255,192,203],\n \"text\": \"Happy Valentines Day\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: '{ \"icon\": \"heart\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [255,192,203],\n \"text\": \"Happy Valentines Day\" }'",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_easter_day_app",
"automation": "- alias: LED Clock - Easter App\n id: led_clock_easter_day_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: Easter\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Easter\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: '{ \"icon\": \"easter\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [173,216,230],\n \"text\": \"Happy Easter\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: '{ \"icon\": \"easter\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [173,216,230],\n \"text\": \"Happy Easter\" }'",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_new_years_app",
"automation": "- alias: LED Clock - New Years App\n id: led_clock_new_years_app\n triggers:\n - trigger: time\n at: 09:30:00\n - trigger: state\n entity_id: input_select.holiday\n to: New Year's Eve\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: New Year's Eve\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/holiday\n payload: '{ \"icon\": \"fireworks\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true,\n \"text\": \"Happy New Years!\" }'\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/holiday\n payload: '{ \"icon\": \"fireworks\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true,\n \"text\": \"Happy New Years!\" }'",
"config": [
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
}
]
},
{
"id": "led_clock_turn_on_USER1_office_when_motion_detected",
"automation": "- alias: LED Clock - Turn On USER1's Office when Motion Detected\n id: led_clock_turn_on_USER1_office_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id:\n - light.USER1s_office_desktop_clock",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "led_clock_turn_off_USER1_office_when_no_motion_detected",
"automation": "- alias: LED Clock - Turn Off USER1's Office when No Motion Detected\n id: led_clock_turn_off_USER1_office_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id:\n - light.USER1s_office_desktop_clock",
"config": [
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_music_title_apple_tv",
"automation": "- alias: LED Clock - USER1's Office Apple TV Music Title\n id: led_clock_USER1_office_music_title_apple_tv\n triggers:\n - trigger: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: power_off\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_song\n payload: '{ \"icon\": \"music\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Song: {{ state_attr(''media_player.USER1_s_office_apple_tv'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_music_title_sonos",
"automation": "- alias: LED Clock - USER1's Office Music Title Sonos\n id: led_clock_USER1_office_music_title_sonos\n triggers:\n - trigger: state\n entity_id: media_player.sonos_USER1s_office\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.sonos_USER1s_office\n state: playing\n - condition: state\n entity_id: media_player.sonos_USER1s_office\n attribute: media_content_type\n state: music\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_song\n payload: '{ \"icon\": \"music\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Song: {{ state_attr(''media_player.sonos_USER1s_office'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_album_title_apple_tv",
"automation": "- alias: LED Clock - USER1's Office Album Title Apple TV\n id: led_clock_USER1_office_album_title_apple_tv\n triggers:\n - trigger: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: power_off\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_album\n payload: '{ \"icon\": \"album\", \"pushIcon\": 2, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Artist: {{ state_attr(''media_player.USER1_s_office_apple_tv'', ''media_artist'')\n }} - Album: {{ state_attr(''media_player.USER1_s_office_apple_tv'', ''media_album_name'')\n }}\" }'",
"config": [
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_album_title_sonos",
"automation": "- alias: LED Clock - USER1's Office Album Title Sonos\n id: led_clock_USER1_office_album_title_sonos\n triggers:\n - trigger: state\n entity_id: media_player.sonos_USER1s_office\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.sonos_USER1s_office\n state: playing\n - condition: state\n entity_id: media_player.sonos_USER1s_office\n attribute: media_content_type\n state: music\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_album\n payload: '{ \"icon\": \"album\", \"pushIcon\": 2, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Artist: {{ state_attr(''media_player.sonos_USER1s_office'', ''media_artist'')\n }} - Album: {{ state_attr(''media_player.sonos_USER1s_office'', ''media_album_name'')\n }}\" }'",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_youtube_title",
"automation": "- alias: LED Clock - USER1's Office YouTube Title\n id: led_clock_USER1_office_youtube_title\n triggers:\n - trigger: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: Watch TV\n - condition: or\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: app_name\n state: YouTube\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/youtube\n payload: '{ \"icon\": \"youtube\", \"pushIcon\": 2, \"repeat\": 6, \"rainbow\": true,\n \"text\": \"{{ state_attr(''media_player.USER1_s_office_apple_tv'', ''media_artist'')\n }} : {{ state_attr(''media_player.USER1_s_office_apple_tv'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_media_remove",
"automation": "- alias: LED Clock - USER1's Office Media Remove\n id: led_clock_USER1_office_media_remove\n triggers:\n - trigger: state\n entity_id: media_player.sonos_USER1s_office\n from: playing\n for:\n hours: 0\n minutes: 0\n seconds: 10\n - trigger: state\n entity_id: media_player.USER1_s_office_apple_tv\n from: playing\n for:\n hours: 0\n minutes: 0\n seconds: 10\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_song\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/music_album\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/youtube",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_party_time",
"automation": "- alias: LED Clock - USER1's Office Party Time\n id: led_clock_USER1_office_party_time\n triggers:\n - trigger: state\n entity_id: input_boolean.office_rainbow\n to: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/party_time\n payload: '{ \"effect\": \"Plasma\", \"repeat\": 3, \"rainbow\": false, \"text\": \"Party\n Time!\", \"color\": [255,255,255] }'",
"config": [
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_party_time_off",
"automation": "- alias: LED Clock - USER1's Office Party Time Off\n id: led_clock_USER1_office_party_time_off\n triggers:\n - trigger: state\n entity_id: input_boolean.office_rainbow\n to: 'off'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/custom/party_time",
"config": [
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_do_not_disturb_on",
"automation": "- alias: LED Clock - USER1 Office Do Not Disturb On\n id: led_clock_USER1_office_do_not_disturb_on\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n - condition: state\n entity_id: person.USER1\n state: home\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"exclamation\", \"pushIcon\": 0, \"background\": [255,0,0],\n \"color\": [255,255,255], \"stack\": false, \"hold\": true, \"text\": \"Do Not Disturb\"\n }'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_do_not_disturb_off",
"automation": "- alias: LED Clock - USER1 Office Do Not Disturb Off\n id: led_clock_USER1_office_do_not_disturb_off\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'off'\n conditions:\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n - condition: state\n entity_id: person.USER1\n state: home\n actions:\n - action: button.press\n target:\n entity_id: button.USER1s_office_desktop_clock_dismiss_notification",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desktop clock dismiss button",
"room": "office",
"type": "button",
"id": {
"entity_id": "button.USER1s_office_desktop_clock_dismiss_notification",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_media_title",
"automation": "- alias: LED Clock - USER1's Office Media Title\n id: led_clock_USER1_office_media_title\n triggers:\n - trigger: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"movie\", \"pushIcon\": 2, \"duration\": 60, \"rainbow\": true,\n \"stack\": false, \"text\": \"{{ state_attr(''media_player.USER1_s_office_apple_tv'',\n ''media_title'') }}\" }'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_doorbell_USER1_office",
"automation": "- alias: LED Clock - Doorbell USER1's Office\n id: led_clock_doorbell_USER1_office\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n - condition: state\n entity_id: person.USER1\n state: home\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"doorbell\", \"pushIcon\": 0, \"duration\": 60, \"text\": \"Doorbell\"\n }'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "Front Door Doorbell",
"room": "Front Door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_doorbell",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_USER2_left_work",
"automation": "- alias: LED Clock - USER1's Office USER2 Left\n id: led_clock_USER1_office_USER2_left_work\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: Work\n to: not_home\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"cars\", \"pushIcon\": 0, \"duration\": 60, \"text\": \"USER2 ETA:\n {{states(''sensor.USER2_to_home'')}} mins\" }'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER2 to home sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2_to_home",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_USER2_is_home",
"automation": "- alias: LED Clock - USER1's Office USER2 is Home\n id: led_clock_USER1_office_USER2_is_home\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.USER1_greeting\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_greeting\n state: 'on'\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n actions:\n - delay: 00:00:30\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"house\", \"pushIcon\": 0, \"duration\": 60, \"rainbow\": true,\n \"text\": \"USER2 Home\" }'",
"config": [
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_echo_timer_done",
"automation": "- alias: LED Clock - USER1's Office Echo Timer Done\n id: led_clock_USER1_office_echo_timer_done\n mode: parallel\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_office_echo_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.basement_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bathroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.craft_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.dining_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.fitness_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.kitchen_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.USER2_s_office_timer\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_echo\n state: 'off'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"timer\", \"pushIcon\": 0, \"duration\": 60, \"rainbow\": true,\n \"text\": \"Echo Timer Finished\" }'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "USER1 office echo timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_office_echo_timer",
"device_id": null
}
},
{
"name": "Basement timer binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_timer",
"device_id": null
}
},
{
"name": "Bathroom timer binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_timer",
"device_id": null
}
},
{
"name": "Bedroom timer binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_timer",
"device_id": null
}
},
{
"name": "Craft room timer binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_timer",
"device_id": null
}
},
{
"name": "Dining room timer binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_timer",
"device_id": null
}
},
{
"name": "Fitness room timer binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_timer",
"device_id": null
}
},
{
"name": "Guest bedroom timer binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_timer",
"device_id": null
}
},
{
"name": "Kitchen timer binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_timer",
"device_id": null
}
},
{
"name": "USER2 office timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_s_office_timer",
"device_id": null
}
},
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_door_open",
"automation": "- alias: LED Clock - USER1's Office Door Open\n id: led_clock_USER1_office_door_open\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.back_door_opened\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.basement_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"door\", \"pushIcon\": 0, \"duration\": 30, \"color\": [255,0,0],\n \"text\": \"{{ trigger.to_state.attributes.friendly_name }} Opened\" }'",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_garage_door_open",
"automation": "- alias: LED Clock - USER1's Office Garage Door Open\n id: led_clock_USER1_office_garage_door_open\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closed\n to: open\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"garage_open\", \"pushIcon\": 0, \"duration\": 30, \"color\":\n [255,0,0], \"text\": \"Garage Open\" }'",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
}
]
},
{
"id": "led_clock_USER1_office_garage_door_closed",
"automation": "- alias: LED Clock - USER1's Office Garage Door Closed\n id: led_clock_USER1_office_garage_door_closed\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: open\n to: closed\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1s_office_desktop_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: USER1_office_clock/notify\n payload: '{ \"icon\": \"garage_close\", \"pushIcon\": 0, \"duration\": 30, \"color\":\n [0,255,0], \"text\": \"Garage Closed\" }'",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desktop clock light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1s_office_desktop_clock",
"device_id": null
}
}
]
},
{
"id": "led_clock_turn_on_living_room_when_motion_detected",
"automation": "- alias: LED Clock - Turn On Living Room when Motion Detected\n id: led_clock_turn_on_living_room_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n actions:\n - action: light.turn_on\n entity_id:\n - light.living_room_clock",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
}
]
},
{
"id": "led_clock_turn_off_living_room_when_no_motion_detected",
"automation": "- alias: LED Clock - Turn Off Living Room when No Motion Detected\n id: led_clock_turn_off_living_room_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: light.turn_off\n entity_id:\n - light.living_room_clock",
"config": [
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
}
]
},
{
"id": "led_clock_turn_off_living_room_when_watching_tv",
"automation": "- alias: LED Clock - urn Off Living Room LED Clock when Watching TV\n id: led_clock_turn_off_living_room_when_watching_tv\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_name\n state: YouTube\n actions:\n - action: light.turn_off\n entity_id:\n - light.living_room_clock",
"config": [
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_turn_off_living_room_when_done_watching_tv",
"automation": "- alias: LED Clock - urn Off Living Room Clock when Done Watching TV\n id: led_clock_turn_off_living_room_when_done_watching_tv\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: paused\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: idle\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n from: playing\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id:\n - light.living_room_clock",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_tv_off",
"automation": "- alias: LED Clock - Living Room TV Off\n id: led_clock_living_room_tv_off\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: power_off\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"tv_off\", \"pushIcon\": 0, \"duration\": 30, \"color\": [255,0,0],\n \"stack\": false, \"text\": \"TV Off\" }'",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_watch_tv",
"automation": "- alias: LED Clock - Living Room Watch TV\n id: led_clock_living_room_watch_tv\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: Watch TV\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"tv\", \"pushIcon\": 0, \"duration\": 30, \"rainbow\": true, \"stack\":\n false, \"text\": \"TV\" }'\n - delay: 00:00:20\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n payload: '{ \"icon\": \"tv\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"TV\" }'",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_nintendo_switch",
"automation": "- alias: LED Clock - Living Room Nintendo Switch\n id: led_clock_living_room_nintendo_switch\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: Play Nintendo Switch\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: \"{ \\\"icon\\\": \\\"mario\\\", \\\"pushIcon\\\": 0, \\\"duration\\\": 30, \\\"stack\\\"\\\n : false, \\\"text\\\": [\\n {\\n \\\"t\\\": \\\"Nintendo \\\",\\n \\\"c\\\": \\\"FF0000\\\"\\\n \\n },\\n {\\n \\\"t\\\": \\\"Switch\\\",\\n \\\"c\\\": \\\"FFFFFF\\\"\\n }\\n] }\"\n - delay: 00:00:20\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n payload: \"{ \\\"icon\\\": \\\"mario\\\", \\\"pushIcon\\\": 0, \\\"repeat\\\": 3, \\\"text\\\":\\\n \\ [\\n {\\n \\\"t\\\": \\\"Nintendo \\\",\\n \\\"c\\\": \\\"FF0000\\\"\\n },\\n {\\n \\\n \\ \\\"t\\\": \\\"Switch\\\",\\n \\\"c\\\": \\\"FFFFFF\\\"\\n }\\n] }\"",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_xbox",
"automation": "- alias: LED Clock - Living Room Xbox\n id: led_clock_living_room_xbox\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: Play Xbox\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"xbox\", \"pushIcon\": 0, \"duration\": 30, \"color\": [0,255,0],\n \"stack\": false, \"text\": \"Xbox\" }'\n - delay: 00:00:20\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/tv_state\n payload: '{ \"icon\": \"xbox\", \"pushIcon\": 0, \"repeat\": 3, \"color\": [0,255,0],\n \"text\": \"Xbox\" }'",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_music_title_apple_tv",
"automation": "- alias: LED Clock - Living Room Music Title Apple TV\n id: led_clock_living_room_music_title_apple_tv\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_name\n state: YouTube\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_song\n payload: '{ \"icon\": \"music\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Song: {{ state_attr(''media_player.living_room_apple_tv'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_music_title_sonos_living_room",
"automation": "- alias: LED Clock - Living Room Music Title Sonos Living Room\n id: led_clock_living_room_music_title_sonos_living_room\n triggers:\n - trigger: state\n entity_id: media_player.sonos_living_room\n attribute: media_title\n conditions:\n - condition: state\n entity_id: media_player.sonos_living_room\n state: playing\n - condition: state\n entity_id: media_player.sonos_living_room\n attribute: media_content_type\n state: music\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_song\n payload: '{ \"icon\": \"music\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Song: {{ state_attr(''media_player.sonos_living_room'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_music_title_sonos_surround_sound",
"automation": "- alias: LED Clock - Living Room Music Title Sonos Surround Sound\n id: led_clock_living_room_music_title_sonos_surround_sound\n triggers:\n - trigger: state\n entity_id: media_player.sonos_surround_sound\n attribute: media_title\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n state: playing\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: source_list\n state: TV\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: source\n state: TV\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: media_title\n state: TV\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_song\n payload: '{ \"icon\": \"music\", \"pushIcon\": 0, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Song: {{ state_attr(''media_player.sonos_surround_sound'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_album_title_apple_tv",
"automation": "- alias: LED Clock - Living Room Album Title Apple TV\n id: led_clock_living_room_album_title_apple_tv\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_album\n payload: '{ \"icon\": \"album\", \"pushIcon\": 2, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Artist: {{ state_attr(''media_player.living_room_apple_tv'', ''media_artist'')\n }} - Album: {{ state_attr(''media_player.living_room_apple_tv'', ''media_album_name'')\n }}\" }'",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_album_title_sonos_living_room",
"automation": "- alias: LED Clock - Living Room Album Title Sonos Living Room\n id: led_clock_living_room_album_title_sonos_living_room\n triggers:\n - trigger: state\n entity_id: media_player.sonos_living_room\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.sonos_living_room\n state: playing\n - condition: state\n entity_id: media_player.sonos_living_room\n attribute: media_content_type\n state: music\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_album\n payload: '{ \"icon\": \"album\", \"pushIcon\": 2, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Artist: {{ state_attr(''media_player.sonos_living_room'', ''media_artist'')\n }} - Album: {{ state_attr(''media_player.sonos_living_room'', ''media_album_name'')\n }}\" }'",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_album_title_sonos_surround_sound",
"automation": "- alias: LED Clock - Living Room Album Title Sonos Surround Sound\n id: led_clock_living_room_album_title_sonos_surround_sound\n triggers:\n - trigger: state\n entity_id: media_player.sonos_surround_sound\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n state: playing\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: source_list\n state: TV\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: source\n state: TV\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.sonos_surround_sound\n attribute: media_title\n state: TV\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_album\n payload: '{ \"icon\": \"album\", \"pushIcon\": 2, \"repeat\": 3, \"rainbow\": true, \"text\":\n \"Artist: {{ state_attr(''media_player.sonos_surround_sound'', ''media_artist'')\n }} - Album: {{ state_attr(''media_player.sonos_surround_sound'', ''media_album_name'')\n }}\" }'",
"config": [
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_youtube_title",
"automation": "- alias: LED Clock - Living Room YouTube Title\n id: led_clock_living_room_youtube_title\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: or\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_name\n state: YouTube\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/youtube\n payload: '{ \"icon\": \"youtube\", \"pushIcon\": 2, \"repeat\": 6, \"rainbow\": true,\n \"text\": \"{{ state_attr(''media_player.living_room_apple_tv'', ''media_artist'')\n }} : {{ state_attr(''media_player.living_room_apple_tv'', ''media_title'')\n }}\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_media_remove",
"automation": "- alias: LED Clock - Living Room Media Remove\n id: led_clock_living_room_media_remove\n triggers:\n - trigger: state\n entity_id: media_player.sonos_living_room\n from: playing\n for:\n hours: 0\n minutes: 0\n seconds: 10\n - trigger: state\n entity_id: media_player.sonos_surround_sound\n from: playing\n for:\n hours: 0\n minutes: 0\n seconds: 10\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n from: playing\n for:\n hours: 0\n minutes: 0\n seconds: 10\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_song\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/music_album\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/youtube",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_party_time",
"automation": "- alias: LED Clock - Living Room Party Time\n id: led_clock_living_room_party_time\n triggers:\n - trigger: state\n entity_id: input_boolean.livingroom_rainbow\n to: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/party_time\n payload: '{ \"effect\": \"Plasma\", \"repeat\": 3, \"rainbow\": false, \"text\": \"Party\n Time!\", \"color\": [255,255,255] }'",
"config": [
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_party_time_off",
"automation": "- alias: LED Clock - Living Room Party Time Off\n id: led_clock_living_room_party_time_off\n triggers:\n - trigger: state\n entity_id: input_boolean.livingroom_rainbow\n to: 'off'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/custom/party_time",
"config": [
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_media_title",
"automation": "- alias: LED Clock - Living Room Media Title\n id: led_clock_living_room_media_title\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_title\n for:\n hours: 0\n minutes: 0\n seconds: 1\n conditions:\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: media_content_type\n state: music\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"movie\", \"pushIcon\": 2, \"duration\": 60, \"rainbow\": false,\n \"stack\": false, \"text\": \"{{ state_attr(''media_player.living_room_apple_tv'',\n ''media_title'') }}\" }'",
"config": [
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
}
]
},
{
"id": "led_clock_doorbell_living_room",
"automation": "- alias: LED Clock - Doorbell Living Room\n id: led_clock_doorbell_living_room\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"doorbell\", \"pushIcon\": 0, \"duration\": 60, \"stack\": false,\n \"text\": \"Doorbell\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Front Door Doorbell",
"room": "Front Door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_doorbell",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_USER2_left_work",
"automation": "- alias: LED Clock - Living Room USER2 Left\n id: led_clock_living_room_USER2_left_work\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: Work\n to: not_home\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"cars\", \"pushIcon\": 0, \"duration\": 60, \"text\": \"USER2 ETA:\n {{states(''sensor.USER2_to_home'')}} mins\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "USER2 to home sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2_to_home",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_USER2_is_home",
"automation": "- alias: LED Clock - Living Room USER2 is Home\n id: led_clock_living_room_USER2_is_home\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.USER1_greeting\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_greeting\n state: 'on'\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - delay: 00:00:30\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"house\", \"pushIcon\": 0, \"duration\": 60, \"rainbow\": true,\n \"text\": \"USER2 Home\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_USER1_is_home",
"automation": "- alias: LED Clock - Living Room USER1 is Home\n id: led_clock_living_room_USER1_is_home\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.USER1_greeting\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_greeting\n state: 'off'\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - delay: 00:00:30\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"house\", \"pushIcon\": 0, \"duration\": 60, \"rainbow\": true,\n \"text\": \"USER1 Home\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_echo_timer_done",
"automation": "- alias: LED Clock - Living Room Echo Timer Done\n id: led_clock_living_room_echo_timer_done\n mode: parallel\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_office_echo_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.basement_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bathroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.craft_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.dining_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.fitness_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.kitchen_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.USER2_s_office_timer\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_echo\n state: 'off'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"timer\", \"pushIcon\": 0, \"duration\": 60, \"rainbow\": true,\n \"text\": \"Echo Timer Finished\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "USER1 office echo timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_office_echo_timer",
"device_id": null
}
},
{
"name": "Basement timer binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_timer",
"device_id": null
}
},
{
"name": "Bathroom timer binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_timer",
"device_id": null
}
},
{
"name": "Bedroom timer binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_timer",
"device_id": null
}
},
{
"name": "Craft room timer binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_timer",
"device_id": null
}
},
{
"name": "Dining room timer binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_timer",
"device_id": null
}
},
{
"name": "Fitness room timer binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_timer",
"device_id": null
}
},
{
"name": "Guest bedroom timer binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_timer",
"device_id": null
}
},
{
"name": "Kitchen timer binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_timer",
"device_id": null
}
},
{
"name": "USER2 office timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_s_office_timer",
"device_id": null
}
},
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_door_open",
"automation": "- alias: LED Clock - Living Room Door Open\n id: led_clock_living_room_door_open\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_opened\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.back_door_opened\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.basement_door_opened\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"door\", \"pushIcon\": 0, \"duration\": 30, \"color\": [255,0,0],\n \"stack\": false, \"text\": \"{{ trigger.to_state.attributes.friendly_name }} Opened\"\n }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_garage_door_open",
"automation": "- alias: LED Clock - Living Room Garage Door Open\n id: led_clock_living_room_garage_door_open\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closed\n to: open\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"garage_open\", \"pushIcon\": 0, \"duration\": 30, \"color\":\n [255,0,0], \"stack\": false, \"text\": \"Garage Open\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_garage_door_closed",
"automation": "- alias: LED Clock - Living Room Garage Door Closed\n id: led_clock_living_room_garage_door_closed\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: open\n to: closed\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"garage_close\", \"pushIcon\": 0, \"duration\": 30, \"color\":\n [0,255,0], \"stack\": false, \"text\": \"Garage Closed\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_fireplace_on",
"automation": "- alias: LED Clock - Living Room Fireplace On\n id: led_clock_living_room_fireplace_on\n triggers:\n - trigger: state\n entity_id: switch.fireplace\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"fire_2\", \"pushIcon\": 0, \"duration\": 30, \"color\": [255,98,0],\n \"stack\": false, \"text\": \"Fireplace On\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
}
]
},
{
"id": "led_clock_living_room_fireplace_off",
"automation": "- alias: LED Clock - Living Room Fireplace Off\n id: led_clock_living_room_fireplace_off\n triggers:\n - trigger: state\n entity_id: switch.fireplace\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_clock\n state: 'on'\n actions:\n - action: mqtt.publish\n data:\n topic: living_room_clock/notify\n payload: '{ \"icon\": \"fire_2\", \"pushIcon\": 0, \"duration\": 30, \"color\": [255,98,0],\n \"stack\": false, \"text\": \"Fireplace Off\" }'",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Living room clock light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_clock",
"device_id": null
}
}
]
},
{
"id": "lights_reset_exterior_garage_light_brightness_when_garage_closed",
"automation": "- alias: Lights - Reset Exterior Garage Light Brightness when Garage Closed\n id: lights_reset_exterior_garage_light_brightness_when_garage_closed\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: closed\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: light.garage_light\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 2\n transition: 330",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_exterior_garage_light_when_garage_open",
"automation": "- alias: Lights - Turn On Exterior Garage Light when Garage Open\n id: lights_turn_on_exterior_garage_light_when_garage_open\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closed\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 100",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_interior_garage_light_when_garage_closed",
"automation": "- alias: Lights - Turn Off Interior Garage Light when Garage Closed\n id: lights_turn_off_interior_garage_light_when_garage_closed\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: closed\n conditions:\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n - condition: state\n entity_id: light.garage_interior\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n data:\n transition: 330",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_interior_garage_light_when_garage_open",
"automation": "- alias: Lights - Turn On Interior Garage Light when Garage Open\n id: lights_turn_on_interior_garage_light_when_garage_open\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n from: closed\n to: open\n for:\n hours: 0\n minutes: 0\n seconds: 9\n conditions:\n - condition: state\n entity_id: input_boolean.disable_door_open_lights_on\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_interior\n data:\n brightness_pct: 100",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_exterior_garage_light_after_midnight",
"automation": "- alias: Lights - Turn Off Exterior Garage Light After Midnight\n id: lights_turn_off_exterior_garage_light_after_midnight\n triggers:\n - trigger: state\n entity_id: light.garage_light\n from: 'off'\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: time\n after: 00:00:00\n before: 07:30:00\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light\n data:\n transition: 330",
"config": [
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_exterior_garage_light_at_sunset",
"automation": "- alias: Lights - Turn On Exterior Garage Light at Sunset\n id: lights_turn_on_exterior_garage_light_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_exterior_garage_light_at_midnight",
"automation": "- alias: Lights - Turn Off Exterior Garage Light at Midnight\n id: lights_turn_off_exterior_garage_light_at_midnight\n triggers:\n - trigger: time\n at: 00:00:00\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_exterior_garage_light_at_midnight_friends_visiting_weekdays",
"automation": "- alias: Lights - Turn Off Exterior Garage Light at Midnight Friends Visiting Weekdays\n id: lights_turn_off_exterior_garage_light_at_midnight_friends_visiting_weekdays\n triggers:\n - trigger: time\n at: 00:00:00\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_front_porch_lights_at_sunset",
"automation": "- alias: Lights - Turn On Front Porch Lights at Sunset\n id: lights_turn_on_front_porch_lights_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n transition: 900\n brightness_pct: 50\n color_temp: 370",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_front_porch_lights_at_midnight",
"automation": "- alias: Lights - Turn Off Front Porch Lights at Midnight\n id: lights_turn_off_front_porch_lights_at_midnight\n triggers:\n - trigger: time\n at: '23:45:00'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: New Year's Eve\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n data:\n transition: 900\n - delay: 00:16:00\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_front_porch_lights_after_midnight",
"automation": "- alias: Lights - Turn Off Front Porch Lights After Midnight\n id: lights_turn_off_front_porch_lights_after_midnight\n triggers:\n - trigger: state\n entity_id: light.front_porch\n from: 'off'\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: time\n after: 00:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: Christmas\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.holiday\n state: New Year's Eve\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n data:\n transition: 300\n - delay: 00:06:00\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_front_porch_lights_after_2a",
"automation": "- alias: Lights - Turn Off Front Porch Lights After 2a\n id: lights_turn_off_front_porch_lights_after_2a\n triggers:\n - trigger: state\n entity_id: light.front_porch\n from: 'off'\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: time\n after: 00:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n data:\n transition: 300\n - delay: 00:06:00\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_front_yard_lighting_at_sunset",
"automation": "- alias: Lights - Turn On Front Yard Lighting at Sunset\n id: lights_turn_on_front_yard_lighting_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.front_yard_lighting",
"config": [
{
"name": "Front yard lighting switch",
"room": "front_yard",
"type": "switch",
"id": {
"entity_id": "switch.front_yard_lighting",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_front_yard_lighting_at_3a",
"automation": "- alias: Lights - Turn Off Front Yard Lighting at 3a\n id: lights_turn_off_front_yard_lighting_at_3a\n triggers:\n - trigger: time\n at: 03:00:00\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.front_yard_lighting",
"config": [
{
"name": "Front yard lighting switch",
"room": "front_yard",
"type": "switch",
"id": {
"entity_id": "switch.front_yard_lighting",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_front_yard_lighting_after_3a",
"automation": "- alias: Lights - Turn Off Front Yard Lighting after 3a\n id: lights_turn_off_front_yard_lighting_after_3a\n triggers:\n - trigger: state\n entity_id: switch.front_yard_lighting\n from: 'off'\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: time\n after: 03:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.front_yard_lighting",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
},
{
"name": "Front yard lighting switch",
"room": "front_yard",
"type": "switch",
"id": {
"entity_id": "switch.front_yard_lighting",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_back_door_lights_at_sunset",
"automation": "- alias: Lights - Turn On Back Door Lights at Sunset\n id: lights_turn_on_back_door_lights_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 2\n transition: 60",
"config": [
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_back_door_lights_at_midnight",
"automation": "- alias: Lights - Turn Off Back Door Lights at Midnight\n id: lights_turn_off_back_door_lights_at_midnight\n triggers:\n - trigger: time\n at: 00:00:00\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - delay: 00:00:30\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_back_door_lights_at_midnight_weekdays_friends_visiting",
"automation": "- alias: Lights - Turn Off Back Door Lights at Midnight Weekdays Friends Visiting\n id: lights_turn_off_back_door_lights_at_midnight_weekdays_friends_visiting\n triggers:\n - trigger: time\n at: 00:00:00\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - delay: 00:00:30\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_backyard_lighting_after_midnight",
"automation": "- alias: Lights - Turn Off Backyard Lighting After Midnight\n id: lights_turn_off_backyard_lighting_after_midnight\n triggers:\n - trigger: state\n entity_id: light.back_door\n from: 'off'\n to: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: time\n after: 00:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: switch.turn_off\n target:\n entity_id:\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_interior_lights_at_sunrise",
"automation": "- alias: Lights - Turn Off Interior Lights at Sunrise\n id: lights_turn_off_interior_lights_at_sunrise\n triggers:\n - trigger: sun\n event: sunrise\n offset: +00:45:00\n conditions:\n - condition: state\n entity_id: binary_sensor.motion\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.interior_lights",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Motion binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.motion",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_exterior_lights_at_sunrise",
"automation": "- alias: Lights - Turn Off Exterior Lights at Sunrise\n id: lights_turn_off_exterior_lights_at_sunrise\n triggers:\n - trigger: sun\n event: sunrise\n offset: +00:15:00\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.exterior_lights\n - action: switch.turn_off\n target:\n entity_id:\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - switch.front_yard_lighting\n - delay: 00:02:00\n - action: light.turn_off\n target:\n entity_id:\n - light.front_porch\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio",
"config": [
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Front yard lighting switch",
"room": "front_yard",
"type": "switch",
"id": {
"entity_id": "switch.front_yard_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Exterior Lights",
"room": "Exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_backyard_lighting_at_sunset",
"automation": "- alias: Lights - Turn On Backyard Lighting at Sunset\n id: lights_turn_on_backyard_lighting_at_sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:15:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_on_sunset\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.backyard_patio_lighting\n - switch.lower_backyard_lighting\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_patio\n data:\n brightness_pct: 10\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_deck\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_backyard_lighting_at_midnight",
"automation": "- alias: Lights - Turn Off Backyard Lighting at Midnight\n id: lights_turn_off_backyard_lighting_at_midnight\n triggers:\n - trigger: time\n at: 00:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - action: light.turn_off\n target:\n entity_id: light.backyard_patio\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - delay: 00:00:30\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_backyard_lighting_at_midnight_weekdays_friends_visiting",
"automation": "- alias: Lights - Turn Off Backyard Lighting At Midnight Weekedays Friends Visiting\n id: lights_turn_off_backyard_lighting_at_midnight_weekdays_friends_visiting\n triggers:\n - trigger: time\n at: 00:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_exterior_off_night\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - delay: 00:00:30\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_guest_bedroom_lamp_when_ceiling_is_on",
"automation": "- alias: Lights - Turn On Guest Bedroom Lamp when Ceiling is On\n id: lights_turn_on_guest_bedroom_lamp_when_ceiling_is_on\n triggers:\n - trigger: state\n entity_id: light.guest_bedroom_ceiling\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.guest_bedroom_nightstand\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.guest_bedroom_nightstand\n data:\n brightness_pct: 50",
"config": [
{
"name": "Guest bedroom ceiling light",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_ceiling",
"device_id": null
}
},
{
"name": "Guest bedroom nightstand light",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_nightstand",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_guest_bedroom_lamp_when_ceiling_is_off",
"automation": "- alias: Lights - Turn Off Guest Bedroom Lamp when Ceiling is Off\n id: lights_turn_off_guest_bedroom_lamp_when_ceiling_is_off\n triggers:\n - trigger: state\n entity_id: light.guest_bedroom_ceiling\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: light.guest_bedroom_nightstand\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.guest_bedroom_nightstand",
"config": [
{
"name": "Guest bedroom ceiling light",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_ceiling",
"device_id": null
}
},
{
"name": "Guest bedroom nightstand light",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_nightstand",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_basement_lights_when_workbench_switch_used",
"automation": "- alias: Lights - Turn On Basement Lights when Workbench Switch Used\n id: lights_turn_on_basement_lights_when_workbench_switch_used\n triggers:\n - trigger: state\n entity_id: light.work_bench_light\n from: 'off'\n to: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lamp\n data:\n brightness_pct: 100",
"config": [
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_basement_lights_when_laundry_room_switch_used",
"automation": "- alias: Lights - Turn On Basement Lights when Laundry Room Switch Used\n id: lights_turn_on_basement_lights_when_laundry_room_switch_used\n triggers:\n - trigger: state\n entity_id: light.laundry_room_light\n from: 'off'\n to: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lamp\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n data:\n brightness_pct: 25",
"config": [
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_basement_lights_when_laundry_switch_used",
"automation": "- alias: Lights - Turn Off Basement Lights when Laundry Switch Used\n id: lights_turn_off_basement_lights_when_laundry_switch_used\n triggers:\n - trigger: state\n entity_id: light.laundry_room_light\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.basement_lighting\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lamp\n - action: light.turn_off\n target:\n entity_id:\n - light.work_bench_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_basement_lights_when_work_bench_switch_used",
"automation": "- alias: Lights - Turn Off Basement Lights when Work Bench Switch Used\n id: lights_turn_off_basement_lights_when_work_bench_switch_used\n triggers:\n - trigger: state\n entity_id: light.work_bench_light\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.basement_lighting\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lamp",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_media_center_lighting_random_color_every_30_mins",
"automation": "- alias: Lights - Media Center Lighting Random Color Every 30 Mins\n id: lights_media_center_lighting_random_color_every_30_mins\n triggers:\n - trigger: time_pattern\n minutes: /30\n conditions:\n - condition: state\n entity_id: light.media_center_lighting\n state: 'on'\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id: light.media_center_lighting\n data:\n transition: 300\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_lights_random_color_on",
"automation": "- alias: Lights - Living Room Lights Random Color On\n id: lights_living_room_lights_random_color_on\n triggers:\n - trigger: time_pattern\n seconds: /15\n conditions:\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_fan_lights\n - action: light.turn_on\n target:\n entity_id: light.living_room_lamp_1\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id: light.media_center_lighting\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id: light.globe\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id: light.living_room_lamp_2\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Living room fan lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_fan_lights",
"device_id": null
}
},
{
"name": "Living room lamp 1",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamp_1",
"device_id": null
}
},
{
"name": "Living room lamp 2",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamp_2",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_lights_random_color_off",
"automation": "- alias: Lights - Living Room Lights Random Color Off\n id: lights_living_room_lights_random_color_off\n triggers:\n - trigger: state\n entity_id: input_boolean.livingroom_rainbow\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n - condition: state\n entity_id: light.living_room_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights\n - delay: 00:00:05\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n transition: 15\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n entity_id: light.media_center_lighting\n data:\n transition: 15\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 15\n brightness_pct: 65\n color_temp: 366",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_lights_random_color_on",
"automation": "- alias: Lights - Bedroom Lights Random Color On\n id: lights_bedroom_lights_random_color_on\n triggers:\n - trigger: time_pattern\n seconds: /15\n conditions:\n - condition: state\n entity_id: input_boolean.bedroom_rainbow\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_closet_ceiling\n - action: light.turn_on\n data:\n brightness_pct: 100\n effect: Party\n target:\n entity_id:\n - light.USER1s_nightstand\n - light.USER2s_nightstand\n - light.closet_lamp\n - action: light.turn_on\n target:\n entity_id: light.bedroom_lamp\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Bedroom rainbow input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_rainbow",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "USER1 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER1s_nightstand",
"device_id": null
}
},
{
"name": "USER2 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER2s_nightstand",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_lights_random_color_off",
"automation": "- alias: Lights - Bedroom Lights Random Color Off\n id: lights_bedroom_lights_random_color_off\n triggers:\n - trigger: state\n entity_id: input_boolean.bedroom_rainbow\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n - condition: state\n entity_id: light.bedroom_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1s_nightstand\n - light.USER2s_nightstand\n - light.bedroom_lamp\n - delay: 00:00:05\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1s_nightstand\n - light.USER2s_nightstand\n - light.bedroom_lamp\n - light.closet_lamp\n data:\n transition: 15\n color_temp: 370\n brightness_pct: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Bedroom rainbow input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_rainbow",
"device_id": null
}
},
{
"name": "Bedroom lights group",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lights",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "USER1 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER1s_nightstand",
"device_id": null
}
},
{
"name": "USER2 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER2s_nightstand",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_lights_random_color_on",
"automation": "- alias: Lights - USER1 Office Lights Random Color On\n id: lights_USER1_office_lights_random_color_on\n triggers:\n - trigger: state\n entity_id: input_boolean.office_rainbow\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.office_rainbow\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n actions:\n - action: light.turn_on\n data:\n brightness_pct: 100\n effect: Party\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n - light.moon_globe\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_s_office_ceiling",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "USER1 office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_s_office_ceiling",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Moon globe light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.moon_globe",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_lamp_random_color",
"automation": "- alias: Lights - USER1's Office Lamp Random Color\n id: lights_USER1_office_lamp_random_color\n triggers:\n - trigger: time_pattern\n seconds: /15\n conditions:\n - condition: state\n entity_id: input_boolean.office_rainbow\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.office_lamp\n - light.USER1_office_desk_accent\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "Office lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lamp",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_random_color_off",
"automation": "- alias: Lights - USER1 Office Random Color Off\n id: lights_USER1_office_random_color_off\n triggers:\n - trigger: state\n entity_id: input_boolean.office_rainbow\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n - condition: state\n entity_id: light.office_lamp\n state: 'on'\n - condition: state\n entity_id: light.moon_globe\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.office_lamp\n data:\n transition: 5\n color_temp: 370\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.moon_globe\n data:\n brightness_pct: 10\n color_temp: 238\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n brightness_pct: 80\n color_temp: 370",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "Office lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lamp",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Moon globe light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.moon_globe",
"device_id": null
}
}
]
},
{
"id": "lights_front_porch_lights_random_color_on",
"automation": "- alias: Lights - Front Porch Lights Random Color On\n id: lights_front_porch_lights_random_color_on\n triggers:\n - trigger: time_pattern\n seconds: /15\n conditions:\n - condition: state\n entity_id: input_boolean.front_porch_rainbow\n state: 'on'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.bedtime\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.front_porch_left\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id: light.front_porch_right\n data:\n transition: 5\n hs_color:\n - '{{ (range(0, 360)|random) }}'\n - '100'\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "Front porch rainbow input boolean",
"room": "front_porch",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.front_porch_rainbow",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Front porch left light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_left",
"device_id": null
}
},
{
"name": "Front porch right light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_right",
"device_id": null
}
}
]
},
{
"id": "lights_front_porch_lights_random_color_off",
"automation": "- alias: Lights - Front Porch Lights Random Color Off\n id: lights_front_porch_lights_random_color_off\n triggers:\n - trigger: state\n entity_id: input_boolean.front_porch_rainbow\n to: 'off'\n conditions:\n - condition: state\n entity_id: light.front_porch\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.front_porch\n - delay: 00:00:01\n - action: light.turn_on\n entity_id: light.front_porch\n data:\n transition: 15\n brightness_pct: 50\n color_temp: 370",
"config": [
{
"name": "Front porch rainbow input boolean",
"room": "front_porch",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.front_porch_rainbow",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_desk_lamp_do_not_disturb_on",
"automation": "- alias: Lights - USER1 Office Desk Lamp Do Not Disturb On\n id: lights_USER1_office_desk_lamp_do_not_disturb_on\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 50\n color_name: red",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_accent_light_do_not_disturb_on",
"automation": "- alias: Lights - USER1's Office Accent Light Do Not Disturb On\n id: lights_USER1_office_accent_light_do_not_disturb_on\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closed\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n brightness_pct: 100\n color_name: red",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_desk_lamp_do_not_disturb_off_daytime_blinds_open",
"automation": "- alias: Lights - USER1 Office Desk Lamp Do Not Disturb Off Daytime Blinds Open\n id: lights_USER1_office_desk_lamp_do_not_disturb_off_daytime_blinds_open\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'off'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: light.USER1_office_desk_lamp\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: open\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: opening\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 370\n - delay: 00:00:05\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_desk_lamp",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_desk_lamp_do_not_disturb_off_daytime_blinds_closed",
"automation": "- alias: Lights - USER1 Office Desk Lamp Do Not Disturb Off Daytime Blinds Closed\n id: lights_USER1_office_desk_lamp_do_not_disturb_off_daytime_blinds_closed\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'off'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: light.USER1_office_desk_lamp\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closed\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 370",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_accent_light_do_not_disturb_off_daytime_blinds_closed",
"automation": "- alias: Lights - USER1's Office Accent Light Do Not Disturb Off Daytime Blinds Closed\n id: lights_USER1_office_accent_light_do_not_disturb_off_daytime_blinds_closed\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'off'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: light.USER1_office_desk_accent\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closed\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n brightness_pct: 80\n color_temp: 370",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_desk_lamp_do_not_disturb_off_night",
"automation": "- alias: Lights - USER1 Office Desk Lamp Do Not Disturb Off Night\n id: lights_USER1_office_desk_lamp_do_not_disturb_off_night\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'off'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: light.USER1_office_desk_lamp\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 370",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
}
]
},
{
"id": "lights_USER1_office_accent_light_do_not_disturb_off_night",
"automation": "- alias: Lights - USER1's Office Accent Light Do Not Disturb Off Night\n id: lights_USER1_office_accent_light_do_not_disturb_off_night\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n to: 'off'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: light.USER1_office_desk_accent\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n brightness_pct: 80\n color_temp: 370",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
}
]
},
{
"id": "lights_set_default_color_temp_370",
"automation": "- alias: Lights - Set Default Color Temp 370\n id: lights_set_default_color_temp_370\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - light.globe\n - light.USER1s_nightstand\n - light.USER2s_nightstand\n - light.bedroom_lamp\n - light.closet_lamp\n - light.office_lamp\n - light.USER1_office_desk_lamp\n - light.USER1_office_desk_accent\n - light.living_room_lamps\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 6\n conditions:\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.bedroom_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.office_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n state: 'off'\n - condition: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.bathroom_sink_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.upstairs_bathrooom_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.utility_sink_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.washing_machine_water_sensor\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id: '{{ trigger.entity_id }}'\n data:\n color_temp: 370",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Bedroom rainbow input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_rainbow",
"device_id": null
}
},
{
"name": "Office lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lamp",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "USER1 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER1s_nightstand",
"device_id": null
}
},
{
"name": "USER2 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER2s_nightstand",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_sensor",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_sensor",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathrooom_water_sensor",
"device_id": null
}
},
{
"name": "Utility sink water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.utility_sink_water_sensor",
"device_id": null
}
},
{
"name": "Washing machine water sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_grow_light_after_16_hours",
"automation": "- alias: Lights - Turn Off Grow Light After 16 Hours\n id: lights_turn_off_grow_light_after_16_hours\n triggers:\n - trigger: sun\n event: sunrise\n offset: '+16:00:00'\n conditions:\n - condition: state\n entity_id: switch.grow_light\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_grow_light\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.grow_light",
"config": [
{
"name": "Disable grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_grow_light",
"device_id": null
}
},
{
"name": "Grow light switch",
"room": "home",
"type": "switch",
"id": {
"entity_id": "switch.grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_grow_light_at_sunrise",
"automation": "- alias: Lights - Turn On Grow Light at Sunrise\n id: lights_turn_on_grow_light_at_sunrise\n triggers:\n - trigger: sun\n event: sunrise\n conditions:\n - condition: state\n entity_id: switch.grow_light\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_grow_light\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.grow_light",
"config": [
{
"name": "Disable grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_grow_light",
"device_id": null
}
},
{
"name": "Grow light switch",
"room": "home",
"type": "switch",
"id": {
"entity_id": "switch.grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_bedroom_grow_light_at_10a",
"automation": "- alias: Lights - Turn On Bedroom Grow Light at 10a\n id: lights_turn_on_bedroom_grow_light_at_10a\n triggers:\n - trigger: time\n at: '10:05:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_bedroom_grow_light\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: summer\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id: light.closet_lamp\n data:\n brightness_pct: 100\n effect: Plantgrowth\n - delay:\n seconds: 30\n - action: light.turn_on\n target:\n entity_id: light.closet_lamp\n data:\n brightness_pct: 100\n effect: Plantgrowth",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable bedroom grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_bedroom_grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_bedroom_grow_light_when_home",
"automation": "- alias: Lights - Turn Off Bedroom Grow Light When Home\n id: lights_turn_off_bedroom_grow_light_when_home\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n state: 'on'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.disable_bedroom_grow_light\n state: 'off'\n - condition: state\n entity_id: light.closet_lamp\n attribute: effect\n state: Plantgrowth\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: summer\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.closet_lamp",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Disable bedroom grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_bedroom_grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_bedroom_grow_light_when_away",
"automation": "- alias: Lights - Turn On Bedroom Grow Light When Away\n id: lights_turn_on_bedroom_grow_light_when_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 16\n seconds: 0\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_bedroom_grow_light\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n attribute: effect\n state: Plantgrowth\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: summer\n actions:\n - action: light.turn_on\n target:\n entity_id: light.closet_lamp\n data:\n brightness_pct: 100\n effect: Plantgrowth\n - delay:\n seconds: 30\n - action: light.turn_on\n target:\n entity_id: light.closet_lamp\n data:\n brightness_pct: 100\n effect: Plantgrowth",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Disable bedroom grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_bedroom_grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_on_bedroom_grow_light_at_sunrise_vacation_mode",
"automation": "- alias: Lights - Turn On Bedroom Grow Light at Sunrise Vacation Mode\n id: lights_turn_on_bedroom_grow_light_at_sunrise_vacation_mode\n triggers:\n - trigger: sun\n event: sunrise\n offset: +00:46:00\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n state: 'off'\n - condition: state\n entity_id: group.household\n state: not_home\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_bedroom_grow_light\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: summer\n actions:\n - action: light.turn_on\n target:\n entity_id: light.closet_lamp\n data:\n brightness_pct: 100\n effect: Plantgrowth\n - delay:\n seconds: 30\n - action: light.turn_on\n target:\n entity_id: light.closet_lamp\n data:\n brightness_pct: 100\n effect: Plantgrowth",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable bedroom grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_bedroom_grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_turn_off_bedroom_grow_light_after_16_hours",
"automation": "- alias: Lights - Turn Off Bedroom Grow Light After 16 Hours\n id: lights_turn_off_bedroom_grow_light_after_16_hours\n triggers:\n - trigger: sun\n event: sunrise\n offset: '+16:00:00'\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n state: 'on'\n - condition: state\n entity_id: group.household\n state: not_home\n - condition: state\n entity_id: input_boolean.disable_bedroom_grow_light\n state: 'off'\n - condition: state\n entity_id: light.closet_lamp\n attribute: effect\n state: Plantgrowth\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.season\n state: summer\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.closet_lamp",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Season sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.season",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Disable bedroom grow light input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_bedroom_grow_light",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_lights_on_pico_remote",
"automation": "- alias: Lights - Living Room Lights On Pico Remote\n id: lights_living_room_lights_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43846935\n button_number: 2\n action: press\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n brightness_pct: 65\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_lights_off_pico_remote",
"automation": "- alias: Lights - Living Room Lights Off Pico Remote\n id: lights_living_room_lights_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43846935\n button_number: 4\n action: press\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_lights_increase_brightness_pico_remote",
"automation": "- alias: Lights - Living Room Lights Increase Brightness Pico Remote\n id: lights_living_room_lights_increase_brightness_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43846935\n button_number: 5\n action: press\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n brightness_step_pct: 10\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_lights_decrease_brightness_pico_remote",
"automation": "- alias: Lights - Living Room Lights Decrease Brightness Pico Remote\n id: lights_living_room_lights_decrease_brightness_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 43846935\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: light.living_room_accent_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n brightness_step_pct: -10\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_fan_lights_on_pico_remote",
"automation": "- alias: Lights - Living Room Fan Lights On Pico Remote\n id: lights_living_room_fan_lights_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 2\n action: press\n conditions:\n - condition: state\n entity_id: light.living_room_fan_lights\n state: 'off'\n actions:\n - delay:\n seconds: 1\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_fan_lights\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room fan lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_fan_lights",
"device_id": null
}
}
]
},
{
"id": "lights_living_room_fan_lights_off_pico_remote",
"automation": "- alias: Lights - Living Room Fan Lights Off Pico Remote\n id: lights_living_room_fan_lights_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 49229391\n button_number: 4\n action: press\n conditions:\n - condition: state\n entity_id: light.living_room_fan_lights\n state: 'on'\n actions:\n - delay:\n seconds: 1\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_fan_lights\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room fan lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_fan_lights",
"device_id": null
}
}
]
},
{
"id": "lights_west_living_room_fan_lights_on_pico_remote",
"automation": "- alias: Lights - West Living Room Fan Lights On Pico Remote\n id: lights_west_living_room_fan_lights_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 2\n action: press\n conditions:\n - condition: state\n entity_id: light.living_room_ceiling_west\n state: 'off'\n actions:\n - delay:\n seconds: 1\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_ceiling_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room ceiling west light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_west",
"device_id": null
}
}
]
},
{
"id": "lights_west_living_room_fan_lights_off_pico_remote",
"automation": "- alias: Lights - West Fan Living Room Lights Off Pico Remote\n id: lights_west_living_room_fan_lights_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 91525691\n button_number: 4\n action: press\n conditions:\n - condition: state\n entity_id: light.living_room_ceiling_west\n state: 'on'\n actions:\n - delay:\n seconds: 1\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_west\n - delay:\n seconds: 1",
"config": [
{
"name": "Living room ceiling west light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_west",
"device_id": null
}
}
]
},
{
"id": "lights_basement_lights_on_pico_remote",
"automation": "- alias: Lights - Basement Lights On Pico Remote\n id: lights_basement_lights_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 42010030\n button_number: 2\n action: press\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lamp\n data:\n brightness_pct: 100\n - delay:\n seconds: 1",
"config": [
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_basement_lights_off_pico_remote",
"automation": "- alias: Lights - Basement Lights Off Pico Remote\n id: lights_basement_lights_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 42010030\n button_number: 4\n action: press\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lighting\n - delay:\n seconds: 1",
"config": [
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
}
]
},
{
"id": "lights_basement_lights_increase_brightness_pico_remote",
"automation": "- alias: Lights - Basement Lights Increase Brightness Pico Remote\n id: lights_basement_lights_increase_brightness_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 42010030\n button_number: 5\n action: press\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_step_pct: 10\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_step_pct: 10\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n data:\n brightness_step_pct: 10\n - delay:\n seconds: 1",
"config": [
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_basement_lights_decrease_brightness_pico_remote",
"automation": "- alias: Lights - Basement Lights Decrease Brightness Pico Remote\n id: lights_basement_lights_decrease_brightness_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 42010030\n button_number: 6\n action: press\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: light.basement_stairs\n state: 'on'\n - condition: state\n entity_id: light.basement_lights\n state: 'on'\n - condition: state\n entity_id: light.work_bench_light\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_step_pct: -10\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_step_pct: -10\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n data:\n brightness_step_pct: -10\n - delay:\n seconds: 1",
"config": [
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_basement_lights_on_center_pico_button",
"automation": "- alias: Lights - Basement Lights On Center Pico Button\n id: lights_basement_lights_on_center_pico_button\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 42010030\n button_number: 3\n action: press\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: light.basement_stairs\n state: 'off'\n - condition: state\n entity_id: light.basement_lights\n state: 'off'\n - condition: state\n entity_id: light.work_bench_light\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n - action: light.turn_on\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lamp\n - delay:\n seconds: 1",
"config": [
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "lights_basement_lights_off_center_pico_button",
"automation": "- alias: Lights - Basement Lights Off Center Pico Button\n id: lights_basement_lights_off_center_pico_button\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 42010030\n button_number: 3\n action: press\n conditions:\n - condition: state\n entity_id: light.basement_lighting\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lighting\n - delay:\n seconds: 1",
"config": [
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_closet_lights_on_pico_remote",
"automation": "- alias: Lights - Bedroom Closet Lights On Pico Remote\n id: lights_bedroom_closet_lights_on_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 92034753\n button_number: 2\n action: press\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_lights\n data:\n brightness_pct: 100\n color_temp: 370",
"config": [
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_closet_lights_off_pico_remote",
"automation": "- alias: Lights - Bedroom Closet Lights Off Pico Remote\n id: lights_bedroom_closet_lights_off_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 92034753\n button_number: 4\n action: press\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_closet_lights\n - delay:\n seconds: 1",
"config": [
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_closet_lights_increase_brightness_pico_remote",
"automation": "- alias: Lights - Bedroom Closet Lights Increase Brightness Pico Remote\n id: lights_bedroom_closet_lights_increase_brightness_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 92034753\n button_number: 5\n action: press\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_lights\n data:\n brightness_step_pct: 20\n - delay:\n seconds: 1",
"config": [
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_closet_lights_decrease_brightness_pico_remote",
"automation": "- alias: Lights - Bedroom Closet Lights Decrease Brightness Pico Remote\n id: lights_bedroom_closet_lights_decrease_brightness_pico_remote\n triggers:\n - trigger: event\n event_type: lutron_caseta_button_event\n event_data:\n serial: 92034753\n button_number: 6\n action: press\n conditions:\n - condition: state\n entity_id: light.bedroom_closet_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_lights\n data:\n brightness_step_pct: -20\n - delay:\n seconds: 1\n mode: single\n max_exceeded: silent",
"config": [
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_lamps_dimmer",
"automation": "- alias: Lights - Bedroom Lamps Dimmer\n id: lights_bedroom_lamps_dimmer\n triggers:\n - trigger: mqtt\n topic: zigbee2mqtt/Bedroom Lamps Dimmer\n conditions:\n - condition: template\n value_template: '{{ trigger.payload_json.action == \"brightness_move_to_level\"}}'\n actions:\n - data:\n entity_id: light.bedroom_lamps\n brightness: '{{ trigger.payload_json.action_level }}'\n transition: '{{ 0.7 }}'\n action: light.turn_on\n mode: single\n max_exceeded: silent",
"config": [
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
}
]
},
{
"id": "lights_bedroom_ceiling_dimmer",
"automation": "- alias: Lights - Bedroom Ceiling Dimmer\n id: lights_bedroom_ceiling_dimmer\n triggers:\n - trigger: mqtt\n topic: zigbee2mqtt/Bedroom Ceiling Dimmer\n conditions:\n - condition: template\n value_template: '{{ trigger.payload_json.action == \"brightness_move_to_level\"}}'\n actions:\n - data:\n entity_id: light.bedroom_ceiling\n brightness: '{{ trigger.payload_json.action_level }}'\n transition: '{{ 0.7 }}'\n action: light.turn_on",
"config": [
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_locks",
"automation": "- alias: Location - Household Away Mode Locks\n id: location_household_away_mode_locks\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_helpers",
"automation": "- alias: Location - Household Away Mode Helpers\n id: location_household_away_mode_helpers\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.guest_mode\n - input_boolean.office_rainbow\n - input_boolean.livingroom_rainbow\n - input_boolean.front_porch_rainbow\n - input_boolean.pop_music\n - input_boolean.jazz_music\n - input_boolean.chill_music\n - input_boolean.electronic_music\n - input_boolean.classical_music\n - input_boolean.group_all_sonos",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Front porch rainbow input boolean",
"room": "front_porch",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.front_porch_rainbow",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Electronic music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.electronic_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
},
{
"name": "Group all Sonos input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.group_all_sonos",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_switches",
"automation": "- alias: Location - Household Away Mode Switches\n id: location_household_away_mode_switches\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.USER1s_office_air_purifier\n - switch.lower_backyard_lighting\n - switch.backyard_patio_lighting\n - switch.fireplace\n - switch.bug_zapper\n - switch.USER1s_office_desktop_clock_display",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 office air purifier switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_air_purifier",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Fireplace switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.fireplace",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Bug zapper switch",
"room": "exterior",
"type": "switch",
"id": {
"entity_id": "switch.bug_zapper",
"device_id": null
}
},
{
"name": "USER1s office desktop clock display switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_desktop_clock_display",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_fans",
"automation": "- alias: Location - Household Away Mode Fans\n id: location_household_away_mode_fans\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: fan.turn_off\n target:\n entity_id:\n - fan.USER1s_office_fan\n - fan.living_room_east\n - fan.living_room_west",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_media",
"automation": "- alias: Location - Household Away Mode Media\n id: location_household_away_mode_media\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 0\n seconds: 45\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: power_off\n - action: select.select_option\n data:\n entity_id: select.bedroom_tv_activities\n option: power_off\n - action: select.select_option\n data:\n entity_id: select.USER1_s_office_tv_activities\n option: power_off\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: None\n - action: media_player.media_stop\n target:\n entity_id:\n - media_player.sonos_surround_sound\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_craft_room\n - media_player.sonos_fitness_room\n - media_player.sonos_backyard_patio\n - media_player.sonos_roam",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
},
{
"name": "Sonos Roam",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_roam",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Bedroom TV activities select",
"room": "bedroom",
"type": "select",
"id": {
"entity_id": "select.bedroom_tv_activities",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_lights",
"automation": "- alias: Location - Household Away Mode Lights\n id: location_household_away_mode_lights\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: light.interior_lights\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.interior_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_interior\n - delay: 00:00:60\n - action: light.turn_off\n target:\n entity_id:\n - light.interior_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_deck\n - action: light.turn_off\n target:\n entity_id:\n - light.backyard_patio",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Garage interior light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_interior",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
}
]
},
{
"id": "location_household_away_mode_blinds",
"automation": "- alias: Location - Household Away Mode Blinds\n id: location_household_away_mode_blinds\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.kitchen_blinds\n state: open\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: open\n - condition: state\n entity_id: cover.stairs_blinds\n state: open\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.stairs_blinds\n - delay: 00:00:15\n - action: cover.close_cover\n data:\n entity_id:\n - cover.bedroom_closet_blinds\n - delay: 00:00:15\n - action: cover.close_cover\n data:\n entity_id:\n - cover.kitchen_blinds",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen blinds",
"room": "kitchen",
"type": "cover",
"id": {
"entity_id": "cover.kitchen_blinds",
"device_id": null
}
},
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Stairs blinds",
"room": "stairs",
"type": "cover",
"id": {
"entity_id": "cover.stairs_blinds",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_from_walking_unlock_doors_turn_on_garage_light",
"automation": "- alias: Location - USER1 Home from Waling Unlock Doors Turn On Garage Light\n id: location_USER1_home_from_walking_unlock_doors_turn_on_garage_light\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_away_driving\n state: 'off'\n actions:\n - action: lock.unlock\n target:\n entity_id:\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_from_driving_unlock_door",
"automation": "- alias: Location - USER1 Home from Driving Unlock Door\n id: location_USER1_home_from_driving_unlock_door\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_away_driving\n state: 'on'\n - condition: state\n entity_id: lock.back_door\n state: locked\n actions:\n - action: lock.unlock\n target:\n entity_id:\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_after_USER1_home_lock_doors",
"automation": "- alias: Location - After USER1 Home Lock Doors\n id: location_after_USER1_home_lock_doors\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.front_door_opened\n state: 'off'\n - condition: state\n entity_id: binary_sensor.back_door_opened\n state: 'off'\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.back_door\n - lock.front_door\n - lock.basement_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_from_walking_unlock_doors",
"automation": "- alias: Location - USER2 Home from Walking Unlock Doors\n id: location_USER2_home_from_walking_unlock_doors\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away_driving\n state: 'off'\n actions:\n - action: lock.unlock\n target:\n entity_id:\n - lock.back_door\n - lock.front_door\n - lock.basement_door",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_from_driving_unlock_door",
"automation": "- alias: Location - USER2 Home from Driving Unlock Door\n id: location_USER2_home_from_driving_unlock_door\n triggers:\n - trigger: state\n entity_id: person.USER2\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_auto_garage\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away_driving\n state: 'on'\n - condition: state\n entity_id: lock.back_door\n state: locked\n actions:\n - action: lock.unlock\n target:\n entity_id:\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_lock_doors",
"automation": "- alias: Location - USER2 Home Lock Doors\n id: location_USER2_home_lock_doors\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.front_door_opened\n state: 'off'\n - condition: state\n entity_id: binary_sensor.back_door_opened\n state: 'off'\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.back_door\n - lock.front_door\n - lock.basement_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_turn_on_lights",
"automation": "- alias: Location - USER1 Home Turn On Lights\n id: location_USER1_home_turn_on_lights\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n color_temp: 370\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 25\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n color_temp: 366\n brightness_pct: 65",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_reset_front_porch_lights_brightness",
"automation": "- alias: Location - USER1 Home Reset Front Porch Lights Brightness\n id: location_USER1_home_reset_front_porch_lights_brightness\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 50\n transition: 120",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_reset_back_door_lights_brightness",
"automation": "- alias: Location - USER1 Home Reset Back Door Lights Brightness\n id: location_USER1_home_reset_back_door_lights_brightness\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 2\n transition: 120",
"config": [
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_dim_garage_light_after_16_mins",
"automation": "- alias: Location - USER1 Home Dim Garage Light after 16 Mins\n id: location_USER1_home_dim_garage_light_after_16_mins\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_turn_on_lights",
"automation": "- alias: Location - USER2 Home Turn On Lights\n id: location_USER2_home_turn_on_lights\n triggers:\n - trigger: state\n entity_id: person.USER2\n to: home\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n color_temp: 370\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 25\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n color_temp: 366\n brightness_pct: 65",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_from_work_turn_on_lights",
"automation": "- alias: Location - USER2 Home from Work Turn On Lights\n id: location_USER2_home_from_work_turn_on_lights\n triggers:\n - trigger: state\n entity_id: person.USER2\n to: home\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: time\n after: '15:45:00'\n before: '17:30:00'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_lights\n data:\n brightness_pct: 25\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1s_nightstand\n data:\n transition: 90\n brightness_pct: 50\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2s_nightstand\n data:\n transition: 90\n brightness_pct: 50\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_lamp\n data:\n transition: 90\n brightness_pct: 50\n - action: light.turn_on\n target:\n entity_id:\n - light.closet_lamp\n data:\n transition: 90\n brightness_pct: 50",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER1 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER1s_nightstand",
"device_id": null
}
},
{
"name": "USER2 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER2s_nightstand",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_reset_front_porch_lights_brightness",
"automation": "- alias: Location - USER2 Home Reset Front Porch Lights Brightness\n id: location_USER2_home_reset_front_porch_lights_brightness\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_select.holiday\n state: None\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.front_porch\n data:\n brightness_pct: 50\n transition: 120",
"config": [
{
"name": "Front porch light",
"room": "front_porch",
"type": "light",
"id": {
"entity_id": "light.front_porch",
"device_id": null
}
},
{
"name": "Holiday input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.holiday",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_reset_back_door_lights_brightness",
"automation": "- alias: Location - USER2 Home Reset Back Door Lights Brightness\n id: location_USER2_home_reset_back_door_lights_brightness\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.back_door\n data:\n brightness_pct: 2\n transition: 120",
"config": [
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_dim_garage_light_after_16_mins",
"automation": "- alias: Location - USER2 Home Dim Garage Light after 16 Mins\n id: location_USER2_home_dim_garage_light_after_16_mins\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.garage_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
}
]
},
{
"id": "location_USER1_away_shut_off_office",
"automation": "- alias: Location - USER1 Away Shut Off Office\n id: location_USER1_away_shut_off_office\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: switch.turn_off\n target:\n entity_id:\n - switch.USER1s_office_air_purifier\n - switch.USER1s_office_desktop_clock_display\n - action: fan.turn_off\n target:\n entity_id:\n - fan.USER1s_office_fan\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_lights\n - action: select.select_option\n data:\n entity_id: select.USER1_s_office_tv_activities\n option: power_off",
"config": [
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "USER1 office air purifier switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_air_purifier",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1s office desktop clock display switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_desktop_clock_display",
"device_id": null
}
}
]
},
{
"id": "location_USER1_away_close_blinds",
"automation": "- alias: Location - USER1 Away Close Blinds\n id: location_USER1_away_close_blinds\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1_s_office_blinds",
"config": [
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
}
]
},
{
"id": "location_USER1_away_shut_off_office_window_open",
"automation": "- alias: Location - USER1 Away Close Blinds Window Open\n id: location_USER1_away_shut_off_office_window_open\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'off'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id: cover.USER1s_office_blinds_right\n position: 45\n - action: notify.USER1_devices\n data:\n message: Office Window Open!",
"config": [
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
}
]
},
{
"id": "location_USER1_away_shut_off_office_portable_ac",
"automation": "- alias: Location - USER1 Away Close Blinds Portable AC\n id: location_USER1_away_shut_off_office_portable_ac\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_window_right\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_office_portable_ac\n state: 'on'\n actions:\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER1s_office_blinds_left\n - cover.USER1s_office_blinds_center\n - action: cover.set_cover_position\n data:\n entity_id: cover.USER1s_office_blinds_right\n position: 13",
"config": [
{
"name": "USER1 office window right binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_window_right",
"device_id": null
}
},
{
"name": "USER1 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_portable_ac",
"device_id": null
}
},
{
"name": "USER1 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER1 office blinds center",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_center",
"device_id": null
}
},
{
"name": "USER1 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1s_office_blinds_right",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
}
]
},
{
"id": "location_USER2_away_shut_off_office",
"automation": "- alias: Location - USER2 Away Shut Off Office\n id: location_USER2_away_shut_off_office\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2_s_office_ceiling\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2_s_office_blinds",
"config": [
{
"name": "USER2 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2_s_office_blinds",
"device_id": null
}
},
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "location_USER2_away_shut_off_office_portable_ac",
"automation": "- alias: Location - USER2 Away Shut Off Office Portable AC\n id: location_USER2_away_shut_off_office_portable_ac\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_office_portable_ac\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2_s_office_ceiling\n - action: cover.close_cover\n data:\n entity_id:\n - cover.USER2s_office_blinds_left\n - action: cover.set_cover_position\n data:\n entity_id:\n - cover.USER2s_office_blinds_right\n position: 15",
"config": [
{
"name": "USER2 office portable AC input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_office_portable_ac",
"device_id": null
}
},
{
"name": "USER2 office blinds left",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_left",
"device_id": null
}
},
{
"name": "USER2 office blinds right",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER2s_office_blinds_right",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "location_USER1_away_lock_doors",
"automation": "- alias: Location - USER1 Away Lock Doors\n id: location_USER1_away_lock_doors\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
}
]
},
{
"id": "location_USER2_away_lock_doors",
"automation": "- alias: Location - USER2 Away Lock Doors\n id: location_USER2_away_lock_doors\n triggers:\n - trigger: state\n entity_id: input_boolean.USER2_away\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
}
]
},
{
"id": "location_turn_off_lights_when_USER2_leaves",
"automation": "- alias: Location - Turn Off Lights when USER2 Leaves\n id: location_turn_off_lights_when_USER2_leaves\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n conditions:\n - condition: time\n after: 06:00:00\n before: 07:30:00\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.interior_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.garage_light\n - delay: 00:00:30\n - action: light.turn_off\n target:\n entity_id:\n - light.back_door",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
},
{
"name": "Back door light",
"room": "back_door",
"type": "light",
"id": {
"entity_id": "light.back_door",
"device_id": null
}
},
{
"name": "Garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Interior lights group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.interior_lights",
"device_id": null
}
}
]
},
{
"id": "location_turn_on_outdoor_lighting_when_home",
"automation": "- alias: Location - Turn On Outdoor Lighting when Home\n id: location_turn_on_outdoor_lighting_when_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.backyard_patio_lighting\n - switch.lower_backyard_lighting\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_patio\n data:\n brightness_pct: 10\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_deck\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "location_turn_on_backyard_lighting_when_friends_visiting",
"automation": "- alias: Location - Turn On Backyard Lighting when Friends Visiting\n id: location_turn_on_backyard_lighting_when_friends_visiting\n triggers:\n - trigger: state\n entity_id: input_boolean.guest_mode\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: time\n after: '13:00:00'\n before: '23:59:00'\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.backyard_patio_lighting\n - switch.lower_backyard_lighting\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_patio\n data:\n brightness_pct: 10\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.backyard_deck\n data:\n brightness_pct: 2",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Lower backyard lighting switch",
"room": "backyard",
"type": "switch",
"id": {
"entity_id": "switch.lower_backyard_lighting",
"device_id": null
}
},
{
"name": "Backyard patio lighting switch",
"room": "backyard_patio",
"type": "switch",
"id": {
"entity_id": "switch.backyard_patio_lighting",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Backyard deck light",
"room": "backyard_deck",
"type": "light",
"id": {
"entity_id": "light.backyard_deck",
"device_id": null
}
},
{
"name": "Backyard patio light",
"room": "backyard_patio",
"type": "light",
"id": {
"entity_id": "light.backyard_patio",
"device_id": null
}
}
]
},
{
"id": "location_set_USER1_away_driving",
"automation": "- alias: Location - Set USER1 Away Driving\n id: location_set_USER1_away_driving\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: open\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.USER1_away_driving",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_set_USER1_away_after_1_min",
"automation": "- alias: Location - Set USER1 Away after 1 Min\n id: location_set_USER1_away_after_1_min\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.USER1_away\n - input_boolean.USER1_greeting",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
}
]
},
{
"id": "location_set_USER1_home_after_10_mins",
"automation": "- alias: Location - Set USER1 Home after 10 Mins\n id: location_set_USER1_home_after_10_mins\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 10\n seconds: 30\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.USER1_away\n - input_boolean.USER1_away_driving\n - input_boolean.USER1_greeting",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
}
]
},
{
"id": "location_set_USER2_away_driving",
"automation": "- alias: Location - Set USER2 Away Driving\n id: location_set_USER2_away_driving\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: cover.garage_door\n state: open\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.USER2_away_driving",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_set_USER2_away_after_1_min",
"automation": "- alias: Location - Set USER2 Away after 1 Min\n id: location_set_USER2_away_after_1_min\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 1\n seconds: 0\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.USER2_away\n - input_boolean.USER2_greeting",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "location_set_USER2_home_after_10_min",
"automation": "- alias: Location - Set USER2 Home after 10 Mins\n id: location_set_USER2_home_after_10_min\n triggers:\n - trigger: state\n entity_id: person.USER2\n to: home\n for:\n hours: 0\n minutes: 10\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.USER2_away\n - input_boolean.USER2_away_driving\n - input_boolean.USER2_greeting",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_driving_ios_notification",
"automation": "- alias: Location - USER1 Home Driving iOS Notification\n id: location_USER1_home_driving_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_away_driving\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: USER1 Home\n data:\n tag: USER1-location\n entity_id: camera.driveway",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
},
{
"name": "Driveway camera",
"room": "driveway",
"type": "camera",
"id": {
"entity_id": "camera.driveway",
"device_id": null
}
}
]
},
{
"id": "location_USER1_home_walking_ios_notification",
"automation": "- alias: Location - USER1 Home Walking iOS Notification\n id: location_USER1_home_walking_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_away_driving\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: USER1 Home\n data:\n tag: USER1-location\n entity_id: camera.front_porch",
"config": [
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "USER1 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_USER1_away_ios_notification",
"automation": "- alias: Location - USER1 Away iOS Notification\n id: location_USER1_away_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER1\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: USER1 Away\n data:\n tag: USER1-location",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_driving_ios_notification",
"automation": "- alias: Location - USER2 Home Driving iOS Notification\n id: location_USER2_home_driving_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away_driving\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: USER2 Home\n data:\n tag: USER2-location\n entity_id: camera.driveway",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
},
{
"name": "Driveway camera",
"room": "driveway",
"type": "camera",
"id": {
"entity_id": "camera.driveway",
"device_id": null
}
}
]
},
{
"id": "location_USER2_home_walking_ios_notification",
"automation": "- alias: Location - USER2 Home Walking iOS Notification\n id: location_USER2_home_walking_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_away_driving\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: USER2 Home\n data:\n tag: USER2-location\n entity_id: camera.front_porch",
"config": [
{
"name": "Front porch camera",
"room": "front_porch",
"type": "camera",
"id": {
"entity_id": "camera.front_porch",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 away driving input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away_driving",
"device_id": null
}
}
]
},
{
"id": "location_USER2_away_ios_notification",
"automation": "- alias: Location - USER2 Away iOS Notification\n id: location_USER2_away_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: USER2 Away\n data:\n tag: USER2-location",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "location_USER2_left_work_ios_notification",
"automation": "- alias: Location - USER2 Left Work iOS Notification\n id: location_USER2_left_work_ios_notification\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: Work\n to: not_home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: 'USER2 has left work, ETA: {{states(''sensor.USER2_to_home'')}} mins'\n data:\n tag: USER2-location",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER2 to home sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2_to_home",
"device_id": null
}
}
]
},
{
"id": "location_welcome_home_USER1_audio_greeting",
"automation": "- alias: Location - Welcome Home USER1 Audio Greeting\n id: location_welcome_home_USER1_audio_greeting\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.USER1_greeting\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '22:00:00'\n actions:\n - delay: 00:00:08\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_kitchen\n - media_player.sonos_move\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Welcome home, USER1.\"\n\n '\n media_content_type: music\n extra:\n volume: 45\n - delay: 00:00:30\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER1_greeting",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
}
]
},
{
"id": "location_notify_USER2s_office_that_USER1_is_home",
"automation": "- alias: Location - Notify USER2s Office that USER1 is Home\n id: location_notify_USER2s_office_that_USER1_is_home\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.USER1_greeting\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER2_greeting\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER2_office_occupancy\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '22:00:00'\n actions:\n - delay: 00:00:10\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_USER2s_office\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"USER1, is Home.\"\n\n '\n media_content_type: music\n extra:\n volume: 45",
"config": [
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
},
{
"name": "USER2 office occupancy binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_office_occupancy",
"device_id": null
}
}
]
},
{
"id": "location_welcome_home_USER2_audio_greeting",
"automation": "- alias: Location - Welcome Home USER2 Audio Greeting\n id: location_welcome_home_USER2_audio_greeting\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.USER2_greeting\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '22:00:00'\n actions:\n - delay: 00:00:04\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_kitchen\n - media_player.sonos_move\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Welcome home, USER2.\"\n\n '\n media_content_type: music\n extra:\n volume: 45\n - delay: 00:00:30\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER2_greeting",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "location_notify_USER1s_office_that_USER2_is_home",
"automation": "- alias: Location - Notify USER1s Office that USER2 is Home\n id: location_notify_USER1s_office_that_USER2_is_home\n triggers:\n - trigger: state\n entity_id: binary_sensor.doors\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.USER1_greeting\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_greeting\n state: 'on'\n - condition: state\n entity_id: binary_sensor.office_occupancy\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '22:00:00'\n actions:\n - delay: 00:00:10\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_USER1s_office\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"USER2, is Home.\"\n\n '\n media_content_type: music\n extra:\n volume: 45",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Office occupancy binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_occupancy",
"device_id": null
}
},
{
"name": "USER1 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_greeting",
"device_id": null
}
},
{
"name": "USER2 greeting input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_greeting",
"device_id": null
}
}
]
},
{
"id": "location_USER2_left_work_audio_notification",
"automation": "- alias: Location - USER2 Left Work Audio Notification\n id: location_USER2_left_work_audio_notification\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: Work\n to: not_home\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: person.USER2\n state: not_home\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '19:00:00'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_move\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"USER2 has left work, and\n will arrive Home in about, {{states(''sensor.USER2_to_home'')}} minutes\"\n\n '\n media_content_type: music\n extra:\n volume: 45",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "USER2 to home sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2_to_home",
"device_id": null
}
}
]
},
{
"id": "locks_doorbell_fingerprint_unlock_front_door",
"automation": "- alias: Locks - doorbell fingerprint unlock front door\n id: locks_doorbell_fingerprint_unlock_front_door\n triggers:\n - platform: event\n event_type: state_changed\n event_data:\n entity_id: event.front_door_camera_fingerprint\n conditions:\n - condition: state\n entity_id: lock.front_door\n state: locked\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.front_door_opened\n state: 'off'\n - condition: template\n value_template: \"{{\\n not trigger.event.data.old_state.attributes.get('restored',\\\n \\ false) and\\n not trigger.event.data.old_state.state == 'unavailable' and\\n\\\n \\ trigger.event.data.new_state is not none and\\n trigger.event.data.new_state.attributes.event_type\\\n \\ == 'identified' and\\n (trigger.event.data.new_state.attributes.ulp_id|default(''))\\\n \\ != '' and\\n trigger.event.data.new_state.attributes.ulp_id in ['REDACTED',\\\n \\ 'REDACTED']\\n}}\\n\"\n actions:\n - action: lock.unlock\n entity_id: lock.front_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
},
{
"name": "Front door camera fingerprint event",
"room": "front_door",
"type": "event",
"id": {
"entity_id": "event.front_door_camera_fingerprint",
"device_id": null
}
}
]
},
{
"id": "locks_lock_front_door_after_30_mins",
"automation": "- alias: Locks - Lock Front Door After 30 Mins\n id: locks_lock_front_door_after_30_mins\n triggers:\n - trigger: state\n entity_id: lock.front_door\n from: locked\n to: unlocked\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.front_door_opened\n state: 'off'\n - condition: state\n entity_id: lock.front_door\n state: unlocked\n actions:\n - action: lock.lock\n entity_id: lock.front_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Front door opened",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Front door opened binary sensor",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_opened",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
}
]
},
{
"id": "locks_lock_back_door_after_2_hours",
"automation": "- alias: Locks - Lock Back Door After 2 Hours\n id: locks_lock_back_door_after_2_hours\n triggers:\n - trigger: state\n entity_id: lock.back_door\n from: locked\n to: unlocked\n for:\n hours: 2\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.back_door_opened\n state: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - condition: state\n entity_id: lock.back_door\n state: unlocked\n actions:\n - action: lock.lock\n entity_id: lock.back_door",
"config": [
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
},
{
"name": "Back door opened binary sensor",
"room": "back_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_door_opened",
"device_id": null
}
}
]
},
{
"id": "locks_lock_basement_door_after_45_mins",
"automation": "- alias: Locks - Lock Basement Door After 45 Mins\n id: locks_lock_basement_door_after_45_mins\n triggers:\n - trigger: state\n entity_id: lock.basement_door\n from: locked\n to: unlocked\n for:\n hours: 2\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.basement_door_opened\n state: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n - condition: state\n entity_id: lock.basement_door\n state: unlocked\n actions:\n - action: lock.lock\n entity_id: lock.basement_door",
"config": [
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
},
{
"name": "Basement door opened binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_door_opened",
"device_id": null
}
}
]
},
{
"id": "locks_lock_back_door_at_2a",
"automation": "- alias: Locks - Lock Doors at 2a\n id: locks_lock_back_door_at_2a\n triggers:\n - trigger: time\n at: 02:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_lock_unlock_doors\n state: 'off'\n - condition: state\n entity_id: binary_sensor.doors\n state: 'off'\n actions:\n - action: lock.lock\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "Doors binary sensor group",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.doors",
"device_id": null
}
},
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
}
]
},
{
"id": "locks_low_battery_notification",
"automation": "- alias: Locks - Low Battery Notification\n id: locks_low_battery_notification\n mode: parallel\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.front_door_lock_batt\n - sensor.back_door_lock_batt\n - sensor.basement_door_lock_batt\n below: 30\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Low'",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Front door lock battery sensor",
"room": "front_door",
"type": "sensor",
"id": {
"entity_id": "sensor.front_door_lock_batt",
"device_id": null
}
},
{
"name": "Back door lock battery sensor",
"room": "back_door",
"type": "sensor",
"id": {
"entity_id": "sensor.back_door_lock_batt",
"device_id": null
}
},
{
"name": "Basement door lock battery sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_door_lock_batt",
"device_id": null
}
}
]
},
{
"id": "media_turn_off_lamp_1_for_tv",
"automation": "- alias: Media - Turn Off Lamp 1 for TV\n id: media_turn_off_lamp_1_for_tv\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 0\n seconds: 35\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_lamp_1\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_name\n state: YouTube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.apple.TVPhotos\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lamp_1\n data:\n transition: 5",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Living room lamp 1",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamp_1",
"device_id": null
}
}
]
},
{
"id": "media_turn_off_lamp_1_for_game_consoles",
"automation": "- alias: Media - Turn Off Lamp 1 for Game Consoles\n id: media_turn_off_lamp_1_for_game_consoles\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: Play Xbox\n for:\n hours: 0\n minutes: 2\n seconds: 5\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: Play Nintendo Switch\n for:\n hours: 0\n minutes: 2\n seconds: 5\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_lamp_1\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lamp_1\n data:\n transition: 5",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room lamp 1",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamp_1",
"device_id": null
}
}
]
},
{
"id": "media_turn_on_lamp_1_for_tv",
"automation": "- alias: Media - Turn On Lamp 1 for TV\n id: media_turn_on_lamp_1_for_tv\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n from: playing\n for:\n hours: 0\n minutes: 0\n seconds: 35\n - trigger: state\n entity_id: select.living_room_tv_activities\n from: Play Xbox\n for:\n hours: 0\n minutes: 0\n seconds: 35\n - trigger: state\n entity_id: select.living_room_tv_activities\n from: Play Nintendo Switch\n for:\n hours: 0\n minutes: 0\n seconds: 35\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_lamp_1\n state: 'off'\n - condition: state\n entity_id: light.living_room_lamp_2\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Xbox\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Nintendo Switch\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamp_1\n data:\n transition: 5\n color_temp: 370\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Living room lamp 1",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamp_1",
"device_id": null
}
},
{
"name": "Living room lamp 2",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamp_2",
"device_id": null
}
}
]
},
{
"id": "media_plex_stopped_lights_on",
"automation": "- alias: Media - Plex Stopped Lights On\n id: media_plex_stopped_lights_on\n triggers:\n - trigger: state\n entity_id: media_player.plex_living_room_appletv\n to: idle\n for:\n hours: 0\n minutes: 0\n seconds: 10\n - trigger: state\n entity_id: media_player.plex_living_room_appletv\n to: paused\n for:\n hours: 0\n minutes: 0\n seconds: 10\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.living_room_lamps\n data:\n transition: 5\n color_temp: 370\n brightness_pct: 100\n - action: light.turn_on\n entity_id: light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 25\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 40\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 40\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 40\n - action: light.turn_on\n entity_id: light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Plex living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.plex_living_room_appletv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
}
]
},
{
"id": "media_plex_started_lights_off",
"automation": "- alias: Media - Plex Started Lights Off\n id: media_plex_started_lights_off\n triggers:\n - trigger: state\n entity_id: media_player.plex_living_room_appletv\n to: playing\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.watching_plex\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n transition: 10\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_east\n - delay: 00:00:05\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_west\n - delay: 00:00:15\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Plex living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.plex_living_room_appletv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Living room ceiling west light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_west",
"device_id": null
}
},
{
"name": "Living room ceiling east light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_east",
"device_id": null
}
}
]
},
{
"id": "media_turn_off_watching_plex_boolean",
"automation": "- alias: Media - Turn Off Watching Plex Boolean\n id: media_turn_off_watching_plex_boolean\n triggers:\n - trigger: state\n entity_id: media_player.plex_living_room_appletv\n to: idle\n for:\n hours: 0\n minutes: 3\n seconds: 0\n - trigger: state\n entity_id: media_player.plex_living_room_appletv\n to: paused\n for:\n hours: 0\n minutes: 3\n seconds: 0\n - trigger: state\n entity_id: media_player.plex_living_room_appletv\n to: unavailable\n for:\n hours: 0\n minutes: 3\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.watching_plex",
"config": [
{
"name": "Plex living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.plex_living_room_appletv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
}
]
},
{
"id": "media_late_night_tv_watching_lights_on_before_midnight",
"automation": "- alias: Media - Late Night TV Watching Lights On before Midnight\n id: media_late_night_tv_watching_lights_on_before_midnight\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: paused\n for:\n hours: 0\n minutes: 0\n seconds: 30\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: idle\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: '21:30:00'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.living_room_lamps\n data:\n transition: 5\n color_temp: 370\n brightness_pct: 100\n - action: light.turn_on\n entity_id: light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n entity_id: light.hallway_light\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 30\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
}
]
},
{
"id": "media_late_night_tv_watching_lights_on_after_midnight",
"automation": "- alias: Media - Late Night TV Watching Lights On after Midnight\n id: media_late_night_tv_watching_lights_on_after_midnight\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: paused\n for:\n hours: 0\n minutes: 0\n seconds: 30\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: idle\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: 00:00:00\n before: 03:00:00\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.living_room_lamps\n data:\n transition: 5\n color_temp: 370\n brightness_pct: 100\n - action: light.turn_on\n entity_id: light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n entity_id: light.hallway_light\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 30\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
}
]
},
{
"id": "media_late_night_tv_watching_lights_off_after_midnight",
"automation": "- alias: Media - Late Night TV Watching Lights Off after Midnight\n id: media_late_night_tv_watching_lights_off_after_midnight\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: 00:00:00\n before: 03:00:00\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_name\n state: YouTube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.apple.TVPhotos\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n transition: 10\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_east\n - delay: 00:00:05\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_west\n - delay: 00:00:15\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Living room ceiling west light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_west",
"device_id": null
}
},
{
"name": "Living room ceiling east light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_east",
"device_id": null
}
}
]
},
{
"id": "media_late_night_tv_watching_lights_off_before_midnight",
"automation": "- alias: Media - Late Night TV Watching Lights Off before Midnight\n id: media_late_night_tv_watching_lights_off_before_midnight\n triggers:\n - trigger: state\n entity_id: media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_media_lights\n state: 'off'\n - condition: time\n after: '21:30:00'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Watch TV\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.google.ios.youtube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_name\n state: YouTube\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n attribute: app_id\n state: com.apple.TVPhotos\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n transition: 10\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_east\n - delay: 00:00:05\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_west\n - delay: 00:00:15\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_accent_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Living room ceiling west light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_west",
"device_id": null
}
},
{
"name": "Living room ceiling east light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_east",
"device_id": null
}
}
]
},
{
"id": "media_living_room_tv_turn_off_harmony_activity_if_tv_off",
"automation": "- alias: Media - Living Room TV Turn Off Harmony Activity if TV Off\n id: media_living_room_tv_turn_off_harmony_activity_if_tv_off\n triggers:\n - trigger: state\n entity_id: media_player.living_room_tv\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n actions:\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: power_off",
"config": [
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_tv",
"device_id": null
}
}
]
},
{
"id": "media_bedroom_tv_turn_off_harmony_activity_if_tv_off",
"automation": "- alias: Media - Bedroom TV Turn Off Harmony Activity if TV Off\n id: media_bedroom_tv_turn_off_harmony_activity_if_tv_off\n triggers:\n - trigger: state\n entity_id: media_player.bedroom_tv\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: select.bedroom_tv_activities\n state: power_off\n actions:\n - action: select.select_option\n data:\n entity_id: select.bedroom_tv_activities\n option: power_off",
"config": [
{
"name": "Bedroom TV activities select",
"room": "bedroom",
"type": "select",
"id": {
"entity_id": "select.bedroom_tv_activities",
"device_id": null
}
},
{
"name": "Bedroom TV",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.bedroom_tv",
"device_id": null
}
}
]
},
{
"id": "media_reset_sonos_every_morning",
"automation": "- alias: Media - Reset Sonos Every Morning\n id: media_reset_sonos_every_morning\n triggers:\n - trigger: time\n at: 05:00:00\n actions:\n - action: media_player.unjoin\n target:\n entity_id:\n - media_player.sonos_surround_sound\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_craft_room\n - media_player.sonos_fitness_room\n - media_player.sonos_backyard_patio\n - media_player.sonos_roam\n - action: media_player.clear_playlist\n target:\n entity_id:\n - media_player.sonos_surround_sound\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_craft_room\n - media_player.sonos_fitness_room\n - media_player.sonos_backyard_patio\n - media_player.sonos_roam\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.pop_music\n - input_boolean.jazz_music\n - input_boolean.chill_music\n - input_boolean.classical_music\n - input_boolean.group_all_sonos\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: None\n - action: switch.turn_off\n data:\n entity_id:\n - switch.sonos_bedroom_night_sound\n - switch.sonos_fitness_room_night_sound\n - switch.sonos_surround_sound_night_sound",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
},
{
"name": "Sonos Roam",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_roam",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
},
{
"name": "Group all Sonos input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.group_all_sonos",
"device_id": null
}
},
{
"name": "Sonos bedroom night sound switch",
"room": "bedroom",
"type": "switch",
"id": {
"entity_id": "switch.sonos_bedroom_night_sound",
"device_id": null
}
},
{
"name": "Sonos fitness room night sound switch",
"room": "fitness_room",
"type": "switch",
"id": {
"entity_id": "switch.sonos_fitness_room_night_sound",
"device_id": null
}
},
{
"name": "Sonos surround sound night sound switch",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": "switch.sonos_surround_sound_night_sound",
"device_id": null
}
}
]
},
{
"id": "media_group_all_sonos",
"automation": "- alias: Media - Group All Sonos\n id: media_group_all_sonos\n triggers:\n - trigger: state\n entity_id: input_boolean.group_all_sonos\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: media_player.join\n data:\n entity_id:\n - media_player.sonos_living_room\n group_members:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_craft_room\n - media_player.sonos_fitness_room\n - media_player.sonos_move",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Group all Sonos input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.group_all_sonos",
"device_id": null
}
}
]
},
{
"id": "media_ungroup_all_sonos",
"automation": "- alias: Media - Ugroup All Sonos\n id: media_ungroup_all_sonos\n triggers:\n - trigger: state\n entity_id: input_boolean.group_all_sonos\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: media_player.unjoin\n data:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_craft_room\n - media_player.sonos_fitness_room\n - media_player.sonos_move",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Group all Sonos input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.group_all_sonos",
"device_id": null
}
}
]
},
{
"id": "media_play_pop_music",
"automation": "- alias: Media - Play Pop Music\n id: media_play_pop_music\n triggers:\n - trigger: state\n entity_id: input_boolean.pop_music\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: media_player.join\n data:\n group_members:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n target:\n entity_id:\n - media_player.sonos_living_room\n - delay: 00:00:05\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n data:\n volume_level: 0.2\n - delay: 00:00:05\n - action: media_player.select_source\n data:\n source: Pop Station\n target:\n entity_id:\n - media_player.sonos_living_room\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.classical_music\n - input_boolean.jazz_music\n - input_boolean.chill_music\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: Pop Music",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
}
]
},
{
"id": "media_play_jazz_music",
"automation": "- alias: Media - Play Jazz Music\n id: media_play_jazz_music\n triggers:\n - trigger: state\n entity_id: input_boolean.jazz_music\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: media_player.join\n data:\n group_members:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n target:\n entity_id:\n - media_player.sonos_living_room\n - delay: 00:00:05\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n data:\n volume_level: 0.03\n - delay: 00:00:05\n - action: media_player.select_source\n data:\n source: Smooth Jazz\n target:\n entity_id:\n - media_player.sonos_living_room\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.classical_music\n - input_boolean.pop_music\n - input_boolean.chill_music\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: Jazz Music",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
}
]
},
{
"id": "media_play_classical_music",
"automation": "- alias: Media - Play Classical Music\n id: media_play_classical_music\n triggers:\n - trigger: state\n entity_id: input_boolean.classical_music\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: media_player.join\n data:\n group_members:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n target:\n entity_id:\n - media_player.sonos_living_room\n - delay: 00:00:05\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n data:\n volume_level: 0.03\n - delay: 00:00:05\n - action: media_player.select_source\n data:\n source: Classical\n target:\n entity_id:\n - media_player.sonos_living_room\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.jazz_music\n - input_boolean.pop_music\n - input_boolean.chill_music\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: Classical Music",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
}
]
},
{
"id": "media_play_chill_music",
"automation": "- alias: Media - Play Chill Music\n id: media_play_chill_music\n triggers:\n - trigger: state\n entity_id: input_boolean.chill_music\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: media_player.join\n data:\n group_members:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n target:\n entity_id:\n - media_player.sonos_living_room\n - delay: 00:00:05\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_surround_sound\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n data:\n volume_level: 0.03\n - delay: 00:00:05\n - action: media_player.select_source\n data:\n source: Chill\n target:\n entity_id:\n - media_player.sonos_living_room\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.jazz_music\n - input_boolean.pop_music\n - input_boolean.classical_music\n - action: input_select.select_option\n data:\n entity_id: input_select.sonos\n option: Chill Music",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
}
]
},
{
"id": "media_play__music_USER1_office",
"automation": "- alias: Media - Play Music USER1's Office\n id: media_play__music_USER1_office\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_music\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n actions:\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_USER1s_office\n data:\n volume_level: 0.1\n - delay: 00:00:01\n - action: media_player.select_source\n data:\n source: Chill\n target:\n entity_id:\n - media_player.sonos_USER1s_office",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1s office music input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_music",
"device_id": null
}
}
]
},
{
"id": "media_stop_playing_music_USER1_office",
"automation": "- alias: Media - Stop Playing Music USER1's Office\n id: media_stop_playing_music_USER1_office\n triggers:\n - trigger: state\n entity_id: input_boolean.USER1_s_office_music\n from: 'on'\n to: 'off'\n actions:\n - action: media_player.media_stop\n target:\n entity_id:\n - media_player.sonos_USER1s_office",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER1s office music input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_music",
"device_id": null
}
}
]
},
{
"id": "media_sonos_start_activity_from_input_select_pop_music",
"automation": "- alias: Media - Sonos start activity from input select Pop Music\n id: media_sonos_start_activity_from_input_select_pop_music\n triggers:\n - trigger: state\n entity_id: input_select.sonos\n to: Pop Music\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.pop_music",
"config": [
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
}
]
},
{
"id": "media_sonos_start_activity_from_input_select_jazz_music",
"automation": "- alias: Media - Sonos start activity from input select Jazz Music\n id: media_sonos_start_activity_from_input_select_jazz_music\n triggers:\n - trigger: state\n entity_id: input_select.sonos\n to: Jazz Music\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.jazz_music",
"config": [
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
}
]
},
{
"id": "media_sonos_start_activity_from_input_select_chill_music",
"automation": "- alias: Media - Sonos start activity from input select Chill Music\n id: media_sonos_start_activity_from_input_select_chill_music\n triggers:\n - trigger: state\n entity_id: input_select.sonos\n to: Chill Music\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.chill_music",
"config": [
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
}
]
},
{
"id": "media_sonos_start_activity_from_input_select_classical_music",
"automation": "- alias: Media - Sonos start activity from input select Classical Music\n id: media_sonos_start_activity_from_input_select_classical_music\n triggers:\n - trigger: state\n entity_id: input_select.sonos\n to: Classical Music\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.classical_music",
"config": [
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
}
]
},
{
"id": "media_sonos_stop_activity_from_input_select_off",
"automation": "- alias: Media - Sonos stop activity from input select Off\n id: media_sonos_stop_activity_from_input_select_off\n triggers:\n - trigger: state\n entity_id: input_select.sonos\n to: None\n actions:\n - action: media_player.media_stop\n target:\n entity_id:\n - media_player.sonos_surround_sound\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.pop_music\n - input_boolean.jazz_music\n - input_boolean.chill_music\n - input_boolean.classical_music\n - input_boolean.group_all_sonos",
"config": [
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Sonos input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.sonos",
"device_id": null
}
},
{
"name": "Surround sound Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_surround_sound",
"device_id": null
}
},
{
"name": "Pop music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pop_music",
"device_id": null
}
},
{
"name": "Jazz music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.jazz_music",
"device_id": null
}
},
{
"name": "Chill music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.chill_music",
"device_id": null
}
},
{
"name": "Classical music input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.classical_music",
"device_id": null
}
},
{
"name": "Group all Sonos input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.group_all_sonos",
"device_id": null
}
}
]
},
{
"id": "media_turn_down_backyard_sonos_at_10p",
"automation": "- alias: Media - Turn Down Backyard Sonos at 10p\n id: media_turn_down_backyard_sonos_at_10p\n triggers:\n - trigger: time\n at: '22:00:00'\n actions:\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_backyard_patio\n data:\n volume_level: 0.3",
"config": [
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
}
]
},
{
"id": "media_turn_off_backyard_sonos_at_midnight",
"automation": "- alias: Media - Turn Off Backyard Sonos at Midnight\n id: media_turn_off_backyard_sonos_at_midnight\n triggers:\n - trigger: time\n at: '23:59:00'\n actions:\n - action: media_player.media_stop\n target:\n entity_id:\n - media_player.sonos_backyard_patio\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_backyard_patio\n data:\n volume_level: 0",
"config": [
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
}
]
},
{
"id": "media_reset_backyard_sonos_volume_after_10p",
"automation": "- alias: Media - Reset Backyard Sonos Volume after 10p\n id: media_reset_backyard_sonos_volume_after_10p\n triggers:\n - trigger: template\n value_template: '{{ states.media_player.sonos_backyard_patio.attributes.volume_level\n | int > 0.3 }}'\n conditions:\n - condition: time\n after: '22:00:00'\n before: '23:59:00'\n actions:\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_backyard_patio\n data:\n volume_level: 0.3",
"config": [
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
}
]
},
{
"id": "media_reset_backyard_sonos_volume_after_midnight",
"automation": "- alias: Media - Reset Backyard Sonos Volume after Midnight\n id: media_reset_backyard_sonos_volume_after_midnight\n triggers:\n - trigger: template\n value_template: '{{ states.media_player.sonos_backyard_patio.attributes.volume_level\n | int > 0.3 }}'\n conditions:\n - condition: time\n after: 00:00:00\n before: 06:00:00\n actions:\n - action: media_player.volume_set\n target:\n entity_id:\n - media_player.sonos_backyard_patio\n data:\n volume_level: 0",
"config": [
{
"name": "Backyard patio Sonos",
"room": "backyard_patio",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_backyard_patio",
"device_id": null
}
}
]
},
{
"id": "media_turn_on_bedroom_sonos_night_sound_weeknights",
"automation": "- alias: Media - Turn on Bedroom Sonos Night Sound Weeknights\n id: media_turn_on_bedroom_sonos_night_sound_weeknights\n triggers:\n - trigger: time\n at: '22:00:00'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: time\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n actions:\n - action: switch.turn_on\n target:\n entity_id:\n - switch.sonos_bedroom_night_sound",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Sonos bedroom night sound switch",
"room": "bedroom",
"type": "switch",
"id": {
"entity_id": "switch.sonos_bedroom_night_sound",
"device_id": null
}
}
]
},
{
"id": "media_fix_bedroom_tv_sound_output_power_on",
"automation": "- alias: Media - Fix Bedroom TV Sound Output Power On\n id: media_fix_bedroom_tv_sound_output_power_on\n triggers:\n - trigger: state\n entity_id: media_player.bedroom_tv\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 15\n actions:\n - action: webostv.select_sound_output\n data:\n entity_id: media_player.bedroom_tv\n sound_output: external_arc",
"config": [
{
"name": "Bedroom TV",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.bedroom_tv",
"device_id": null
}
}
]
},
{
"id": "media_fix_bedroom_tv_sound_output_when_changed",
"automation": "- alias: Media - Fix Bedroom TV Sound Output When Changed\n id: media_fix_bedroom_tv_sound_output_when_changed\n triggers:\n - trigger: state\n entity_id: media_player.bedroom_tv\n attribute: sound_output\n from: external_arc\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: media_player.bedroom_tv\n state: 'on'\n actions:\n - action: webostv.select_sound_output\n data:\n entity_id: media_player.bedroom_tv\n sound_output: external_arc",
"config": [
{
"name": "Bedroom TV",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.bedroom_tv",
"device_id": null
}
}
]
},
{
"id": "media_fix_living_room_tv_sound_output_power_on",
"automation": "- alias: Media - Fix Living Room TV Sound Output Power On\n id: media_fix_living_room_tv_sound_output_power_on\n triggers:\n - trigger: state\n entity_id: media_player.living_room_tv\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 15\n actions:\n - action: webostv.select_sound_output\n data:\n entity_id: media_player.living_room_tv\n sound_output: external_arc",
"config": [
{
"name": "Living room TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_tv",
"device_id": null
}
}
]
},
{
"id": "media_fix_living_room_tv_sound_output_when_changed",
"automation": "- alias: Media - Fix Living Room TV Sound Output When Changed\n id: media_fix_living_room_tv_sound_output_when_changed\n triggers:\n - trigger: state\n entity_id: media_player.living_room_tv\n attribute: sound_output\n from: external_arc\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n actions:\n - action: webostv.select_sound_output\n data:\n entity_id: media_player.living_room_tv\n sound_output: external_arc",
"config": [
{
"name": "Living room TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_tv",
"device_id": null
}
}
]
},
{
"id": "media_turn_off_living_room_lights_when_playing_xbox",
"automation": "- alias: Media - Turn off Living Room Lights When Playing Xbox\n id: media_turn_off_living_room_lights_when_playing_xbox\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n to: Play Xbox\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '21:00:00'\n before: 05:00:00\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lamps\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_east\n - delay: 00:00:05\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_ceiling_west",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Living room ceiling west light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_west",
"device_id": null
}
},
{
"name": "Living room ceiling east light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_ceiling_east",
"device_id": null
}
}
]
},
{
"id": "media_turn_on_living_room_lights_when_done_playing_xbox",
"automation": "- alias: Media - Turn on Living Room Lights When Done Playing Xbox\n id: media_turn_on_living_room_lights_when_done_playing_xbox\n triggers:\n - trigger: state\n entity_id: select.living_room_tv_activities\n from: Play Xbox\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '21:00:00'\n before: 05:00:00\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
}
]
},
{
"id": "media_turn_set_living_room_remote_input_when_xbox_on",
"automation": "- alias: Media - Set Living Room Remote Input when Xbox On\n id: media_turn_set_living_room_remote_input_when_xbox_on\n triggers:\n - trigger: state\n entity_id: media_player.living_room_xbox\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n actions:\n - action: select.select_option\n data:\n entity_id: select.living_room_tv_activities\n option: Play Xbox",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_tv",
"device_id": null
}
},
{
"name": "Living room Xbox",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_xbox",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_living_room_lights_when_motion_detected_at_night",
"automation": "- alias: Motion - Turn On Living Room Lights when Motion Detected at Night\n id: motion_turn_on_living_room_lights_when_motion_detected_at_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: light.living_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: 02:00:00\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Xbox\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Nintendo Switch\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n transition: 5\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_living_room_lights_when_motion_detected_at_night_weekends",
"automation": "- alias: Motion - Turn On Living Room Lights when Motion Detected at Night Weekends\n id: motion_turn_on_living_room_lights_when_motion_detected_at_night_weekends\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: light.living_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 02:00:00\n before: 03:00:00\n - condition: time\n weekday:\n - fri\n - sat\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Xbox\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Nintendo Switch\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n transition: 5\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_living_room_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On Living Room Lights when Motion Detected Daytime\n id: motion_turn_on_living_room_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: input_boolean.watching_plex\n state: 'off'\n - condition: state\n entity_id: light.living_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: time\n after: 07:00:00\n before: 02:00:00\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.living_room_light_level\n below: 15\n - condition: state\n entity_id: sensor.living_room_light_level\n state: unknown\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.living_room_apple_tv\n state: playing\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Xbox\n - condition: not\n conditions:\n - condition: state\n entity_id: select.living_room_tv_activities\n state: Play Nintendo Switch\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n transition: 5\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room Apple TV",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "Watching Plex input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.watching_plex",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Living room light level sensor",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_living_room_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Living Room Lights when No Motion Detected\n id: motion_turn_off_living_room_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 2\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_living_room_lights_when_no_motion_detected_when_daytime",
"automation": "- alias: Motion - Turn Off Living Room Lights when No Motion Detected when Daytime\n id: motion_turn_off_living_room_lights_when_no_motion_detected_when_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.living_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_living_room_lights_when_no_motion_detected_when_daytime_USER2_away",
"automation": "- alias: Motion - Turn Off Living Room Lights when No Motion Detected when Daytime\n USER2 Away\n id: motion_turn_off_living_room_lights_when_no_motion_detected_when_daytime_USER2_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.living_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_living_room_fans_when_motion_detected_and_USER2_away",
"automation": "- alias: Motion - Turn On Living Room Fans when Motion Detected and USER2 Away\n id: motion_turn_on_living_room_fans_when_motion_detected_and_USER2_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: fan.living_room_fans\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n actions:\n - action: fan.turn_on\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_living_room_fans_when_motion_detected_at_night",
"automation": "- alias: Motion - Turn On Living Room Fans when Motion Detected at Night\n id: motion_turn_on_living_room_fans_when_motion_detected_at_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: fan.living_room_fans\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: '21:30:00'\n before: 02:00:00\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: fan.turn_on\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_living_room_fans_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Living Room Fans when No Motion Detected\n id: motion_turn_off_living_room_fans_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: fan.living_room_fans\n state: 'on'\n actions:\n - action: fan.turn_off\n target:\n entity_id:\n - fan.living_room_east\n - fan.living_room_west",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room fans group",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_fans",
"device_id": null
}
},
{
"name": "Living room east fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_east",
"device_id": null
}
},
{
"name": "Living room west fan",
"room": "living_room",
"type": "fan",
"id": {
"entity_id": "fan.living_room_west",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_kitchen_lights_when_motion_detected_evening",
"automation": "- alias: Motion - Turn On Kitchen Lights when Motion Detected Evening\n id: motion_turn_on_kitchen_lights_when_motion_detected_evening\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: '22:00:00'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n entity_id: light.kitchen_sink\n data:\n brightness_pct: 40\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_ceiling\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
},
{
"name": "Kitchen ceiling light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_kitchen_lights_when_motion_detected_night",
"automation": "- alias: Motion - Turn On Kitchen Lights when Motion Detected Night\n id: motion_turn_on_kitchen_lights_when_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_kitchen_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On Kitchen Lights when Motion Detected Daytime\n id: motion_turn_on_kitchen_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.kitchen_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.kitchen_light_level\n below: 40\n - condition: state\n entity_id: sensor.kitchen_light_level\n state: unknown\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_cabinets\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Kitchen cabinets light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_cabinets",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
},
{
"name": "Kitchen light level sensor",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_light_level",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_kitchen_lights_when_no_motion_detected_evenings",
"automation": "- alias: Motion - Turn Off Kitchen Lights when No Motion Detected Evenings\n id: motion_turn_off_kitchen_lights_when_no_motion_detected_evenings\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 06:00:00\n before: '22:00:00'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_kitchen_lights_when_no_motion_detected_weeknights",
"automation": "- alias: Motion - Turn Off Kitchen Lights when No Motion Detected Weeknights\n id: motion_turn_off_kitchen_lights_when_no_motion_detected_weeknights\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 06:00:00\n - condition: time\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_kitchen_lights_when_no_motion_detected_weekends",
"automation": "- alias: Motion - Turn Off Kitchen Lights when No Motion Detected Weekends\n id: motion_turn_off_kitchen_lights_when_no_motion_detected_weekends\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 45\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 06:00:00\n - condition: time\n weekday:\n - fri\n - sat\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_kitchen_lights_when_no_motion_detected_daytime",
"automation": "- alias: Motion - Turn Off Kitchen Lights when No Motion Detected Daytime\n id: motion_turn_off_kitchen_lights_when_no_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 45\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_kitchen_lights_when_no_motion_detected_daytime_USER2_away",
"automation": "- alias: Motion - Turn Off Kitchen Lights when No Motion Detected Daytime USER2 Away\n id: motion_turn_off_kitchen_lights_when_no_motion_detected_daytime_USER2_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_dining_room_lights_when_motion_detected_evening",
"automation": "- alias: Motion - Turn On Dining Room Lights when Motion Detected Evening\n id: motion_turn_on_dining_room_lights_when_motion_detected_evening\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: light.dining_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: '21:00:00'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n - light.dining_room_ceiling\n data:\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
},
{
"name": "Dining room ceiling light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_dining_room_lights_when_motion_detected_night_weekdays",
"automation": "- alias: Motion - Turn On Dining Room Lights when Motion Detected Night Weekdays\n id: motion_turn_on_dining_room_lights_when_motion_detected_night_weekdays\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: light.dining_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '21:00:00'\n before: '23:59:00'\n - condition: time\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_dining_room_lights_when_motion_detected_night_weekends",
"automation": "- alias: Motion - Turn On Dining Room Lights when Motion Detected Night Weekends\n id: motion_turn_on_dining_room_lights_when_motion_detected_night_weekends\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.living_room_guest\n state: 'off'\n - condition: state\n entity_id: light.dining_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '21:00:00'\n before: 02:00:00\n - condition: time\n weekday:\n - fri\n - sat\n - sun\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_dining_room_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On Dining Room Lights when Motion Detected Daytime\n id: motion_turn_on_dining_room_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.dining_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.dining_room_light_level\n below: 25\n - condition: state\n entity_id: sensor.dining_room_light_level\n state: unknown\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 25\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
},
{
"name": "Dining room light level sensor",
"room": "dining_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dining_room_light_level",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_dining_room_lights_when_no_motion_detected_weeknights",
"automation": "- alias: Motion - Turn Off Dining Room Lights when No Motion Detected Weeknights\n id: motion_turn_off_dining_room_lights_when_no_motion_detected_weeknights\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.dining_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: time\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_dining_room_lights_when_no_motion_detected_evenings",
"automation": "- alias: Motion - Turn Off Dining Room Lights when No Motion Detected Evenings\n id: motion_turn_off_dining_room_lights_when_no_motion_detected_evenings\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.dining_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 06:00:00\n before: '22:00:00'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_dining_room_lights_when_no_motion_detected_weekends",
"automation": "- alias: Motion - Turn Off Dining Room Lights when No Motion Detected Weekends\n id: motion_turn_off_dining_room_lights_when_no_motion_detected_weekends\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.dining_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: time\n weekday:\n - fri\n - sat\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_dining_room_lights_when_no_motion_detected_daytime",
"automation": "- alias: Motion - Turn Off Dining Room Lights when No Motion Detected Daytime\n id: motion_turn_off_dining_room_lights_when_no_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.dining_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_dining_room_lights_when_no_motion_detected_daytime_USER2_away",
"automation": "- alias: Motion - Turn Off Dining Room Lights when No Motion Detected Daytime USER2\n Away\n id: motion_turn_off_dining_room_lights_when_no_motion_detected_daytime_USER2_away\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.dining_room_lights\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bathroom_lights_when_motion_detected_morning",
"automation": "- alias: Motion - Turn On Bathroom Lights when Motion Detected Morning\n id: motion_turn_on_bathroom_lights_when_motion_detected_morning\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n - condition: time\n after: 05:45:00\n before: 09:00:00\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 50\n transition: 60\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_shower\n data:\n brightness_pct: 25\n transition: 60",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
},
{
"name": "Bathroom shower light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_shower",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bathroom_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On Bathroom Lights when Motion Detected Daytime\n id: motion_turn_on_bathroom_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: time\n after: 09:00:00\n before: '22:00:00'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 50\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_shower\n data:\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
},
{
"name": "Bathroom shower light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_shower",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bathroom_lights_when_motion_detected_evening",
"automation": "- alias: Motion - Turn On Bathroom Lights when Motion Detected Evening\n id: motion_turn_on_bathroom_lights_when_motion_detected_evening\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '15:00:00'\n before: '22:00:00'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 75\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_shower\n data:\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
},
{
"name": "Bathroom shower light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_shower",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bathroom_lights_when_motion_detected_night",
"automation": "- alias: Motion - Turn On Bathroom Lights when Motion Detected Night\n id: motion_turn_on_bathroom_lights_when_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 00:00:00\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bathroom_lights_when_motion_detected_late_night",
"automation": "- alias: Motion - Turn On Bathroom Lights when Motion Detected Late Night\n id: motion_turn_on_bathroom_lights_when_motion_detected_late_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 00:00:00\n before: 05:45:00\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_vanity\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_vanity",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_bathroom_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Bathroom Lights when No Motion Detected\n id: motion_turn_off_bathroom_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n - condition: time\n after: 06:00:00\n before: '23:59:00'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_bathroom_lights_when_no_motion_detected_late_night",
"automation": "- alias: Motion - Turn Off Bathroom Lights when No Motion Detected Late Night\n id: motion_turn_off_bathroom_lights_when_no_motion_detected_late_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n - condition: time\n after: 00:00:00\n before: 06:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_stair_lights_when_motion_detected_evening",
"automation": "- alias: Motion - Turn On Stair Lights when Motion Detected Evening\n id: motion_turn_on_stair_lights_when_motion_detected_evening\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.stairs_light\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: '22:00:00'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.stairs_light\n data:\n brightness_pct: 75",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_stair_lights_when_motion_detected_night",
"automation": "- alias: Motion - Turn On Stair Lights when Motion Detected Night\n id: motion_turn_on_stair_lights_when_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.stairs_light\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.stairs_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_stair_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On Stair Lights when Motion Detected Daytime\n id: motion_turn_on_stair_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.stairs_light\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.stairs_light_level\n below: 15\n - condition: state\n entity_id: sensor.stairs_light_level\n state: unknown\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.stairs_light\n data:\n brightness_pct: 15",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Stairs light level sensor",
"room": "stairs",
"type": "sensor",
"id": {
"entity_id": "sensor.stairs_light_level",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_stair_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Stair Lights when No Motion Detected\n id: motion_turn_off_stair_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.stairs_light\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: '22:00:00'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.stairs_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_stair_lights_when_no_motion_detected_night",
"automation": "- alias: Motion - Turn Off Stair Lights when No Motion Detected Night\n id: motion_turn_off_stair_lights_when_no_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.stairs_light\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.stairs_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_stair_lights_when_no_motion_detected_daytime",
"automation": "- alias: Motion - Turn Off Stair Lights when No Motion Detected Daytime\n id: motion_turn_off_stair_lights_when_no_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.stairs_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.stairs_light\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.stairs_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_basement_lights_when_motion_detected",
"automation": "- alias: Motion - Turn On Basement Lights when Motion Detected\n id: motion_turn_on_basement_lights_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: light.basement_stairs\n state: 'off'\n - condition: state\n entity_id: light.basement_lights\n state: 'off'\n - condition: state\n entity_id: light.work_bench_light\n state: 'off'\n - condition: state\n entity_id: light.laundry_room_light\n state: 'off'\n - condition: state\n entity_id: light.basement_lamp\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_stairs\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.work_bench_light\n data:\n brightness_pct: 25\n - action: light.turn_on\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lamp\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_basement_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Basement Lights when No Motion Detected\n id: motion_turn_off_basement_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.basement_lighting\n state: 'on'\n - condition: state\n entity_id: binary_sensor.fitness_room_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.craft_room_motion\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.work_bench_light\n - action: light.turn_off\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lamp",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
},
{
"name": "Craft room motion binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_motion",
"device_id": null
}
},
{
"name": "Fitness room motion binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_basement_lights_when_no_motion_detected_night",
"automation": "- alias: Motion - Turn Off Basement Lights when No Motion Detected Night\n id: motion_turn_off_basement_lights_when_no_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.basement_lighting\n state: 'on'\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_stairs\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.work_bench_light\n - action: light.turn_off\n target:\n entity_id:\n - light.laundry_room_light\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lamp",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement stairs light",
"room": "basement_stairs",
"type": "light",
"id": {
"entity_id": "light.basement_stairs",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_craft_room_lights_when_motion_detected",
"automation": "- alias: Motion - Turn On Craft Room Lights when Motion Detected\n id: motion_turn_on_craft_room_lights_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.craft_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.craft_room_ceiling\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.craft_room_ceiling\n data:\n brightness_pct: 100\n - action: light.turn_on\n data:\n brightness_pct: 100\n effect: Club\n target:\n entity_id:\n - light.jupitier_globe",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Craft room ceiling light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.craft_room_ceiling",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Craft room motion binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_motion",
"device_id": null
}
},
{
"name": "Jupitier globe light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.jupitier_globe",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_craft_room_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Craft Room Lights when No Motion Detected\n id: motion_turn_off_craft_room_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.craft_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.craft_room_ceiling\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.craft_room_ceiling\n - light.jupitier_globe",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Craft room ceiling light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.craft_room_ceiling",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Craft room motion binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_motion",
"device_id": null
}
},
{
"name": "Jupitier globe light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.jupitier_globe",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_craft_room_lights_when_no_motion_detected_night",
"automation": "- alias: Motion - Turn Off Craft Room Lights when No Motion Detected Night\n id: motion_turn_off_craft_room_lights_when_no_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.craft_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.craft_room_ceiling\n state: 'on'\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.craft_room_ceiling\n - light.jupitier_globe",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Craft room ceiling light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.craft_room_ceiling",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Craft room motion binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_motion",
"device_id": null
}
},
{
"name": "Jupitier globe light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.jupitier_globe",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_fitness_room_lights_when_motion_detected",
"automation": "- alias: Motion - Turn On Fitness Room Lights when Motion Detected\n id: motion_turn_on_fitness_room_lights_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.fitness_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.fitness_room_ceiling\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.fitness_room_ceiling\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Fitness room ceiling light",
"room": "fitness_room",
"type": "light",
"id": {
"entity_id": "light.fitness_room_ceiling",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Fitness room motion binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_fitness_room_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Fitness Room Lights when No Motion Detected\n id: motion_turn_off_fitness_room_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.fitness_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.fitness_room_ceiling\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.fitness_room_ceiling",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Fitness room ceiling light",
"room": "fitness_room",
"type": "light",
"id": {
"entity_id": "light.fitness_room_ceiling",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Fitness room motion binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_fitness_room_lights_when_no_motion_detected_night",
"automation": "- alias: Motion - Turn Off Fitness Room Lights when No Motion Detected Night\n id: motion_turn_off_fitness_room_lights_when_no_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.fitness_room_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.fitness_room_ceiling\n state: 'on'\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.fitness_room_ceiling",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Fitness room ceiling light",
"room": "fitness_room",
"type": "light",
"id": {
"entity_id": "light.fitness_room_ceiling",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Fitness room motion binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER2_closet_light_when_motion_detected_weekdays",
"automation": "- alias: Motion - Turn On USER2 Closet Light when Motion Detected Weekdays\n id: motion_turn_on_USER2_closet_light_when_motion_detected_weekdays\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2_bedroom_closet_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.USER2s_bedroom_closet\n state: 'off'\n - condition: time\n after: 04:30:00\n before: '22:30:00'\n - condition: time\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2s_bedroom_closet\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 bedroom closet light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.USER2s_bedroom_closet",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2 bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER2_closet_light_when_motion_detected_weekends",
"automation": "- alias: Motion - Turn On USER2 Closet Light when Motion Detected Weekends\n id: motion_turn_on_USER2_closet_light_when_motion_detected_weekends\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2_bedroom_closet_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.USER2s_bedroom_closet\n state: 'off'\n - condition: time\n weekday:\n - fri\n - sat\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2s_bedroom_closet\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 bedroom closet light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.USER2s_bedroom_closet",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2 bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER2_closet_light_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER2 Closet Light when No Motion Detected\n id: motion_turn_off_USER2_closet_light_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2_bedroom_closet_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.USER2s_bedroom_closet\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2s_bedroom_closet",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER2 bedroom closet light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.USER2s_bedroom_closet",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2 bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER1_office_fan_when_motion_detected",
"automation": "- alias: Motion - Turn On USER1 Office Fan when Motion Detected\n id: motion_turn_on_USER1_office_fan_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: fan.USER1s_office_fan\n state: 'off'\n - condition: state\n entity_id: switch.USER1s_office_air_purifier\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: fan.turn_on\n target:\n entity_id:\n - fan.USER1s_office_fan\n - delay: 00:00:01\n - action: fan.set_preset_mode\n target:\n entity_id: fan.USER1s_office_fan\n data:\n preset_mode: Auto\n - action: climate.set_hvac_mode\n data:\n entity_id:\n - climate.office_fan\n hvac_mode: cool\n - delay: 00:00:01\n - action: fan.oscillate\n data:\n entity_id:\n - fan.USER1s_office_fan\n oscillating: 'true'\n - action: switch.turn_on\n target:\n entity_id:\n - switch.USER1s_office_air_purifier",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "USER1 office air purifier switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_air_purifier",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Office fan climate",
"room": "office",
"type": "climate",
"id": {
"entity_id": "climate.office_fan",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER1_office_tv_when_motion_detected",
"automation": "- alias: Motion - Turn On USER1 Office TV when Motion Detected\n id: motion_turn_on_USER1_office_tv_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: power_off\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: select.select_option\n data:\n entity_id: select.USER1_s_office_tv_activities\n option: Watch TV\n - delay: 00:00:30\n - action: media_player.select_source\n data:\n source: Protect\n target:\n entity_id: media_player.USER1_s_office_apple_tv",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER1_office_fan_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER1 Office Fan when No Motion Detected\n id: motion_turn_off_USER1_office_fan_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: fan.turn_off\n target:\n entity_id:\n - fan.USER1s_office_fan\n - action: switch.turn_off\n target:\n entity_id:\n - switch.USER1s_office_air_purifier",
"config": [
{
"name": "USER1 office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.USER1s_office_fan",
"device_id": null
}
},
{
"name": "USER1 office air purifier switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.USER1s_office_air_purifier",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER1_office_tv_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER1 Office TV when No Motion Detected\n id: motion_turn_off_USER1_office_tv_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: power_off\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: select.select_option\n data:\n entity_id: select.USER1_s_office_tv_activities\n option: power_off",
"config": [
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER1_office_lights_when_motion_detected_night",
"automation": "- alias: Motion - Turn On USER1 Office Lights when Motion Detected Night\n id: motion_turn_on_USER1_office_lights_when_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.USER1_s_office_ceiling\n state: 'off'\n - condition: state\n entity_id: light.USER1_office_desk_accent\n state: 'off'\n - condition: state\n entity_id: light.office_lamp\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: not\n conditions:\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: Play Xbox One\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.office_lamp\n data:\n transition: 60\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n entity_id: light.USER1_office_desk_accent\n data:\n transition: 60\n brightness_pct: 80\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_s_office_ceiling\n data:\n brightness_pct: 15\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 370",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "USER1 office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_s_office_ceiling",
"device_id": null
}
},
{
"name": "Office lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lamp",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER1_office_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On USER1 Office Lights when Motion Detected Daytime\n id: motion_turn_on_USER1_office_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.USER1_s_office_ceiling\n state: 'off'\n - condition: state\n entity_id: light.office_lamp\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closed\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: select.USER1_s_office_tv_activities\n state: Play Xbox One\n - condition: not\n conditions:\n - condition: state\n entity_id: media_player.USER1_s_office_apple_tv\n state: playing\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.office_lamp\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n entity_id: light.USER1_office_desk_accent\n data:\n transition: 15\n brightness_pct: 80\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_s_office_ceiling\n data:\n brightness_pct: 15\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 370",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office TV activities select",
"room": "office",
"type": "select",
"id": {
"entity_id": "select.USER1_s_office_tv_activities",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "USER1 office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_s_office_ceiling",
"device_id": null
}
},
{
"name": "Office lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_lamp",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER1 office Apple TV",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.USER1_s_office_apple_tv",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER1_office_moon_globe_when_motion_detected",
"automation": "- alias: Motion - Turn On Moon Globe when Motion Detected\n id: motion_turn_on_USER1_office_moon_globe_when_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.moon_globe\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.moon_globe\n data:\n brightness_pct: 10\n color_temp: 238",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Moon globe light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.moon_globe",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER1_office_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER1 Office Lights when No Motion Detected\n id: motion_turn_off_USER1_office_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.USER1_office_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER1_office_music_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER1 Office Music when No Motion Detected\n id: motion_turn_off_USER1_office_music_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 20\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_office_guest\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.USER1_s_office_music\n - delay: 00:00:15\n - action: media_player.media_stop\n target:\n entity_id:\n - media_player.sonos_USER1s_office",
"config": [
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER1s office music input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_music",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER1_office_do_not_disturb_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER1 Office Do Not Disturb when No Motion Detected\n id: motion_turn_off_USER1_office_do_not_disturb_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 19\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'on'\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER1_s_office_do_not_disturb",
"config": [
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_dining_room_lights_when_USER2_working",
"automation": "- alias: Motion - Turn On Dining Room Lights When USER2 Working\n id: motion_turn_on_dining_room_lights_when_USER2_working\n triggers:\n - trigger: state\n entity_id: binary_sensor.dining_room_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: light.dining_room_lights\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 04:45:00\n before: 07:00:00\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 2\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 2",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER2_office_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On USER2 Office when Motion Detected Daytime\n id: motion_turn_on_USER2_office_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: light.USER2_s_office_ceiling\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2_s_office_ceiling\n data:\n brightness_pct: 75\n transition: 30",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER2_office_lights_when_motion_detected_evening",
"automation": "- alias: Motion - Turn On USER2 Office Lights when Motion Detected Evening\n id: motion_turn_on_USER2_office_lights_when_motion_detected_evening\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: light.USER2_s_office_ceiling\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: '23:00:00'\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2_s_office_ceiling\n data:\n brightness_pct: 100",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_USER2_office_lights_when_motion_detected_night",
"automation": "- alias: Motion - Turn On USER2 Office Lights when Motion Detected Night\n id: motion_turn_on_USER2_office_lights_when_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: light.USER2_s_office_ceiling\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '23:00:00'\n before: 07:00:00\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2_s_office_ceiling\n data:\n brightness_pct: 15",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER2_office_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off USER2 Office Lights when No Motion Detected\n id: motion_turn_off_USER2_office_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: light.USER2_office_lights\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2_s_office_ceiling",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_USER2_office_lights_when_no_motion_detected_night",
"automation": "- alias: Motion - Turn Off USER2 Office Lights when No Motion Detected Night\n id: motion_turn_off_USER2_office_lights_when_no_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER2s_office_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.USER2_s_office_ceiling\n state: 'on'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '23:00:00'\n before: 07:00:00\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2_s_office_ceiling",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "USER2s office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_s_office_ceiling",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_upstairs_bathroom_lights_when_motion_detected_evening",
"automation": "- alias: Motion - Turn On Upstairs Bathroom Lights when Motion Detected Evening\n id: motion_turn_on_upstairs_bathroom_lights_when_motion_detected_evening\n triggers:\n - trigger: state\n entity_id: binary_sensor.upstairs_bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.upstairs_bathroom_vanity\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 07:00:00\n before: '22:00:00'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.upstairs_bathroom_vanity\n data:\n brightness_pct: 60",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Upstairs bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathroom_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Upstairs bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.upstairs_bathroom_vanity",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_upstairs_bathroom_lights_when_motion_detected_night",
"automation": "- alias: Motion - Turn On Upstairs Bathroom Lights when Motion Detected Night\n id: motion_turn_on_upstairs_bathroom_lights_when_motion_detected_night\n triggers:\n - trigger: state\n entity_id: binary_sensor.upstairs_bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.upstairs_bathroom_vanity\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '22:00:00'\n before: 07:00:00\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.upstairs_bathroom_vanity\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Upstairs bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathroom_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Upstairs bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.upstairs_bathroom_vanity",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_upstairs_bathroom_lights_when_motion_detected_daytime",
"automation": "- alias: Motion - Turn On Upstairs Bathroom Lights when Motion Detected Daytime\n id: motion_turn_on_upstairs_bathroom_lights_when_motion_detected_daytime\n triggers:\n - trigger: state\n entity_id: binary_sensor.upstairs_bathroom_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.upstairs_bathroom_vanity\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n - condition: or\n conditions:\n - condition: numeric_state\n entity_id: sensor.upstairs_bathroom_light_level\n below: 10\n - condition: state\n entity_id: sensor.upstairs_bathroom_light_level\n state: unknown\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.upstairs_bathroom_vanity\n data:\n brightness_pct: 2",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "Upstairs bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathroom_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Upstairs bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.upstairs_bathroom_vanity",
"device_id": null
}
},
{
"name": "Upstairs bathroom light level sensor",
"room": "bathroom",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_bathroom_light_level",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_upstairs_bathroom_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Upstairs Bathroom Lights when No Motion Detected\n id: motion_turn_off_upstairs_bathroom_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.upstairs_bathroom_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.upstairs_bathroom_vanity\n state: 'on'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.upstairs_bathroom_vanity",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathroom_motion",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Upstairs bathroom vanity light",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.upstairs_bathroom_vanity",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bedroom_closet_lights_when_motion_detected_early_morning",
"automation": "- alias: Motion - Turn On Bedroom Closet Lights when Motion Detected Early Morning\n id: motion_turn_on_bedroom_closet_lights_when_motion_detected_early_morning\n triggers:\n - trigger: state\n entity_id: binary_sensor.bedroom_closet_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: time\n after: 05:00:00\n before: 09:00:00\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.bedroom_closet_lights\n state: 'off'\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: closed\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_lights\n data:\n brightness: 2\n color_temp: 370",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bedroom_closet_lights_when_motion_detected_weekdays",
"automation": "- alias: Motion - Turn On Bedroom Closet Lights when Motion Detected Weekdays\n id: motion_turn_on_bedroom_closet_lights_when_motion_detected_weekdays\n triggers:\n - trigger: state\n entity_id: binary_sensor.bedroom_closet_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: time\n after: 09:00:00\n before: '22:30:00'\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.bedroom_closet_lights\n state: 'off'\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: closed\n - condition: time\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_lights\n data:\n brightness: 77\n color_temp: 370",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_on_bedroom_closet_lights_when_motion_detected_weekends",
"automation": "- alias: Motion - Turn On Bedroom Closet Lights when Motion Detected Weekends\n id: motion_turn_on_bedroom_closet_lights_when_motion_detected_weekends\n triggers:\n - trigger: state\n entity_id: binary_sensor.bedroom_closet_motion\n from: 'off'\n to: 'on'\n conditions:\n - condition: time\n after: 09:00:00\n before: 01:30:00\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: light.bedroom_closet_lights\n state: 'off'\n - condition: state\n entity_id: cover.bedroom_closet_blinds\n state: closed\n - condition: time\n weekday:\n - fri\n - sat\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_lights\n data:\n brightness: 77\n color_temp: 370",
"config": [
{
"name": "Bedroom closet blinds",
"room": "bedroom_closet",
"type": "cover",
"id": {
"entity_id": "cover.bedroom_closet_blinds",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_turn_off_bedroom_closet_lights_when_no_motion_detected",
"automation": "- alias: Motion - Turn Off Bedroom Closet Lights when No Motion Detected\n id: motion_turn_off_bedroom_closet_lights_when_no_motion_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.bedroom_closet_motion\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_motion\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.bedroom_closet_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n attribute: effect\n state: Plantgrowth\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_closet_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_closet_motion",
"device_id": null
}
}
]
},
{
"id": "motion_low_battery_notification",
"automation": "- alias: Motion - Low Battery Notification\n id: motion_low_battery_notification\n mode: parallel\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.living_room_motion_batt\n - sensor.dining_room_motion_batt\n - sensor.kitchen_motion_batt\n - sensor.bathroom_motion_batt\n - sensor.USER1s_office_motion_batt\n - sensor.USER2s_office_motion_batt\n - sensor.stairs_motion_batt\n - sensor.upstairs_bath_motion_batt\n - sensor.basement_motion_batt\n - sensor.craft_room_motion_batt\n - sensor.fitness_room_motion_batt\n - sensor.USER2s_closet_motion_batt\n below: 30\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Low'",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Living room motion battery sensor",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_motion_batt",
"device_id": null
}
},
{
"name": "Dining room motion battery sensor",
"room": "dining_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dining_room_motion_batt",
"device_id": null
}
},
{
"name": "Kitchen motion battery sensor",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_motion_batt",
"device_id": null
}
},
{
"name": "Bathroom motion battery sensor",
"room": "bathroom",
"type": "sensor",
"id": {
"entity_id": "sensor.bathroom_motion_batt",
"device_id": null
}
},
{
"name": "USER1 office motion battery sensor",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.USER1s_office_motion_batt",
"device_id": null
}
},
{
"name": "USER2 office motion battery sensor",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2s_office_motion_batt",
"device_id": null
}
},
{
"name": "Stairs motion battery sensor",
"room": "stairs",
"type": "sensor",
"id": {
"entity_id": "sensor.stairs_motion_batt",
"device_id": null
}
},
{
"name": "Upstairs bath motion battery sensor",
"room": "bathroom",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_bath_motion_batt",
"device_id": null
}
},
{
"name": "Basement motion battery sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_motion_batt",
"device_id": null
}
},
{
"name": "Craft room motion battery sensor",
"room": "craft_room",
"type": "sensor",
"id": {
"entity_id": "sensor.craft_room_motion_batt",
"device_id": null
}
},
{
"name": "Fitness room motion battery sensor",
"room": "fitness_room",
"type": "sensor",
"id": {
"entity_id": "sensor.fitness_room_motion_batt",
"device_id": null
}
},
{
"name": "USER2 closet motion battery sensor",
"room": "bedroom_closet",
"type": "sensor",
"id": {
"entity_id": "sensor.USER2s_closet_motion_batt",
"device_id": null
}
}
]
},
{
"id": "network_reenable_pihole_after_30_mins",
"automation": "- alias: Network - Re-Enable Pi-hole After 30 Mins\n id: network_reenable_pihole_after_30_mins\n triggers:\n - trigger: state\n entity_id: input_boolean.pihole\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 31\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.pihole\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.pihole",
"config": [
{
"name": "Pi-hole input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pihole",
"device_id": null
}
}
]
},
{
"id": "network_disable_pihole",
"automation": "- alias: Network - Disable Pi-hole\n id: network_disable_pihole\n triggers:\n - trigger: state\n entity_id: input_boolean.pihole\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 3\n conditions:\n - condition: state\n entity_id: input_boolean.pihole\n state: 'off'\n actions:\n - action: script.pihole_disable\n data: {}",
"config": [
{
"name": "Pi-hole input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pihole",
"device_id": null
}
}
]
},
{
"id": "network_enable_pihole",
"automation": "- alias: Network - Enable Pi-hole\n id: network_enable_pihole\n triggers:\n - trigger: state\n entity_id: input_boolean.pihole\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 3\n conditions:\n - condition: state\n entity_id: input_boolean.pihole\n state: 'on'\n actions:\n - action: script.pihole_enable\n data: {}",
"config": [
{
"name": "Pi-hole input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pihole",
"device_id": null
}
}
]
},
{
"id": "network_wan_down_notification",
"automation": "- alias: Network - WAN Down Notification\n id: network_wan_down_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.wan\n to: 'off'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Internet is Down!\n data:\n tag: network",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "WAN binary sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.wan",
"device_id": null
}
}
]
},
{
"id": "network_wan_up_notification",
"automation": "- alias: Network - WAN Up Notification\n id: network_wan_up_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.wan\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Internet is Up\n data:\n tag: network",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "WAN binary sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.wan",
"device_id": null
}
}
]
},
{
"id": "occupancy_turn_off_bedroom_lights_when_unoccupied",
"automation": "- alias: Occupancy - Turn Off Bedroom Lights when Unoccupied\n id: occupancy_turn_off_bedroom_lights_when_unoccupied\n triggers:\n - trigger: state\n entity_id: binary_sensor.bedroom_occupancy\n from: 'on'\n to: 'off'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_occupancy\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: not\n conditions:\n - condition: state\n entity_id: light.closet_lamp\n attribute: effect\n state: Plantgrowth\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bedroom lights group",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lights",
"device_id": null
}
},
{
"name": "Closet lamp",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.closet_lamp",
"device_id": null
}
},
{
"name": "Disable occupancy input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_occupancy",
"device_id": null
}
},
{
"name": "Bedroom occupancy binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_occupancy",
"device_id": null
}
}
]
},
{
"id": "occupancy_turn_off_guest_bedroom_lights_when_unoccupied",
"automation": "- alias: Occupancy - Turn Off Guest Bedroom Lights when Unoccupied\n id: occupancy_turn_off_guest_bedroom_lights_when_unoccupied\n triggers:\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_occupancy\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_occupancy\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n actions:\n - action: light.turn_off\n entity_id: light.guest_bedroom_lights",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Disable occupancy input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_occupancy",
"device_id": null
}
},
{
"name": "Guest bedroom occupancy binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_occupancy",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_run_vacation_mode",
"automation": "- alias: Roomba - Run Roomba Vacation Mode\n id: roomba_run_vacation_mode\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n - condition: time\n weekday:\n - mon\n - wed\n - fri\n - sat\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.main_floor_roomba\n - vacuum.basement_roomba\n - vacuum.upstairs_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
}
]
},
{
"id": "roomba_run_main_floor_roomba_weekdays",
"automation": "- alias: Roomba - Run Main Floor Roomba Weekdays\n id: roomba_run_main_floor_roomba_weekdays\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.main_floor_roomba_battery\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.main_floor_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Main floor Roomba battery sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.main_floor_roomba_battery",
"device_id": null
}
}
]
},
{
"id": "roomba_run_main_floor_roomba_weekdays_partial_clean",
"automation": "- alias: Roomba - Run Main Floor Roomba Weekdays Partial Clean\n id: roomba_run_main_floor_roomba_weekdays_partial_clean\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.main_floor_roomba_battery\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_kitchen\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_dining_room_table\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_front_door\n - delay: 00:00:02\n - action: python_script.main_floor_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Main floor Roomba battery sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.main_floor_roomba_battery",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean dining room table input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_table",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean front door input boolean",
"room": "front_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_front_door",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
}
]
},
{
"id": "roomba_run_main_floor_roomba_weekends",
"automation": "- alias: Roomba - Run Main Floor Roomba Weekends\n id: roomba_run_main_floor_roomba_weekends\n triggers:\n - trigger: time\n at: '11:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'off'\n - condition: time\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.main_floor_roomba_battery\n above: 99\n - condition: state\n entity_id: select.living_room_tv_activities\n state: power_off\n - condition: state\n entity_id: binary_sensor.living_room_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.dining_room_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.kitchen_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.main_floor_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Living room TV activities select",
"room": "living_room",
"type": "select",
"id": {
"entity_id": "select.living_room_tv_activities",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Main floor Roomba battery sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.main_floor_roomba_battery",
"device_id": null
}
}
]
},
{
"id": "roomba_pause_main_floor_roomba_when_doorbell_rings",
"automation": "- alias: Roomba - Pause Main Floor Roomba when Doorbell Rings\n id: roomba_pause_main_floor_roomba_when_doorbell_rings\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: vacuum.pause\n target:\n entity_id:\n - vacuum.main_floor_roomba\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.main_floor_roomba_pause",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba pause input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_pause",
"device_id": null
}
}
]
},
{
"id": "roomba_resume_main_floor_roomba_after_doorbell_rings",
"automation": "- alias: Roomba - Resume Main Floor Roomba after Doorbell Rings\n id: roomba_resume_main_floor_roomba_after_doorbell_rings\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door_camera_doorbell\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_doorbell\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_pause\n state: 'on'\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: paused\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.main_floor_roomba\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.main_floor_roomba_pause",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Front door camera doorbell",
"room": "front_door",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door_camera_doorbell",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba pause input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_pause",
"device_id": null
}
}
]
},
{
"id": "roomba_run_main_floor_roomba_when_away",
"automation": "- alias: Roomba - Run Main Floor Roomba when Away\n id: roomba_run_main_floor_roomba_when_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'off'\n - condition: time\n after: 08:00:00\n before: '23:59:00'\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.main_floor_roomba_battery\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.main_floor_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Main floor Roomba battery sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.main_floor_roomba_battery",
"device_id": null
}
}
]
},
{
"id": "roomba_run_main_floor_roomba_when_away_already_ran",
"automation": "- alias: Roomba - Run Main Floor Roomba when Away Already Ran\n id: roomba_run_main_floor_roomba_when_away_already_ran\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'on'\n - condition: time\n after: 08:00:00\n before: '23:59:00'\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.main_floor_roomba_battery\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_front_door\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_back_door\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom_closet\n - delay: 00:00:02\n - action: python_script.main_floor_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Main floor Roomba battery sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.main_floor_roomba_battery",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean front door input boolean",
"room": "front_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_front_door",
"device_id": null
}
},
{
"name": "Roomba clean back door input boolean",
"room": "back_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_back_door",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
}
]
},
{
"id": "roomba_run_upstairs_roomba_USER1_office",
"automation": "- alias: Roomba - Run Upstairs Roomba in USER1's Office\n id: roomba_run_upstairs_roomba_USER1_office\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1s_office_motion\n to: 'off'\n for:\n hours: 0\n minutes: 26\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran\n state: 'off'\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran_USER1_office\n state: 'off'\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.upstairs_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_motion\n state: 'off'\n for:\n minutes: 10\n - condition: state\n entity_id: binary_sensor.USER1_s_macbook_pro_active\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: time\n after: 09:00:00\n before: '18:30:00'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_USER1_office\n - input_boolean.upstairs_roomba_ran_USER1_office\n - delay: 00:00:02\n - action: python_script.upstairs_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba battery level sensor",
"room": "upstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_roomba_battery_level",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "USER1 MacBook Pro active binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_active",
"device_id": null
}
},
{
"name": "Upstairs Roomba python script",
"room": "upstairs",
"type": "python_script",
"id": {
"entity_id": "python_script.upstairs_roomba",
"device_id": null
}
}
]
},
{
"id": "roomba_run_upstairs_roomba_when_USER2_away_partial_clean",
"automation": "- alias: Roomba - Run Upstairs Roomba when USER2 Away Partial Clean\n id: roomba_run_upstairs_roomba_when_USER2_away_partial_clean\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran\n state: 'off'\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.upstairs_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: group.household\n state: home\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_USER2_office\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_guest_bedroom\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_upstairs_hallway\n - delay: 00:00:02\n - action: python_script.upstairs_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba battery level sensor",
"room": "upstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_roomba_battery_level",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Upstairs Roomba python script",
"room": "upstairs",
"type": "python_script",
"id": {
"entity_id": "python_script.upstairs_roomba",
"device_id": null
}
}
]
},
{
"id": "roomba_run_upstairs_roomba_when_away",
"automation": "- alias: Roomba - Run Upstairs Roomba when Away\n id: roomba_run_upstairs_roomba_when_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran\n state: 'off'\n - condition: time\n after: 08:00:00\n before: '23:59:00'\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.upstairs_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.upstairs_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba battery level sensor",
"room": "upstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_roomba_battery_level",
"device_id": null
}
}
]
},
{
"id": "roomba_shut_off_roombas_when_home",
"automation": "- alias: Roomba - Shut Off Roombas when Home\n id: roomba_shut_off_roombas_when_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 90\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n actions:\n - action: vacuum.return_to_base\n target:\n entity_id:\n - vacuum.main_floor_roomba\n - vacuum.upstairs_roomba\n - vacuum.basement_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
}
]
},
{
"id": "roomba_run_upstairs_roomba_mornings_when_away",
"automation": "- alias: Roomba - Run Upstairs Roomba Mornings when Away\n id: roomba_run_upstairs_roomba_mornings_when_away\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran\n state: 'off'\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.upstairs_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.upstairs_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba battery level sensor",
"room": "upstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_roomba_battery_level",
"device_id": null
}
}
]
},
{
"id": "roomba_run_basement_roomba_weekdays",
"automation": "- alias: Roomba - Run Basement Roomba Weekdays\n id: roomba_run_basement_roomba_weekdays\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.basement_roomba_ran\n state: 'off'\n - condition: time\n weekday:\n - mon\n - wed\n - fri\n - condition: state\n entity_id: vacuum.basement_roomba\n state: docked\n - condition: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.basement_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.washer\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.dryer\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.basement_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.basement_roomba_ran",
"device_id": null
}
},
{
"name": "Basement Roomba battery level sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_roomba_battery_level",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
}
]
},
{
"id": "roomba_run_basement_roomba_partial_clean",
"automation": "- alias: Roomba - Run Basement Roomba Partial Clean\n id: roomba_run_basement_roomba_partial_clean\n triggers:\n - trigger: time\n at: 09:30:00\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.basement_roomba_ran\n state: 'off'\n - condition: time\n weekday:\n - tue\n - thu\n - condition: state\n entity_id: vacuum.basement_roomba\n state: docked\n - condition: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.basement_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.washer\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.dryer\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_workbench\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_laundry_room\n - delay: 00:00:02\n - action: python_script.basement_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.basement_roomba_ran",
"device_id": null
}
},
{
"name": "Basement Roomba battery level sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_roomba_battery_level",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
}
]
},
{
"id": "roomba_run_basement_roomba_partial_clean_weekend",
"automation": "- alias: Roomba - Run Basement Roomba Partial Clean Weekend\n id: roomba_run_basement_roomba_partial_clean_weekend\n triggers:\n - trigger: time\n at: '14:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.basement_roomba_ran\n state: 'off'\n - condition: time\n weekday:\n - sat\n - sun\n - condition: state\n entity_id: vacuum.basement_roomba\n state: docked\n - condition: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.basement_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.washer\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.dryer\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_workbench\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_laundry_room\n - delay: 00:00:02\n - action: python_script.basement_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Washer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washer",
"device_id": null
}
},
{
"name": "Dryer sensor",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dryer",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.basement_roomba_ran",
"device_id": null
}
},
{
"name": "Basement Roomba battery level sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_roomba_battery_level",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
}
]
},
{
"id": "roomba_run_basement_roomba_when_away",
"automation": "- alias: Roomba - Run Basement Roomba when Away\n id: roomba_run_basement_roomba_when_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: time\n after: 08:00:00\n before: '23:59:00'\n - condition: state\n entity_id: vacuum.basement_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.basement_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_workbench\n - delay: 00:00:02\n - action: python_script.basement_roomba",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba battery level sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_roomba_battery_level",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
}
]
},
{
"id": "roomba_run_main_floor_roomba_when_USER2_leaves",
"automation": "- alias: Roomba - Run Main Floor Roomba when USER2 Leaves\n id: roomba_run_main_floor_roomba_when_USER2_leaves\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.main_floor_roomba_ran\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: time\n after: '10:01:00'\n before: '18:00:00'\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.main_floor_roomba_battery\n above: 99\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: vacuum.start\n target:\n entity_id:\n - vacuum.main_floor_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Main floor Roomba battery sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.main_floor_roomba_battery",
"device_id": null
}
}
]
},
{
"id": "roomba_run_upstairs_roomba_when_USER2_leaves",
"automation": "- alias: Roomba - Run Upstairs Roomba when USER2 Leaves\n id: roomba_run_upstairs_roomba_when_USER2_leaves\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: time\n after: '10:01:00'\n before: '18:00:00'\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n - condition: numeric_state\n entity_id: sensor.upstairs_roomba_battery_level\n above: 99\n - condition: state\n entity_id: input_boolean.USER1_away\n state: 'off'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_USER2_office\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_guest_bedroom\n - delay: 00:00:02\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.roomba_clean_upstairs_hallway\n - delay: 00:00:02\n - action: python_script.upstairs_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER1 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba battery level sensor",
"room": "upstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_roomba_battery_level",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Upstairs Roomba python script",
"room": "upstairs",
"type": "python_script",
"id": {
"entity_id": "python_script.upstairs_roomba",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_roomba_when_USER2_home",
"automation": "- alias: Roomba - Turn Off Roomba when USER2 Home\n id: roomba_turn_off_roomba_when_USER2_home\n triggers:\n - trigger: state\n entity_id: person.USER2\n from: not_home\n to: home\n for:\n hours: 0\n minutes: 0\n seconds: 90\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER2_away\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n actions:\n - action: vacuum.return_to_base\n target:\n entity_id:\n - vacuum.main_floor_roomba\n - vacuum.upstairs_roomba",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "USER2 away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER2_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_roomba_when_frinds_and_family_arrive",
"automation": "- alias: Roomba - Turn Off Roomba when Friends and Family Arrive\n id: roomba_turn_off_roomba_when_frinds_and_family_arrive\n triggers:\n - trigger: state\n entity_id: input_boolean.guest_mode\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 90\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n actions:\n - action: vacuum.return_to_base\n target:\n entity_id:\n - vacuum.main_floor_roomba\n - vacuum.upstairs_roomba\n - vacuum.basement_roomba",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_lights_for_main_floor_roomba_away",
"automation": "- alias: Roomba - Turn On lights for Main Floor Roomba Away\n id: roomba_turn_on_lights_for_main_floor_roomba_away\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_lamps\n - light.bedroom_ceiling\n - light.bedroom_closet_ceiling\n data:\n brightness_pct: 100\n color_temp: 370\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
},
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_lights_when_main_floor_roomba_finished_away",
"automation": "- alias: Roomba - Turn Off lights when Main Floor Roomba finished Away\n id: roomba_turn_off_lights_when_main_floor_roomba_finished_away\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: paused\n for:\n hours: 0\n minutes: 4\n seconds: 0\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: stopped\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_lamps\n - light.bedroom_ceiling\n - light.bedroom_closet_ceiling\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
},
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_lights_for_main_floor_roomba_when_dark",
"automation": "- alias: Roomba - Turn On lights for Main Floor Roomba when Dark\n id: roomba_turn_on_lights_for_main_floor_roomba_when_dark\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '14:00:00'\n - condition: numeric_state\n entity_id: sensor.living_room_light_level\n below: 15\n - condition: numeric_state\n entity_id: sensor.kitchen_light_level\n below: 25\n - condition: numeric_state\n entity_id: sensor.dining_room_light_level\n below: 10\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_table\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_lights\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light\n data:\n brightness_pct: 100\n - delay: 00:01:00\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_lamps\n - light.bedroom_closet_ceiling\n data:\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_ceiling\n data:\n brightness_pct: 100",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
},
{
"name": "Dining room table light",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_table",
"device_id": null
}
},
{
"name": "Living room light level sensor",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "Kitchen light level sensor",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_light_level",
"device_id": null
}
},
{
"name": "Dining room light level sensor",
"room": "dining_room",
"type": "sensor",
"id": {
"entity_id": "sensor.dining_room_light_level",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_lights_when_main_floor_roomba_finished_when_dark",
"automation": "- alias: Roomba - Turn Off Lights Main Floor Roomba finished when Dark\n id: roomba_turn_off_lights_when_main_floor_roomba_finished_when_dark\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 2\n seconds: 0\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: paused\n for:\n hours: 0\n minutes: 4\n seconds: 0\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: stopped\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: time\n after: 09:00:00\n before: '15:00:00'\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_lamps\n - light.bedroom_closet_ceiling\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_lights_for_upstairs_roomba_away",
"automation": "- alias: Roomba - Turn On low lights for Upstairs Roomba Away\n id: roomba_turn_on_lights_for_upstairs_roomba_away\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_guest_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_lights\n - light.USER2_office_lights\n - light.guest_bedroom_lights\n - light.stairs_light\n data:\n brightness_pct: 100",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_lights_when_upstairs_roomba_finished_away",
"automation": "- alias: Roomba - Turn Off lights when Upstairs Roomba finished Away\n id: roomba_turn_off_lights_when_upstairs_roomba_finished_away\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: paused\n for:\n hours: 0\n minutes: 2\n seconds: 0\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: stopped\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_guest_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_lights\n - light.USER2_office_lights\n - light.guest_bedroom_lights\n - light.stairs_light",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_lights_for_upstairs_roomba",
"automation": "- alias: Roomba - Turn On low lights for Upstairs Roomba\n id: roomba_turn_on_lights_for_upstairs_roomba\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_guest_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_lights\n - light.USER2_office_lights\n - light.guest_bedroom_lights\n - light.stairs_light\n data:\n brightness_pct: 100",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_lights_when_upstairs_roomba_finished",
"automation": "- alias: Roomba - Turn Off lights when Upstairs Roomba Finished\n id: roomba_turn_off_lights_when_upstairs_roomba_finished\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: paused\n for:\n hours: 0\n minutes: 2\n seconds: 0\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: stopped\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_guest_bedroom_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1s_office_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER2s_office_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.stairs_motion\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_lights\n - light.USER2_office_lights\n - light.guest_bedroom_lights\n - light.stairs_light",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_lights_for_basement_roomba",
"automation": "- alias: Roomba - Turn On lights for Basement Roomba\n id: roomba_turn_on_lights_for_basement_roomba\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_utility_area_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_fitness_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_craft_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_laundry_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_workbench_lights\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lighting\n data:\n brightness_pct: 100",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_lights_when_basement_roomba_finished",
"automation": "- alias: Roomba - Turn Off lights when Basement Roomba finished\n id: roomba_turn_off_lights_when_basement_roomba_finished\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: paused\n for:\n hours: 0\n minutes: 4\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: binary_sensor.basement_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.craft_room_motion\n state: 'off'\n - condition: state\n entity_id: binary_sensor.fitness_room_motion\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_utility_area_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_fitness_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_craft_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_laundry_room_lights\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_workbench_lights\n state: 'off'\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lighting",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement lighting",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lighting",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
},
{
"name": "Craft room motion binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_motion",
"device_id": null
}
},
{
"name": "Fitness room motion binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_motion",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_tooggle_lights_with_room_clean",
"automation": "- alias: Roomba - Toggle Lights with Room Clean\n id: roomba_tooggle_lights_with_room_clean\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_living_room\n - input_boolean.roomba_clean_front_door\n to: 'on'\n id: input_boolean.roomba_clean_living_room_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_dining_room\n - input_boolean.roomba_clean_dining_room_table\n to: 'on'\n id: input_boolean.roomba_clean_dining_room_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_kitchen\n - input_boolean.roomba_clean_back_door\n to: 'on'\n id: input_boolean.roomba_clean_kitchen_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_hallway\n to: 'on'\n id: input_boolean.roomba_clean_hallway_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_bathroom\n to: 'on'\n id: input_boolean.roomba_clean_bathroom_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_bedroom\n to: 'on'\n id: input_boolean.roomba_clean_bedroom_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_bedroom_closet\n to: 'on'\n id: input_boolean.roomba_clean_bedroom_closet_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_front_door\n to: 'on'\n id: input_boolean.roomba_clean_living_room_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_USER1_office\n to: 'on'\n id: input_boolean.roomba_clean_USER1_office_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_USER2_office\n to: 'on'\n id: input_boolean.roomba_clean_USER2_office_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_guest_bedroom\n to: 'on'\n id: input_boolean.roomba_clean_guest_bedroom_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_upstairs_hallway\n to: 'on'\n id: input_boolean.roomba_clean_upstairs_hallway_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_utility_area\n to: 'on'\n id: input_boolean.roomba_clean_utility_area_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_fitness_room\n to: 'on'\n id: input_boolean.roomba_clean_fitness_room_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_craft_room\n to: 'on'\n id: input_boolean.roomba_clean_craft_room_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_laundry_room\n to: 'on'\n id: input_boolean.roomba_clean_laundry_room_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_workbench\n to: 'on'\n id: iinput_boolean.roomba_clean_workbench_lights\n for:\n hours: 0\n minutes: 0\n seconds: 1\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id: '{{ trigger.id }}'",
"config": [
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean dining room table input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_table",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean front door input boolean",
"room": "front_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_front_door",
"device_id": null
}
},
{
"name": "Roomba clean back door input boolean",
"room": "back_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_back_door",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_living_room_lights_room_clean",
"automation": "- alias: Roomba - Turn On Living Room Lights Room Clean\n id: roomba_turn_on_living_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'on'\n - condition: state\n entity_id: input_boolean.roomba_clean_front_door\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_accent_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Living room accent lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_accent_lights",
"device_id": null
}
},
{
"name": "Roomba clean front door input boolean",
"room": "front_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_front_door",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_living_room_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Living Room Lights Room Clean\n id: roomba_turn_off_living_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'on'\n - condition: state\n entity_id: light.living_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.living_room_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_living_room_lights\n - input_boolean.roomba_clean_front_door\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Living room lights group",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lights",
"device_id": null
}
},
{
"name": "Living room motion binary sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "Roomba clean front door input boolean",
"room": "front_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_front_door",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_living_room_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Living Room Lights Room Clean Boolean\n id: roomba_turn_off_living_room_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_living_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_living_room_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_dining_room_lights_room_clean",
"automation": "- alias: Roomba - Turn On Dining Room Lights Room Clean\n id: roomba_turn_on_dining_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'on'\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_table\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.dining_room_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room table input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_table",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_dining_room_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Dining Room Lights Room Clean\n id: roomba_turn_off_dining_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'on'\n - condition: state\n entity_id: light.dining_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.dining_room_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_dining_room_lights\n - input_boolean.roomba_clean_dining_room_table\n - action: light.turn_off\n target:\n entity_id:\n - light.dining_room_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Dining room lights group",
"room": "dining_room",
"type": "light",
"id": {
"entity_id": "light.dining_room_lights",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
},
{
"name": "Roomba clean dining room table input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_table",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_dining_room_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Dining Room Lights Room Clean Boolean\n id: roomba_turn_off_dining_room_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_dining_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_dining_room_lights\n - input_boolean.roomba_clean_dining_room_table",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean dining room table input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_table",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_kitchen_lights_room_clean",
"automation": "- alias: Roomba - Turn On Kitchen Lights Room Clean\n id: roomba_turn_on_kitchen_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'on'\n - condition: state\n entity_id: input_boolean.roomba_clean_back_door\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean back door input boolean",
"room": "back_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_back_door",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_kitchen_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Kitchen Lights Room Clean\n id: roomba_turn_off_kitchen_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'on'\n - condition: state\n entity_id: light.kitchen_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.kitchen_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_kitchen_lights\n - input_boolean.roomba_clean_back_door\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Kitchen lights group",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_lights",
"device_id": null
}
},
{
"name": "Kitchen motion binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean back door input boolean",
"room": "back_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_back_door",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_kitchen_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Kitchen Lights Room Clean Boolean\n id: roomba_turn_off_kitchen_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_kitchen_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_kitchen_lights\n - input_boolean.roomba_clean_back_door",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean back door input boolean",
"room": "back_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_back_door",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_hallway_lights_room_clean",
"automation": "- alias: Roomba - Turn On Hallway Lights Room Clean\n id: roomba_turn_on_hallway_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_hallway_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Hallway Lights Room Clean\n id: roomba_turn_off_hallway_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'on'\n - condition: state\n entity_id: light.hallway_light\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.dining_room_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_hallway_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.hallway_light",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Hallway light",
"room": "hallway",
"type": "light",
"id": {
"entity_id": "light.hallway_light",
"device_id": null
}
},
{
"name": "Dining room motion binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_motion",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_hallway_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Hallway Lights Room Clean Boolean\n id: roomba_turn_off_hallway_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_hallway_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_hallway_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_bathroom_lights_room_clean",
"automation": "- alias: Roomba - Turn On Bathroom Lights Room Clean\n id: roomba_turn_on_bathroom_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bathroom_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_bathroom_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Bathroom Lights Room Clean\n id: roomba_turn_off_bathroom_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'on'\n - condition: state\n entity_id: light.bathroom_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.bathroom_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_bathroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bathroom_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bathroom lights group",
"room": "bathroom",
"type": "light",
"id": {
"entity_id": "light.bathroom_lights",
"device_id": null
}
},
{
"name": "Bathroom motion binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_motion",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_bathroom_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Bathroom Lights Room Clean Boolean\n id: roomba_turn_off_bathroom_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bathroom_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_bathroom_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_bedroom_lights_room_clean",
"automation": "- alias: Roomba - Turn On Bedroom Lights Room Clean\n id: roomba_turn_on_bedroom_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_lamps\n - light.bedroom_ceiling",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
},
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_bedroom_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Bedroom Lights Room Clean\n id: roomba_turn_off_bedroom_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'on'\n - condition: state\n entity_id: light.bedroom_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_lamps\n - light.bedroom_ceiling",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bedroom lights group",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lights",
"device_id": null
}
},
{
"name": "Bedroom lamp",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamp",
"device_id": null
}
},
{
"name": "Bedroom lamps",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_lamps",
"device_id": null
}
},
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_bedroom_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Bedroom Lights Room Clean Boolean\n id: roomba_turn_off_bedroom_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_bedroom_closet_lights_room_clean",
"automation": "- alias: Roomba - Turn On Bedroom Closet Lights Room Clean\n id: roomba_turn_on_bedroom_closet_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_closet_ceiling",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_bedroom_closet_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Bedroom Closet Lights Room Clean\n id: roomba_turn_off_bedroom_closet_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'on'\n - condition: state\n entity_id: light.bedroom_closet_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.bedroom_closet_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom_closet_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_closet_ceiling",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Bedroom closet ceiling light",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_ceiling",
"device_id": null
}
},
{
"name": "Bedroom closet lights",
"room": "bedroom_closet",
"type": "light",
"id": {
"entity_id": "light.bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Bedroom closet motion binary sensor",
"room": "bedroom_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_closet_motion",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_bedroom_closet_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Bedroom Closet Lights Room Clean Boolean\n id: roomba_turn_off_bedroom_closet_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_bedroom_closet_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_bedroom_closet_lights",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_USER1_office_lights_room_clean",
"automation": "- alias: Roomba - Turn On USER1's Office Lights Room Clean\n id: roomba_turn_on_USER1_office_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_USER1_office_lights_room_clean",
"automation": "- alias: Roomba - Turn Off USER1's Office Lights Room Clean\n id: roomba_turn_off_USER1_office_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'on'\n - condition: state\n entity_id: light.USER1_office_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.USER1s_office_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_USER1_office_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER1 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_lights",
"device_id": null
}
},
{
"name": "USER1 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1s_office_motion",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_USER1_office_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off USER1's Office Lights Room Clean Boolean\n id: roomba_turn_off_USER1_office_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_USER1_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_USER2_office_lights_room_clean",
"automation": "- alias: Roomba - Turn On USER2's Office Lights Room Clean\n id: roomba_turn_on_USER2_office_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER2_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_USER2_office_lights_room_clean",
"automation": "- alias: Roomba - Turn Off USER2's Office Lights Room Clean\n id: roomba_turn_off_USER2_office_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'on'\n - condition: state\n entity_id: light.USER2_office_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.USER2s_office_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_USER2_office_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.USER2_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "USER2 office lights group",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER2_office_lights",
"device_id": null
}
},
{
"name": "USER2 office motion binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2s_office_motion",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_USER2_office_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off USER2's Office Lights Room Clean Boolean\n id: roomba_turn_off_USER2_office_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_USER2_office_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_USER2_office_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_guest_bedroom_lights_room_clean",
"automation": "- alias: Roomba - Turn On Guest Bedroom Lights Room Clean\n id: roomba_turn_on_guest_bedroom_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_guest_bedroom_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.guest_bedroom_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_guest_bedroom_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Guest Bedroom Lights Room Clean\n id: roomba_turn_off_guest_bedroom_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_guest_bedroom_lights\n state: 'on'\n - condition: state\n entity_id: light.guest_bedroom_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_guest_bedroom_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.guest_bedroom_lights",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Guest bedroom lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_upstairs_hallway_lights_room_clean",
"automation": "- alias: Roomba - Turn On Upstairs Hallway Lights Room Clean\n id: roomba_turn_on_upstairs_hallway_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.stairs_light",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_upstairs_hallway_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Upstairs Hallway Lights Room Clean\n id: roomba_turn_off_upstairs_hallway_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'on'\n - condition: state\n entity_id: light.stairs_light\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.stairs_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_upstairs_hallway_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.stairs_light",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Stairs motion binary sensor",
"room": "stairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.stairs_motion",
"device_id": null
}
},
{
"name": "Stairs light",
"room": "stairs",
"type": "light",
"id": {
"entity_id": "light.stairs_light",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_upstairs_hallway_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Upstairs Hallway Lights Room Clean Boolean\n id: roomba_turn_off_upstairs_hallway_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_upstairs_hallway_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_upstairs_hallway_lights",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_utility_area_lights_room_clean",
"automation": "- alias: Roomba - Turn On Utility Area Lights Room Clean\n id: roomba_turn_on_utility_area_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_utility_area_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n - light.basement_lamp\n - light.work_bench_light\n - light.laundry_room_light",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_utility_area_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Utility Area Lights Room Clean\n id: roomba_turn_off_utility_area_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_utility_area_lights\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: light.basement_lights\n state: 'on'\n - condition: state\n entity_id: light.basement_lamp\n state: 'on'\n - condition: state\n entity_id: light.work_bench_light\n state: 'on'\n - condition: state\n entity_id: light.laundry_room_light\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.basement_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_utility_area_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - light.basement_lamp\n - light.work_bench_light\n - light.laundry_room_light",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_utility_area_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Utility Area Lights Room Clean Boolean\n id: roomba_turn_off_utility_area_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_utility_area_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_utility_area_lights",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_laundry_room_lights_room_clean",
"automation": "- alias: Roomba - Turn On Laundry Room Lights Room Clean\n id: roomba_turn_on_laundry_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_laundry_room_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n - light.basement_lamp\n - light.work_bench_light\n - light.laundry_room_light",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_laundry_room_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Laundry Room Lights Room Clean\n id: roomba_turn_off_laundry_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_laundry_room_lights\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: light.basement_lights\n state: 'on'\n - condition: state\n entity_id: light.basement_lamp\n state: 'on'\n - condition: state\n entity_id: light.work_bench_light\n state: 'on'\n - condition: state\n entity_id: light.laundry_room_light\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.basement_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_laundry_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - light.basement_lamp\n - light.work_bench_light\n - light.laundry_room_light",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_laundry_room_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Laundry Room Lights Room Clean Boolean\n id: roomba_turn_off_laundry_room_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_laundry_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_laundry_room_lights",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_workbench_lights_room_clean",
"automation": "- alias: Roomba - Turn On Workbench Lights Room Clean\n id: roomba_turn_on_workbench_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_workbench_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.basement_lights\n - light.basement_lamp\n - light.work_bench_light\n - light.laundry_room_light",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_workbench_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Workbench Lights Room Clean\n id: roomba_turn_off_workbench_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_workbench_lights\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: light.basement_lights\n state: 'on'\n - condition: state\n entity_id: light.basement_lamp\n state: 'on'\n - condition: state\n entity_id: light.work_bench_light\n state: 'on'\n - condition: state\n entity_id: light.laundry_room_light\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.basement_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_workbench_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.basement_lights\n - light.basement_lamp\n - light.work_bench_light\n - light.laundry_room_light",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Work bench light",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.work_bench_light",
"device_id": null
}
},
{
"name": "Laundry room light",
"room": "laundry_room",
"type": "light",
"id": {
"entity_id": "light.laundry_room_light",
"device_id": null
}
},
{
"name": "Basement lamp",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lamp",
"device_id": null
}
},
{
"name": "Basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement lights group",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "Basement motion binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_motion",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_workbench_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Workbench Lights Room Clean Boolean\n id: roomba_turn_off_workbench_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_workbench_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_workbench_lights",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_fitness_room_lights_room_clean",
"automation": "- alias: Roomba - Turn On Fitness Room Lights Room Clean\n id: roomba_turn_on_fitness_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_fitness_room_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.fitness_room_ceiling",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Fitness room ceiling light",
"room": "fitness_room",
"type": "light",
"id": {
"entity_id": "light.fitness_room_ceiling",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_fitness_room_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Fitness Room Lights Room Clean\n id: roomba_turn_off_fitness_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_fitness_room_lights\n state: 'on'\n - condition: state\n entity_id: light.fitness_room_ceiling\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.fitness_room_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_fitness_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.fitness_room_ceiling",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Fitness room ceiling light",
"room": "fitness_room",
"type": "light",
"id": {
"entity_id": "light.fitness_room_ceiling",
"device_id": null
}
},
{
"name": "Fitness room motion binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_motion",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_fitness_room_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Fitness Room Lights Room Clean Boolean\n id: roomba_turn_off_fitness_room_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_fitness_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_fitness_room_lights",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_on_craft_room_lights_room_clean",
"automation": "- alias: Roomba - Turn On Craft Room Lights Room Clean\n id: roomba_turn_on_craft_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_craft_room_lights\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.craft_room_ceiling",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Craft room ceiling light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.craft_room_ceiling",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_craft_room_lights_room_clean",
"automation": "- alias: Roomba - Turn Off Craft Room Lights Room Clean\n id: roomba_turn_off_craft_room_lights_room_clean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_craft_room_lights\n state: 'on'\n - condition: state\n entity_id: light.craft_room_ceiling\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: state\n entity_id: binary_sensor.craft_room_motion\n state: 'off'\n for:\n minutes: 6\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_craft_room_lights\n - action: light.turn_off\n target:\n entity_id:\n - light.craft_room_ceiling",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Craft room ceiling light",
"room": "craft_room",
"type": "light",
"id": {
"entity_id": "light.craft_room_ceiling",
"device_id": null
}
},
{
"name": "Craft room motion binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_motion",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_turn_off_craft_room_lights_room_clean_boolean",
"automation": "- alias: Roomba - Turn Off Craft Room Lights Room Clean Boolean\n id: roomba_turn_off_craft_room_lights_room_clean_boolean\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: docked\n for:\n hours: 0\n minutes: 6\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.roomba_clean_craft_room_lights\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: vacuum.basement_roomba\n state: cleaning\n - condition: state\n entity_id: vacuum.basement_roomba\n state: returning\n - condition: time\n after: 08:30:00\n before: '23:00:00'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.roomba_clean_craft_room_lights",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_disable_room_clean_boolean_if_roomba_didnt_run_main_floor",
"automation": "- alias: Roomba - Disable Room Clean Boolean if Roomba Didn't Run Main Floor\n id: roomba_disable_room_clean_boolean_if_roomba_didnt_run_main_floor\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_living_room\n - input_boolean.roomba_clean_dining_room\n - input_boolean.roomba_clean_kitchen\n - input_boolean.roomba_clean_hallway\n - input_boolean.roomba_clean_bathroom\n - input_boolean.roomba_clean_bedroom\n - input_boolean.roomba_clean_bedroom_closet\n - input_boolean.roomba_clean_front_door\n - input_boolean.roomba_clean_back_door\n - input_boolean.roomba_clean_dining_room_table\n - input_boolean.roomba_clean_living_room_lights\n - input_boolean.roomba_clean_living_room_lights\n - input_boolean.roomba_clean_dining_room_lights\n - input_boolean.roomba_clean_kitchen_lights\n - input_boolean.roomba_clean_hallway_lights\n - input_boolean.roomba_clean_bathroom_lights\n - input_boolean.roomba_clean_bedroom_lights\n - input_boolean.roomba_clean_bedroom_closet_lights\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: vacuum.main_floor_roomba\n state: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id: '{{ trigger.entity_id }}'",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean dining room table input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_table",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean front door input boolean",
"room": "front_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_front_door",
"device_id": null
}
},
{
"name": "Roomba clean back door input boolean",
"room": "back_door",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_back_door",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_disable_room_clean_boolean_if_roomba_didnt_run_upstairs",
"automation": "- alias: Roomba - Disable Room Clean Boolean if Roomba Didn't Run Upstairs\n id: roomba_disable_room_clean_boolean_if_roomba_didnt_run_upstairs\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_USER1_office\n - input_boolean.roomba_clean_USER2_office\n - input_boolean.roomba_clean_guest_bedroom\n - input_boolean.roomba_clean_upstairs_hallway\n - input_boolean.roomba_clean_USER1_office_lights\n - input_boolean.roomba_clean_USER2_office_lights\n - input_boolean.roomba_clean_guest_bedroom_lights\n - input_boolean.roomba_clean_upstairs_hallway_lights\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id: '{{ trigger.entity_id }}'",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
}
]
},
{
"id": "roomba_disable_room_clean_boolean_if_roomba_didnt_run_basement",
"automation": "- alias: Roomba - Disable Room Clean Boolean if Roomba Didn't Run Basement\n id: roomba_disable_room_clean_boolean_if_roomba_didnt_run_basement\n mode: parallel\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.roomba_clean_utility_area\n - input_boolean.roomba_clean_fitness_room\n - input_boolean.roomba_clean_craft_room\n - input_boolean.roomba_clean_laundry_room\n - input_boolean.roomba_clean_workbench\n - input_boolean.roomba_clean_utility_area_lights\n - input_boolean.roomba_clean_fitness_room_lights\n - input_boolean.roomba_clean_craft_room_lights\n - input_boolean.roomba_clean_laundry_room_lights\n - input_boolean.roomba_clean_workbench_lights\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: vacuum.upstairs_roomba\n state: docked\n for:\n hours: 0\n minutes: 4\n seconds: 0\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id: '{{ trigger.entity_id }}'",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_set_upstairs_roomba_has_ran_for_the_day",
"automation": "- alias: Roomba - Set Upstairs Roomba has Ran for the Day\n id: roomba_set_upstairs_roomba_has_ran_for_the_day\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 39\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.upstairs_roomba_ran",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
}
]
},
{
"id": "roomba_set_main_floor_roomba_has_ran_for_the_day",
"automation": "- alias: Roomba - Set Main Floor Roomba has Ran for the Day\n id: roomba_set_main_floor_roomba_has_ran_for_the_day\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: cleaning\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.main_floor_roomba_ran",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
}
]
},
{
"id": "roomba_set_basement_roomba_has_ran_for_the_day",
"automation": "- alias: Roomba - Set Basement Roomba has Ran for the Day\n id: roomba_set_basement_roomba_has_ran_for_the_day\n triggers:\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 45\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.basement_roomba_ran",
"config": [
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.basement_roomba_ran",
"device_id": null
}
}
]
},
{
"id": "roomba_set_upstairs_roomba_has_ran_for_the_day_USER1_office",
"automation": "- alias: Roomba - Set Upstairs Roomba has Ran USER1's Office\n id: roomba_set_upstairs_roomba_has_ran_for_the_day_USER1_office\n triggers:\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: cleaning\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.upstairs_roomba_ran_USER1_office\n state: 'off'\n - condition: state\n entity_id: input_boolean.roomba_clean_USER1_office\n state: 'on'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.upstairs_roomba_ran_USER1_office",
"config": [
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
}
]
},
{
"id": "roomba_reset_helpers",
"automation": "- alias: Roomba - Reset Helpers\n id: roomba_reset_helpers\n triggers:\n - trigger: time\n at: 00:01:00\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.main_floor_roomba_ran\n - input_boolean.upstairs_roomba_ran\n - input_boolean.basement_roomba_ran\n - input_boolean.upstairs_roomba_ran_USER1_office\n - input_boolean.roomba_clean_living_room_lights\n - input_boolean.roomba_clean_dining_room_lights\n - input_boolean.roomba_clean_kitchen_lights\n - input_boolean.roomba_clean_hallway_lights\n - input_boolean.roomba_clean_bathroom_lights\n - input_boolean.roomba_clean_bedroom_lights\n - input_boolean.roomba_clean_bedroom_closet_lights\n - input_boolean.roomba_clean_utility_area_lights\n - input_boolean.roomba_clean_fitness_room_lights\n - input_boolean.roomba_clean_craft_room_lights\n - input_boolean.roomba_clean_laundry_room_lights\n - input_boolean.roomba_clean_workbench_lights\n - input_boolean.roomba_clean_USER1_office_lights\n - input_boolean.roomba_clean_USER2_office_lights\n - input_boolean.roomba_clean_guest_bedroom_lights\n - input_boolean.roomba_clean_upstairs_hallway_lights",
"config": [
{
"name": "Main floor Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.main_floor_roomba_ran",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran",
"device_id": null
}
},
{
"name": "Basement Roomba ran input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.basement_roomba_ran",
"device_id": null
}
},
{
"name": "Roomba clean kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen",
"device_id": null
}
},
{
"name": "Roomba clean bedroom input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet",
"device_id": null
}
},
{
"name": "Upstairs Roomba ran USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.upstairs_roomba_ran_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway",
"device_id": null
}
},
{
"name": "Roomba clean workbench input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench",
"device_id": null
}
},
{
"name": "Roomba clean laundry room input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room",
"device_id": null
}
},
{
"name": "Roomba clean living room input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room",
"device_id": null
}
},
{
"name": "Roomba clean dining room input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room",
"device_id": null
}
},
{
"name": "Roomba clean hallway input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway",
"device_id": null
}
},
{
"name": "Roomba clean bathroom input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom",
"device_id": null
}
},
{
"name": "Roomba clean living room lights input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_living_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean dining room lights input boolean",
"room": "dining_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_dining_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean kitchen lights input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_kitchen_lights",
"device_id": null
}
},
{
"name": "Roomba clean hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean bathroom lights input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bathroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom lights input boolean",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean bedroom closet lights input boolean",
"room": "bedroom_closet",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_bedroom_closet_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER1 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER1_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean USER2 office lights input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_USER2_office_lights",
"device_id": null
}
},
{
"name": "Roomba clean guest bedroom lights input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_guest_bedroom_lights",
"device_id": null
}
},
{
"name": "Roomba clean upstairs hallway lights input boolean",
"room": "hallway",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_upstairs_hallway_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area_lights",
"device_id": null
}
},
{
"name": "Roomba clean fitness room lights input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean craft room lights input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean laundry room lights input boolean",
"room": "laundry_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_laundry_room_lights",
"device_id": null
}
},
{
"name": "Roomba clean workbench lights input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_workbench_lights",
"device_id": null
}
},
{
"name": "Roomba clean utility area input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_utility_area",
"device_id": null
}
},
{
"name": "Roomba clean fitness room input boolean",
"room": "fitness_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_fitness_room",
"device_id": null
}
},
{
"name": "Roomba clean craft room input boolean",
"room": "craft_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.roomba_clean_craft_room",
"device_id": null
}
}
]
},
{
"id": "roomba_stuck_ios_notification",
"automation": "- alias: Roomba - Stuck iOS Notification\n id: roomba_stuck_ios_notification\n mode: parallel\n triggers:\n - trigger: state\n entity_id: vacuum.main_floor_roomba\n to: error\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: vacuum.upstairs_roomba\n to: error\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: vacuum.basement_roomba\n to: error\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_roomba\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} is Stuck, Please Help'",
"config": [
{
"name": "Main floor Roomba vacuum",
"room": "main_floor",
"type": "vacuum",
"id": {
"entity_id": "vacuum.main_floor_roomba",
"device_id": null
}
},
{
"name": "Upstairs Roomba vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.upstairs_roomba",
"device_id": null
}
},
{
"name": "Basement Roomba vacuum",
"room": "basement",
"type": "vacuum",
"id": {
"entity_id": "vacuum.basement_roomba",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
}
]
},
{
"id": "system_home_showing_mode_on",
"automation": "- alias: System - Home Showing Mode On\n id: system_home_showing_mode_on\n triggers:\n - trigger: state\n entity_id: input_boolean.home_showing_mode\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 30\n actions:\n - action: script.home_showing_mode_on\n data: {}",
"config": [
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Script home showing mode on",
"room": "home",
"type": "script",
"id": {
"entity_id": "script.home_showing_mode_on",
"device_id": null
}
}
]
},
{
"id": "system_home_showing_mode_off",
"automation": "- alias: System - Home Showing Mode Off\n id: system_home_showing_mode_off\n triggers:\n - trigger: state\n entity_id: input_boolean.home_showing_mode\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 30\n actions:\n - action: script.home_showing_mode_off\n data: {}",
"config": [
{
"name": "Home showing mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.home_showing_mode",
"device_id": null
}
},
{
"name": "Script home showing mode off",
"room": "home",
"type": "script",
"id": {
"entity_id": "script.home_showing_mode_off",
"device_id": null
}
}
]
},
{
"id": "system_backup_home_assistant_nightly",
"automation": "- alias: System - Backup Home Assistant Nightly\n id: system_backup_home_assistant_nightly\n triggers:\n - trigger: time\n at: 04:00:00\n actions:\n - action: backup.create",
"config": []
},
{
"id": "system_reset_overrides_at_7a",
"automation": "- alias: System - Reset Overrides at 7a\n id: system_reset_overrides_at_7a\n triggers:\n - trigger: time\n at: 07:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.disable_climate\n - input_boolean.disable_notifications\n - input_boolean.disable_doorbell\n - input_boolean.disable_door_open_lights_on\n - input_boolean.disable_exterior_on_sunset\n - input_boolean.disable_exterior_off_night\n - input_boolean.disable_auto_garage\n - input_boolean.disable_home_away\n - input_boolean.disable_interior_lights_sunset\n - input_boolean.disable_lock_unlock_doors\n - input_boolean.disable_media_lights\n - input_boolean.disable_motion\n - input_boolean.disable_occupancy\n - input_boolean.disable_rainy_day\n - input_boolean.disable_water_automations\n - input_boolean.downstairs_roomba_pause\n - input_boolean.disable_startup_notifications\n - input_boolean.disable_blinds\n - input_boolean.disable_roomba\n - input_boolean.disable_light_dimmer\n - input_boolean.disable_echo\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.pihole",
"config": [
{
"name": "Disable blinds input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_blinds",
"device_id": null
}
},
{
"name": "Disable doorbell input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_doorbell",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Disable climate input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_climate",
"device_id": null
}
},
{
"name": "Disable exterior on sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_on_sunset",
"device_id": null
}
},
{
"name": "Disable interior lights sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_interior_lights_sunset",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable door open lights on input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_door_open_lights_on",
"device_id": null
}
},
{
"name": "Disable auto garage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_auto_garage",
"device_id": null
}
},
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
},
{
"name": "Disable exterior off night input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_exterior_off_night",
"device_id": null
}
},
{
"name": "Disable lock unlock doors input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_lock_unlock_doors",
"device_id": null
}
},
{
"name": "Disable occupancy input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_occupancy",
"device_id": null
}
},
{
"name": "Disable Roomba input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_roomba",
"device_id": null
}
},
{
"name": "Pi-hole input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.pihole",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
},
{
"name": "Disable light dimmer input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_light_dimmer",
"device_id": null
}
},
{
"name": "Disable startup notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_startup_notifications",
"device_id": null
}
},
{
"name": "Downstairs Roomba pause input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.downstairs_roomba_pause",
"device_id": null
}
}
]
},
{
"id": "system_reset_overrides_at_12p",
"automation": "- alias: System - Reset Overrides at 12p\n id: system_reset_overrides_at_12p\n triggers:\n - trigger: time\n at: '12:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.living_room_guest\n - input_boolean.USER1_office_guest",
"config": [
{
"name": "USER1 office guest input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_office_guest",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Living room guest input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.living_room_guest",
"device_id": null
}
}
]
},
{
"id": "system_disable_erroneous_startup_notifications",
"automation": "- alias: System - Disable Erroneous Startup Notifications\n id: system_disable_erroneous_startup_notifications\n triggers:\n - trigger: homeassistant\n event: start\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.disable_startup_notifications\n - delay: 00:02:00\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.disable_startup_notifications",
"config": [
{
"name": "Disable startup notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_startup_notifications",
"device_id": null
}
}
]
},
{
"id": "system_reload_echo_integration_on_startup",
"automation": "- alias: System - Reload Echo Integration on Startup\n id: system_reload_echo_integration_on_startup\n triggers:\n - trigger: homeassistant\n event: start\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.disable_echo\n - delay: 00:00:30\n - action: homeassistant.reload_config_entry\n target: {}\n data:\n entry_id: 2c39bd41b37b18b2c96b03d10fb00866\n - delay: 00:00:30\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.disable_echo",
"config": [
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
},
{
"name": "Echo integration entry",
"room": "home",
"type": "config_entry",
"id": {
"entity_id": null,
"device_id": "2c39bd41b37b18b2c96b03d10fb00866"
}
}
]
},
{
"id": "system_clear_erroneous_failed_login_notifications",
"automation": "- alias: System - Clear Erroneous Failed Login Notifications\n id: system_clear_erroneous_failed_login_notifications\n triggers:\n - trigger: state\n entity_id: persistent_notification.http_login\n to: notifying\n actions:\n - delay: 00:00:01\n - action: persistent_notification.dismiss\n data:\n notification_id: http-login",
"config": [
{
"name": "Persistent notification HTTP login",
"room": "home",
"type": "persistent_notification",
"id": {
"entity_id": "persistent_notification.http_login",
"device_id": null
}
}
]
},
{
"id": "system_reconnect_USER2_nightstand_if_offline",
"automation": "- alias: System - Reconnect USER2's Nightstand if Offline\n id: system_reconnect_USER2_nightstand_if_offline\n triggers:\n - trigger: state\n entity_id: light.USER2s_nightstand\n to: unavailable\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: light.USER2s_nightstand\n to: unknown\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: unifi.reconnect_client\n data:\n device_id: a493838be740ec667e8fc26fc3e57ee9",
"config": [
{
"name": "USER2 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER2s_nightstand",
"device_id": null
}
},
{
"name": "USER2's nightstand device",
"room": "bedroom",
"type": "device",
"id": {
"entity_id": null,
"device_id": "a493838be740ec667e8fc26fc3e57ee9"
}
}
]
},
{
"id": "system_reconnect_USER1_nightstand_if_offline",
"automation": "- alias: System - Reconnect USER1's Nightstand if Offline\n id: system_reconnect_USER1_nightstand_if_offline\n triggers:\n - trigger: state\n entity_id: light.USER1s_nightstand\n to: unavailable\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: light.USER1s_nightstand\n to: unknown\n for:\n hours: 0\n minutes: 5\n seconds: 0\n actions:\n - action: unifi.reconnect_client\n data:\n device_id: 054511dc5c2c02b186621a55149cb370",
"config": [
{
"name": "USER1 nightstand light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.USER1s_nightstand",
"device_id": null
}
},
{
"name": "USER1's nightstand device",
"room": "bedroom",
"type": "device",
"id": {
"entity_id": null,
"device_id": "054511dc5c2c02b186621a55149cb370"
}
}
]
},
{
"id": "system_ping_locks_if_they_become_unavailable",
"automation": "- alias: System - Ping Locks if they become Unavailable\n id: system_ping_locks_if_they_become_unavailable\n triggers:\n - trigger: state\n entity_id: lock.front_door\n to: unavailable\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: lock.back_door\n to: unavailable\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: lock.basement_door\n to: unavailable\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: lock.front_door\n to: unavailable\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: lock.back_door\n to: unavailable\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: lock.basement_door\n to: unavailable\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: lock.front_door\n to: unknown\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: lock.back_door\n to: unknown\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: lock.basement_door\n to: unknown\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: lock.front_door\n to: unknown\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: lock.back_door\n to: unknown\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: lock.basement_door\n to: unknown\n for:\n hours: 0\n minutes: 10\n seconds: 0\n actions:\n - action: zwave_js.ping\n target:\n entity_id:\n - lock.front_door\n - lock.back_door\n - lock.basement_door",
"config": [
{
"name": "Front door lock",
"room": "front_door",
"type": "lock",
"id": {
"entity_id": "lock.front_door",
"device_id": null
}
},
{
"name": "Back door lock",
"room": "back_door",
"type": "lock",
"id": {
"entity_id": "lock.back_door",
"device_id": null
}
},
{
"name": "Basement door lock",
"room": "basement",
"type": "lock",
"id": {
"entity_id": "lock.basement_door",
"device_id": null
}
}
]
},
{
"id": "system_power_cycle_garage_door_realy_if_offline",
"automation": "- alias: System - Power Cycle Garage Door Relay if Offline\n id: system_power_cycle_garage_door_realy_if_offline\n triggers:\n - trigger: state\n entity_id: cover.garage_door\n to: unavailable\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: cover.garage_door\n to: unknown\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - trigger: state\n entity_id: cover.garage_door\n to: unavailable\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - trigger: state\n entity_id: cover.garage_door\n to: unknown\n for:\n hours: 0\n minutes: 30\n seconds: 0\n actions:\n - action: notify.USER1_devices\n data:\n message: Power Cycling Garage Door Relay\n data:\n tag: garage\n - action: switch.turn_off\n target:\n entity_id:\n - switch.garage_door_relay\n - delay: 00:00:30\n - action: switch.turn_on\n target:\n entity_id:\n - switch.garage_door_relay",
"config": [
{
"name": "Garage door cover",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Switch garage door relay",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.garage_door_relay",
"device_id": null
}
}
]
},
{
"id": "system_turn_on_guest_mode_if_overnight_guest_mode_turned_on",
"automation": "- alias: System - Turn On Guest Mode if Overnight Guest Mode Turned On\n id: system_turn_on_guest_mode_if_overnight_guest_mode_turned_on\n triggers:\n - trigger: state\n entity_id: input_boolean.overnight_guest_mode\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.guest_mode",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
}
]
},
{
"id": "system_turn_off_guest_mode_if_overnight_guest_mode_turned_off",
"automation": "- alias: System - Turn Off Guest Mode if Overnight Guest Mode Turned Off\n id: system_turn_off_guest_mode_if_overnight_guest_mode_turned_off\n triggers:\n - trigger: state\n entity_id: input_boolean.overnight_guest_mode\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.guest_mode",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
}
]
},
{
"id": "system_reset_guest_mode_at_7a",
"automation": "- alias: System - Reset Guest Mode at 7a\n id: system_reset_guest_mode_at_7a\n triggers:\n - trigger: time\n at: 07:00:00\n conditions:\n - condition: state\n entity_id: input_boolean.overnight_guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.guest_mode",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
}
]
},
{
"id": "system_turn_on_USER1_office_do_not_disturb_when_macbook_av_input_on",
"automation": "- alias: System - Turn On USER1 Office Do not Disturb when MacBook AV Input On\n id: system_turn_on_USER1_office_do_not_disturb_when_macbook_av_input_on\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_macbook_pro_camera_in_use\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.USER1_s_macbook_pro_audio_input_in_use\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: sensor.USER1_s_macbook_pro_active_audio_input\n from: Inactive\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: binary_sensor.USER1_s_macbook_pro_active\n state: 'on'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.USER1_s_office_do_not_disturb",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 MacBook Pro active binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_active",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro camera in use",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_camera_in_use",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro audio input in use",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_audio_input_in_use",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro active audio input",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.USER1_s_macbook_pro_active_audio_input",
"device_id": null
}
}
]
},
{
"id": "system_turn_off_USER1_office_do_not_disturb_when_macbook_av_input_off",
"automation": "- alias: System - Turn Off USER1 Office Do not Disturb when MacBook AV Input Off\n id: system_turn_off_USER1_office_do_not_disturb_when_macbook_av_input_off\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_macbook_pro_camera_in_use\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.USER1_s_macbook_pro_audio_input_in_use\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: binary_sensor.USER1_s_macbook_pro_focus\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - trigger: state\n entity_id: sensor.USER1_s_macbook_pro_active_audio_input\n to: Inactive\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'on'\n - condition: state\n entity_id: binary_sensor.USER1_s_macbook_pro_camera_in_use\n state: 'off'\n - condition: state\n entity_id: binary_sensor.USER1_s_macbook_pro_audio_input_in_use\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.USER1_s_office_do_not_disturb",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro camera in use",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_camera_in_use",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro audio input in use",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_audio_input_in_use",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro active audio input",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.USER1_s_macbook_pro_active_audio_input",
"device_id": null
}
},
{
"name": "USER1's MacBook Pro focus",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_macbook_pro_focus",
"device_id": null
}
}
]
},
{
"id": "system_echo_timer_flash_living_room_lights_on",
"automation": "- alias: System - Echo Timer Flash Living Room Lights On\n id: system_echo_timer_flash_living_room_lights_on\n mode: parallel\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_office_echo_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.basement_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bathroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.craft_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.dining_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.fitness_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.kitchen_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.USER2_s_office_timer\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: or\n conditions:\n - condition: state\n entity_id: light.globe\n state: 'on'\n - condition: state\n entity_id: light.media_center_lighting\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_echo\n state: 'off'\n actions:\n - action: light.turn_on\n data:\n flash: long\n color_name: green\n brightness_pct: 100\n target:\n entity_id:\n - light.globe\n - action: light.turn_on\n data:\n flash: long\n color_name: green\n brightness_pct: 100\n target:\n entity_id:\n - light.media_center_lighting\n - delay: 00:03:00\n - action: light.turn_on\n target:\n entity_id:\n - light.media_center_lighting\n data:\n transition: 5\n brightness_pct: 100\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n transition: 5\n brightness_pct: 65\n color_temp: 366",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 office echo timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_office_echo_timer",
"device_id": null
}
},
{
"name": "Basement timer binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_timer",
"device_id": null
}
},
{
"name": "Bathroom timer binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_timer",
"device_id": null
}
},
{
"name": "Bedroom timer binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_timer",
"device_id": null
}
},
{
"name": "Craft room timer binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_timer",
"device_id": null
}
},
{
"name": "Dining room timer binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_timer",
"device_id": null
}
},
{
"name": "Fitness room timer binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_timer",
"device_id": null
}
},
{
"name": "Guest bedroom timer binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_timer",
"device_id": null
}
},
{
"name": "Kitchen timer binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_timer",
"device_id": null
}
},
{
"name": "USER2 office timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_s_office_timer",
"device_id": null
}
},
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "system_echo_timer_flash_living_room_lights_off",
"automation": "- alias: System - Echo Timer Flash Living Room Lights Off\n id: system_echo_timer_flash_living_room_lights_off\n mode: parallel\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_office_echo_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.basement_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bathroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.craft_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.dining_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.fitness_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.kitchen_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.USER2_s_office_timer\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: or\n conditions:\n - condition: state\n entity_id: light.globe\n state: 'off'\n - condition: state\n entity_id: light.media_center_lighting\n state: 'off'\n actions:\n - action: light.turn_on\n data:\n flash: long\n color_name: green\n brightness_pct: 100\n target:\n entity_id:\n - light.globe\n - action: light.turn_on\n data:\n flash: long\n color_name: green\n brightness_pct: 100\n target:\n entity_id:\n - light.media_center_lighting\n - delay: 00:03:00\n - action: light.turn_off\n target:\n entity_id:\n - light.globe\n - action: light.turn_off\n target:\n entity_id:\n - light.media_center_lighting",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 office echo timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_office_echo_timer",
"device_id": null
}
},
{
"name": "Basement timer binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_timer",
"device_id": null
}
},
{
"name": "Bathroom timer binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_timer",
"device_id": null
}
},
{
"name": "Bedroom timer binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_timer",
"device_id": null
}
},
{
"name": "Craft room timer binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_timer",
"device_id": null
}
},
{
"name": "Dining room timer binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_timer",
"device_id": null
}
},
{
"name": "Fitness room timer binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_timer",
"device_id": null
}
},
{
"name": "Guest bedroom timer binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_timer",
"device_id": null
}
},
{
"name": "Kitchen timer binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_timer",
"device_id": null
}
},
{
"name": "USER2 office timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_s_office_timer",
"device_id": null
}
},
{
"name": "Media center lighting",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.media_center_lighting",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
}
]
},
{
"id": "system_shutdown_windows_vm_at_bedtime",
"automation": "- alias: System Shutdown Windows VM at Bedtime\n id: system_shutdown_windows_vm_at_bedtime\n triggers:\n - trigger: state\n entity_id: input_boolean.bedtime\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: binary_sensor.qemu_windows_100_status\n state: 'on'\n actions:\n - action: button.press\n target:\n entity_id: button.qemu_windows_100_shutdown",
"config": [
{
"name": "Bedtime input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedtime",
"device_id": null
}
},
{
"name": "QEMU Windows 100 status",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.qemu_windows_100_status",
"device_id": null
}
},
{
"name": "QEMU Windows 100 shutdown button",
"room": "home",
"type": "button",
"id": {
"entity_id": "button.qemu_windows_100_shutdown",
"device_id": null
}
}
]
},
{
"id": "system_shutdown_windows_vm_when_household_away",
"automation": "- alias: System - Shutdown Windows VM when Household Away\n id: system_shutdown_windows_vm_when_household_away\n triggers:\n - trigger: state\n entity_id: group.household\n from: home\n to: not_home\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: binary_sensor.qemu_windows_100_status\n state: 'on'\n actions:\n - action: button.press\n target:\n entity_id: button.qemu_windows_100_shutdown",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "QEMU Windows 100 status",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.qemu_windows_100_status",
"device_id": null
}
},
{
"name": "QEMU Windows 100 shutdown button",
"room": "home",
"type": "button",
"id": {
"entity_id": "button.qemu_windows_100_shutdown",
"device_id": null
}
}
]
},
{
"id": "system_nas_02_warning_ios_notification",
"automation": "- alias: System - NAS-02 Warning iOS Notification\n id: system_nas_02_warning_ios_notification\n triggers:\n - trigger: state\n entity_id: sensor.nas_02_status\n to: warning\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: NAS-02 RAID Failing\n data:\n tag: nas-02",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "NAS-02 status sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.nas_02_status",
"device_id": null
}
}
]
},
{
"id": "system_nvr_drive_failure",
"automation": "- alias: System - NVR Drive Failure\n id: system_nvr_drive_failure\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.zephyr_place_REDACTED_hdd_1\n - binary_sensor.zephyr_place_REDACTED_hdd_2\n - binary_sensor.zephyr_place_REDACTED_hdd_3\n - binary_sensor.zephyr_place_REDACTED_hdd_4\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Failing'",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Zephyr Place REDACTED HDD 1",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.zephyr_place_REDACTED_hdd_1",
"device_id": null
}
},
{
"name": "Zephyr Place REDACTED HDD 2",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.zephyr_place_REDACTED_hdd_2",
"device_id": null
}
},
{
"name": "Zephyr Place REDACTED HDD 3",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.zephyr_place_REDACTED_hdd_3",
"device_id": null
}
},
{
"name": "Zephyr Place REDACTED HDD 4",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.zephyr_place_REDACTED_hdd_4",
"device_id": null
}
}
]
},
{
"id": "system_ups_power_loss_alert_ios_notification",
"automation": "- alias: System - UPS Power Loss Alert iOS Notification\n id: system_ups_power_loss_alert_ios_notification\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.ups_a_input_voltage\n - sensor.ups_b_input_voltage\n - sensor.ups_c_input_voltage\n below: 80\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Power Outage Detected\n data:\n tag: ups",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "UPS A input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_a_input_voltage",
"device_id": null
}
},
{
"name": "UPS B input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_b_input_voltage",
"device_id": null
}
},
{
"name": "UPS C input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_c_input_voltage",
"device_id": null
}
}
]
},
{
"id": "system_ups_power_restored_alert_ios_notification",
"automation": "- alias: System - UPS Power Restored Alert iOS Notification\n id: system_ups_power_restored_alert_ios_notification\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.ups_a_input_voltage\n - sensor.ups_b_input_voltage\n - sensor.ups_c_input_voltage\n above: 110\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_startup_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Power Restored\n data:\n tag: ups",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "UPS A input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_a_input_voltage",
"device_id": null
}
},
{
"name": "UPS B input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_b_input_voltage",
"device_id": null
}
},
{
"name": "UPS C input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_c_input_voltage",
"device_id": null
}
},
{
"name": "Disable startup notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_startup_notifications",
"device_id": null
}
}
]
},
{
"id": "system_ups_low_battery_alert_ios_notification",
"automation": "- alias: System - UPS Low Battery Alert iOS Notification\n id: system_ups_low_battery_alert_ios_notification\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.ups_a_battery\n - sensor.ups_b_battery\n - sensor.ups_c_input_voltage\n below: 15\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Low'\n data:\n tag: ups",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "UPS C input voltage",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_c_input_voltage",
"device_id": null
}
},
{
"name": "UPS A battery",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_a_battery",
"device_id": null
}
},
{
"name": "UPS B battery",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_b_battery",
"device_id": null
}
}
]
},
{
"id": "system_ups_disconnected_ios_notification",
"automation": "- alias: System - UPS Disconnected iOS Notification\n id: system_ups_disconnected_ios_notification\n triggers:\n - trigger: state\n entity_id:\n - sensor.ups_a_status\n - sensor.ups_b_status\n - sensor.ups_c_status\n to: unavailable\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} has Disconnected'\n data:\n tag: ups",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "UPS A status",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_a_status",
"device_id": null
}
},
{
"name": "UPS B status",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_b_status",
"device_id": null
}
},
{
"name": "UPS C status",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.ups_c_status",
"device_id": null
}
}
]
},
{
"id": "system_home_assistant_start_ios_notification",
"automation": "- alias: System - Home Assistant Start iOS Notification\n id: system_home_assistant_start_ios_notification\n triggers:\n - trigger: homeassistant\n event: start\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Home Assistant Started\n data:\n tag: homeassistant",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "system_home_assistant_update_ios_notification",
"automation": "- alias: System - Home Assistant Update iOS Notification\n id: system_home_assistant_update_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.docker_hub_update_available\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Update Available for Home Assistant\n data:\n tag: homeassistant",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Docker Hub update available",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.docker_hub_update_available",
"device_id": null
}
}
]
},
{
"id": "system_guest_mode_is_still_on",
"automation": "- alias: System - Guest Mode is Still On\n id: system_guest_mode_is_still_on\n triggers:\n - trigger: time\n at: 09:00:00\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.overnight_guest_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n actions:\n - action: notify.USER1_devices\n data:\n message: Guest Mode is Still On",
"config": [
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Overnight guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.overnight_guest_mode",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
}
]
},
{
"id": "system_echo_timer_notification_USER1",
"automation": "- alias: System - Echo Timer Notification USER1\n id: system_echo_timer_notification_USER1\n mode: parallel\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_office_echo_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.basement_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bathroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.craft_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.dining_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.fitness_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.kitchen_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.USER2_s_office_timer\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.disable_echo\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Finished'\n data:\n tag: echo",
"config": [
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "USER1 office echo timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_office_echo_timer",
"device_id": null
}
},
{
"name": "Basement timer binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_timer",
"device_id": null
}
},
{
"name": "Bathroom timer binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_timer",
"device_id": null
}
},
{
"name": "Bedroom timer binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_timer",
"device_id": null
}
},
{
"name": "Craft room timer binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_timer",
"device_id": null
}
},
{
"name": "Dining room timer binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_timer",
"device_id": null
}
},
{
"name": "Fitness room timer binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_timer",
"device_id": null
}
},
{
"name": "Guest bedroom timer binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_timer",
"device_id": null
}
},
{
"name": "Kitchen timer binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_timer",
"device_id": null
}
},
{
"name": "USER2 office timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_s_office_timer",
"device_id": null
}
},
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
}
]
},
{
"id": "system_echo_timer_notification_USER2",
"automation": "- alias: System - Echo Timer Notification USER2\n id: system_echo_timer_notification_USER2\n mode: parallel\n triggers:\n - trigger: state\n entity_id: binary_sensor.USER1_s_office_echo_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.basement_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bathroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.craft_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.dining_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.fitness_room_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.guest_bedroom_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.kitchen_timer\n from: 'on'\n to: 'off'\n - trigger: state\n entity_id: binary_sensor.USER2_s_office_timer\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: person.USER2\n state: home\n - condition: state\n entity_id: input_boolean.disable_echo\n state: 'off'\n actions:\n - action: notify.USER2_devices\n data:\n message: '{{ trigger.to_state.attributes.friendly_name }} Finished'\n data:\n tag: echo",
"config": [
{
"name": "USER2 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER2",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER2 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER2_devices",
"device_id": null
}
},
{
"name": "USER1 office echo timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER1_s_office_echo_timer",
"device_id": null
}
},
{
"name": "Basement timer binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_timer",
"device_id": null
}
},
{
"name": "Bathroom timer binary sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_timer",
"device_id": null
}
},
{
"name": "Bedroom timer binary sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_timer",
"device_id": null
}
},
{
"name": "Craft room timer binary sensor",
"room": "craft_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.craft_room_timer",
"device_id": null
}
},
{
"name": "Dining room timer binary sensor",
"room": "dining_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dining_room_timer",
"device_id": null
}
},
{
"name": "Fitness room timer binary sensor",
"room": "fitness_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fitness_room_timer",
"device_id": null
}
},
{
"name": "Guest bedroom timer binary sensor",
"room": "guest_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bedroom_timer",
"device_id": null
}
},
{
"name": "Kitchen timer binary sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_timer",
"device_id": null
}
},
{
"name": "USER2 office timer binary sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.USER2_s_office_timer",
"device_id": null
}
},
{
"name": "Disable echo input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_echo",
"device_id": null
}
}
]
},
{
"id": "vacation_mode_on",
"automation": "- alias: Vacation - Mode On\n id: vacation_mode_on\n triggers:\n - trigger: state\n entity_id: input_boolean.vacation_mode\n to: 'on'\n conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - input_boolean.disable_rainy_day\n - input_boolean.disable_interior_lights_sunset\n - input_boolean.disable_media_lights\n - input_boolean.disable_occupancy\n - input_boolean.disable_motion\n - input_boolean.disable_fountain",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Disable interior lights sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_interior_lights_sunset",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable fountain input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_fountain",
"device_id": null
}
},
{
"name": "Disable occupancy input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_occupancy",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "vacation_mode_off",
"automation": "- alias: Vacation - Mode Off\n id: vacation_mode_off\n triggers:\n - trigger: state\n entity_id: input_boolean.vacation_mode\n to: 'off'\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - input_boolean.disable_rainy_day\n - input_boolean.disable_interior_lights_sunset\n - input_boolean.disable_media_lights\n - input_boolean.disable_occupancy\n - input_boolean.thermostat_away\n - input_boolean.disable_motion",
"config": [
{
"name": "Thermostat away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.thermostat_away",
"device_id": null
}
},
{
"name": "Disable motion input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_motion",
"device_id": null
}
},
{
"name": "Disable interior lights sunset input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_interior_lights_sunset",
"device_id": null
}
},
{
"name": "Disable media lights input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_media_lights",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Disable occupancy input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_occupancy",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "vacation_turn_on_when_gone_24_hours",
"automation": "- alias: Vacation - Turn On when Gone 24 Hours\n id: vacation_turn_on_when_gone_24_hours\n triggers:\n - trigger: state\n entity_id: group.household\n to: not_home\n for:\n hours: 24\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.vacation_mode",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
}
]
},
{
"id": "vacation_turn_off_when_home",
"automation": "- alias: Vacation - Turn off when Home\n id: vacation_turn_off_when_home\n triggers:\n - trigger: state\n entity_id: group.household\n from: not_home\n to: home\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n actions:\n - action: homeassistant.turn_off\n entity_id: input_boolean.vacation_mode",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
}
]
},
{
"id": "vacation_turn_on_when_thermostat_set_to_vacation",
"automation": "- alias: Vacation - Turn On when Thermostat set to Vacation\n id: vacation_turn_on_when_thermostat_set_to_vacation\n triggers:\n - trigger: state\n entity_id: sensor.thermostat_climate_mode\n to: vacation\n conditions:\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n actions:\n - action: homeassistant.turn_on\n entity_id: input_boolean.vacation_mode",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Thermostat climate mode sensor",
"room": "main_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.thermostat_climate_mode",
"device_id": null
}
}
]
},
{
"id": "vacation_lights_on_at_night",
"automation": "- alias: Vacation - Lights On at Night\n id: vacation_lights_on_at_night\n triggers:\n - trigger: state\n entity_id: sun.sun\n from: above_horizon\n to: below_horizon\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - delay:\n minutes: '{{ range(2, 20) | random }}'\n - action: light.turn_on\n target:\n entity_id:\n - light.kitchen_sink\n data:\n brightness_pct: 50\n - delay:\n minutes: '{{ range(2, 28) | random }}'\n - action: light.turn_on\n target:\n entity_id:\n - light.living_room_lamps\n data:\n brightness_pct: 75\n transition: 120\n - delay:\n minutes: '{{ range(2, 59) | random }}'\n - action: light.turn_on\n target:\n entity_id:\n - light.bedroom_ceiling\n data:\n brightness_pct: 25\n transition: 60\n - delay:\n minutes: '{{ range(2, 45) | random }}'\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n - light.USER1_office_desk_accent\n data:\n brightness_pct: 80",
"config": [
{
"name": "Sun sun",
"room": "exterior",
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
}
]
},
{
"id": "vacation_lights_off_at_night",
"automation": "- alias: Vacation - Lights Off at Night\n id: vacation_lights_off_at_night\n triggers:\n - trigger: time\n at: '21:30:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - delay:\n minutes: '{{ range(2, 32) | random }}'\n - action: light.turn_off\n target:\n entity_id:\n - light.kitchen_sink\n - delay:\n minutes: '{{ range(2, 59) | random }}'\n - action: light.turn_off\n target:\n entity_id:\n - light.living_room_lamps\n - delay:\n minutes: '{{ range(2, 30) | random }}'\n - action: light.turn_off\n target:\n entity_id:\n - light.bedroom_ceiling\n - delay:\n minutes: '{{ range(2, 45) | random }}'\n - action: light.turn_off\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n - light.USER1_office_desk_accent",
"config": [
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
},
{
"name": "Living room lamps",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_lamps",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Bedroom ceiling",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_ceiling",
"device_id": null
}
},
{
"name": "Kitchen sink light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_sink",
"device_id": null
}
}
]
},
{
"id": "water_works_sound_alarm_when_water_detected_lights",
"automation": "- alias: Water Works - Sound Alarm When Water Detected Lights\n id: water_works_sound_alarm_when_water_detected_lights\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.bathroom_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.upstairs_bathrooom_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.utility_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n brightness_pct: 100\n color_name: blue\n - action: light.turn_on\n target:\n entity_id:\n - light.smart_bulbs\n data:\n flash: long",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Smart bulbs light group",
"room": "home",
"type": "light",
"id": {
"entity_id": "light.smart_bulbs",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_sensor",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_sensor",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathrooom_water_sensor",
"device_id": null
}
},
{
"name": "Utility sink water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.utility_sink_water_sensor",
"device_id": null
}
},
{
"name": "Washing machine water sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_shut_off_water_main_when_water_detected",
"automation": "- alias: Water Works - Shut Off Water Main When Water Detected\n id: water_works_shut_off_water_main_when_water_detected\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.bathroom_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.upstairs_bathrooom_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.utility_sink_water_sensor\n from: 'off'\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: valve.water_main\n state: open\n actions:\n - action: valve.close_valve\n entity_id:\n - valve.water_main",
"config": [
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_sensor",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_sensor",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathrooom_water_sensor",
"device_id": null
}
},
{
"name": "Utility sink water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.utility_sink_water_sensor",
"device_id": null
}
},
{
"name": "Washing machine water sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_shut_off_water_main_when_vacation_mode_on",
"automation": "- alias: Water Works - Shut Off Water Main When Vacation Mode On\n id: water_works_shut_off_water_main_when_vacation_mode_on\n triggers:\n - trigger: state\n entity_id: input_boolean.vacation_mode\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: valve.water_main\n state: open\n actions:\n - action: valve.close_valve\n target:\n entity_id:\n - valve.water_main",
"config": [
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_turn_on_water_main_when_vacation_mode_off",
"automation": "- alias: Water Works - Turn On Water Main When Vacation Mode Off\n id: water_works_turn_on_water_main_when_vacation_mode_off\n triggers:\n - trigger: state\n entity_id: input_boolean.vacation_mode\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_home_away\n state: 'off'\n - condition: state\n entity_id: valve.water_main\n state: closed\n actions:\n - action: valve.open_valve\n target:\n entity_id:\n - valve.water_main",
"config": [
{
"name": "Disable home away input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_home_away",
"device_id": null
}
},
{
"name": "Vacation mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_water_main_turned_off_ios_notification",
"automation": "- alias: Water Works - Water Main Turned Off iOS Notification\n id: water_works_water_main_turned_off_ios_notification\n triggers:\n - trigger: state\n entity_id: valve.water_main\n from: open\n to: closed\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Main Has Been Shut Off!\n data:\n tag: water-main",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
}
]
},
{
"id": "water_works_water_main_turned_on_ios_notification",
"automation": "- alias: Water Works - Water Main Turned On iOS Notification\n id: water_works_water_main_turned_on_ios_notification\n triggers:\n - trigger: state\n entity_id: valve.water_main\n from: closed\n to: open\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_startup_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Main Has Been Turned Back On\n data:\n tag: water-main",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Water main valve",
"room": "home",
"type": "valve",
"id": {
"entity_id": "valve.water_main",
"device_id": null
}
},
{
"name": "Disable startup notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_startup_notifications",
"device_id": null
}
}
]
},
{
"id": "water_works_basement_drain_water_sensor_ios_notification",
"automation": "- alias: Water Works - Basement Drain Water Sensor iOS Notification\n id: water_works_basement_drain_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected in Basement Drain!\n data:\n tag: basement-drain-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
}
]
},
{
"id": "water_works_kitchen_sink_water_sensor_ios_notification",
"automation": "- alias: Water Works - Kitchen Sink Water Sensor iOS Notification\n id: water_works_kitchen_sink_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected Under Kitchen Sink!\n data:\n tag: kitchen-sink-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_sensor",
"device_id": null
}
}
]
},
{
"id": "water_works_bathroom_sink_water_sensor_ios_notification",
"automation": "- alias: Water Works - Bathroom Sink Water Sensor iOS Notification\n id: water_works_bathroom_sink_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected Under Bathroom Sink!\n data:\n tag: bathroom-sink-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_sensor",
"device_id": null
}
}
]
},
{
"id": "water_works_upstairs_bathroom_water_sensor_ios_notification",
"automation": "- alias: Water Works - Upstairs Bathroom Water Sensor iOS Notification\n id: water_works_upstairs_bathroom_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.upstairs_bathrooom_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected in Upstairs Bathroom!\n data:\n tag: upstairs-bathroom-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathrooom_water_sensor",
"device_id": null
}
}
]
},
{
"id": "water_works_coal_room_water_sensor_ios_notification",
"automation": "- alias: Water Works - Coal Room Water Sensor iOS Notification\n id: water_works_coal_room_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.coal_room_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected in Coal Room!\n data:\n tag: coal-room-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Coal room water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.coal_room_water_sensor",
"device_id": null
}
}
]
},
{
"id": "water_works_utility_sink_water_sensor_ios_notification",
"automation": "- alias: Water Works - Utility Sink Water Sensor iOS Notification\n id: water_works_utility_sink_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.utility_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected Under Utility Sink!\n data:\n tag: utility-sink-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Utility sink water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.utility_sink_water_sensor",
"device_id": null
}
}
]
},
{
"id": "water_works_washing_mashine_water_sensor_ios_notficiation",
"automation": "- alias: Water Works - Washing Machine Water Sensor iOS Notification\n id: water_works_washing_mashine_water_sensor_ios_notficiation\n triggers:\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected by Washing Machine!\n data:\n tag: washing-machine-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Washing machine water sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor",
"device_id": null
}
}
]
},
{
"id": "water_works_sump_pump_water_sensor_ios_notification",
"automation": "- alias: Water Works - Sump Pump Water Sensor iOS Notification\n id: water_works_sump_pump_water_sensor_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.sump_pump_water_sensor_liquid_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Detected in Sump Pump!\n data:\n tag: sump-pump-water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Sump pump water sensor liquid detected",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.sump_pump_water_sensor_liquid_detected",
"device_id": null
}
}
]
},
{
"id": "water_works_basement_drain_water_sensor_audio_notification",
"automation": "- alias: Water Works - Basement Drain Water Sensor Audio Notification\n id: water_works_basement_drain_water_sensor_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Water Detected in Basement\n Drain! Shutting Off Water Supply\"\n\n '\n media_content_type: music\n extra:\n volume: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_kitchen_sink_water_sensor_audio_notification",
"automation": "- alias: Water Works - Kitchen Sink Water Sensor Audio Notification\n id: water_works_kitchen_sink_water_sensor_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Water Detected Under Kitchen\n Sink! Shutting Off Water Supply\"\n\n '\n media_content_type: music\n extra:\n volume: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_bathroom_sink_water_sensor_audio_notification",
"automation": "- alias: Water Works - Bathroom Sink Water Sensor Audio Notification\n id: water_works_bathroom_sink_water_sensor_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.bathroom_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Water Detected Under Bathroom\n Sink! Shutting Off Water Supply\"\n\n '\n media_content_type: music\n extra:\n volume: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_upstairs_bathroom_sink_water_sensor_audio_notification",
"automation": "- alias: Water Works - Upstairs Bathroom Sink Water Sensor Audio Notification\n id: water_works_upstairs_bathroom_sink_water_sensor_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.upstairs_bathrooom_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Water Detected In Upstairs\n Bathroom! Shutting Off Water Supply\"\n\n '\n media_content_type: music\n extra:\n volume: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathrooom_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_utility_sink_water_sensor_audio_notification",
"automation": "- alias: Water Works - Utility Sink Water Sensor Audio Notification\n id: water_works_utility_sink_water_sensor_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.utility_sink_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Water Detected Under Utility\n Sink! Shutting Off Water Supply\"\n\n '\n media_content_type: music\n extra:\n volume: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Utility sink water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.utility_sink_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_washing_machine_water_sensor_audio_notification",
"automation": "- alias: Water Works - Washing Machine Water Sensor Audio Notification\n id: water_works_washing_machine_water_sensor_audio_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_sensor\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.disable_water_automations\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: media_player.play_media\n target:\n entity_id:\n - media_player.sonos_living_room\n - media_player.sonos_dining_room\n - media_player.sonos_kitchen\n - media_player.sonos_bathroom\n - media_player.sonos_bedroom\n - media_player.sonos_bedroom_closet\n - media_player.sonos_USER1s_office\n - media_player.sonos_USER2s_office\n - media_player.sonos_move\n - media_player.sonos_fitness_room\n - media_player.sonos_craft_room\n data:\n announce: true\n media_content_id: 'media-source://tts/cloud?message=\"Water Detected by Washing\n Machine! Shutting Off Water Supply\"\n\n '\n media_content_type: music\n extra:\n volume: 50",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room Sonos",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_living_room",
"device_id": null
}
},
{
"name": "Dining room Sonos",
"room": "dining_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_dining_room",
"device_id": null
}
},
{
"name": "Kitchen Sonos",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_kitchen",
"device_id": null
}
},
{
"name": "Bathroom Sonos",
"room": "bathroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bathroom",
"device_id": null
}
},
{
"name": "Bedroom Sonos",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom",
"device_id": null
}
},
{
"name": "Bedroom closet Sonos",
"room": "bedroom_closet",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_bedroom_closet",
"device_id": null
}
},
{
"name": "USER1 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER1s_office",
"device_id": null
}
},
{
"name": "USER2 office Sonos",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_USER2s_office",
"device_id": null
}
},
{
"name": "Sonos Move",
"room": "home",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_move",
"device_id": null
}
},
{
"name": "Fitness room Sonos",
"room": "fitness_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_fitness_room",
"device_id": null
}
},
{
"name": "Craft room Sonos",
"room": "craft_room",
"type": "media_player",
"id": {
"entity_id": "media_player.sonos_craft_room",
"device_id": null
}
},
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "Washing machine water sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor",
"device_id": null
}
},
{
"name": "Disable water automations input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_water_automations",
"device_id": null
}
}
]
},
{
"id": "water_works_low_battery_notification",
"automation": "- alias: Water Works - Low Battery Notification\n id: water_works_low_battery_notification\n mode: parallel\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.basement_drain_water_sensor_batt\n - sensor.sump_pump_water_sensor_batt\n - sensor.kitchen_sink_water_sensor_batt\n - sensor.bathroom_sink_water_sensor_batt\n - sensor.upstairs_bathroom_water_sensor_batt\n - sensor.utility_sink_water_sensor_batt\n - sensor.washing_machine_water_sensor_batt\n - sensor.coal_room_water_sensor_batt\n below: 30\n for:\n hours: 1\n minutes: 0\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Water Sensor {{ trigger.to_state.attributes.friendly_name }} Low Battery",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Basement drain water sensor battery",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_drain_water_sensor_batt",
"device_id": null
}
},
{
"name": "Sump pump water sensor battery",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.sump_pump_water_sensor_batt",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor battery",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_sink_water_sensor_batt",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor battery",
"room": "bathroom",
"type": "sensor",
"id": {
"entity_id": "sensor.bathroom_sink_water_sensor_batt",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor battery",
"room": "bathroom",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_bathroom_water_sensor_batt",
"device_id": null
}
},
{
"name": "Utility sink water sensor battery",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.utility_sink_water_sensor_batt",
"device_id": null
}
},
{
"name": "Washing machine water sensor battery",
"room": "laundry_room",
"type": "sensor",
"id": {
"entity_id": "sensor.washing_machine_water_sensor_batt",
"device_id": null
}
},
{
"name": "Coal room water sensor battery",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.coal_room_water_sensor_batt",
"device_id": null
}
}
]
},
{
"id": "water_works_water_leak_detected_ios_notification",
"automation": "- alias: Water Works - Water Leak Detected iOS Notification\n id: water_works_water_leak_detected_ios_notification\n triggers:\n - trigger: state\n entity_id: binary_sensor.water_meter_leak_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.disable_notifications\n state: 'off'\n actions:\n - action: notify.USER1_devices\n data:\n message: Possible Water Leak Detected!\n data:\n tag: water-leak",
"config": [
{
"name": "Disable notifications input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_notifications",
"device_id": null
}
},
{
"name": "USER1 devices notify service",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.USER1_devices",
"device_id": null
}
},
{
"name": "Water meter leak detected",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.water_meter_leak_detected",
"device_id": null
}
}
]
},
{
"id": "weather_turn_globe_blue_when_raining",
"automation": "- alias: Weather - Turn Globe Blue when Raining\n id: weather_turn_globe_blue_when_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n to: rainy\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: weather.REDACTED\n to: lightning-rainy\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.globe\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n color_name: blue\n brightness_pct: 100\n transition: 15",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_reset_globe_color_when_not_raining",
"automation": "- alias: Weather - Reset Globe Color when Not Raining\n id: weather_reset_globe_color_when_not_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n from: rainy\n - trigger: state\n entity_id: weather.REDACTED\n from: lightning-rainy\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: light.globe\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n brightness_pct: 65\n color_temp: 366\n transition: 15",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_set_globe_blue_when_on_and_raining",
"automation": "- alias: Weather - Set Globe Blue when On and Raining\n id: weather_set_globe_blue_when_on_and_raining\n triggers:\n - trigger: state\n entity_id: light.globe\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: input_boolean.livingroom_rainbow\n state: 'off'\n - condition: state\n entity_id: alarm_control_panel.alarm\n state: disarmed\n - condition: or\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.basement_drain_water_sensor_liquid_detected\n state: 'off'\n - condition: state\n entity_id: binary_sensor.kitchen_sink_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.bathroom_sink_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.upstairs_bathrooom_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.utility_sink_water_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.washing_machine_water_sensor\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.globe\n data:\n color_name: blue\n brightness_pct: 100\n transition: 15",
"config": [
{
"name": "Alarm control panel",
"room": "security",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.alarm",
"device_id": null
}
},
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "Living room rainbow input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.livingroom_rainbow",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Globe light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.globe",
"device_id": null
}
},
{
"name": "Basement drain water sensor liquid detected binary sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_drain_water_sensor_liquid_detected",
"device_id": null
}
},
{
"name": "Kitchen sink water sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_sensor",
"device_id": null
}
},
{
"name": "Bathroom sink water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_sensor",
"device_id": null
}
},
{
"name": "Upstairs bathroom water sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_bathrooom_water_sensor",
"device_id": null
}
},
{
"name": "Utility sink water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.utility_sink_water_sensor",
"device_id": null
}
},
{
"name": "Washing machine water sensor",
"room": "laundry_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_sensor",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_turn_USER1_office_desk_lamp_blue_when_raining",
"automation": "- alias: Weather - Turn USER1's Office Desk Lamp Blue when Raining\n id: weather_turn_USER1_office_desk_lamp_blue_when_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n to: rainy\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: weather.REDACTED\n to: lightning-rainy\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1_office_desk_lamp\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n color_name: blue\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_turn_USER1_office_accent_light_blue_when_raining",
"automation": "- alias: Weather - Turn USER1's Office Accent Light Blue when Raining\n id: weather_turn_USER1_office_accent_light_blue_when_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n to: rainy\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - trigger: state\n entity_id: weather.REDACTED\n to: lightning-rainy\n for:\n hours: 0\n minutes: 1\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1_office_desk_accent\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: state\n entity_id: cover.USER1_s_office_blinds\n state: closed\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n color_name: blue\n brightness_pct: 100\n transition: 15",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office blinds",
"room": "office",
"type": "cover",
"id": {
"entity_id": "cover.USER1_s_office_blinds",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_reset_USER1_office_desk_lamp_color_when_not_raining",
"automation": "- alias: Weather - Reset USER1's Office Desk Lamp Color when Not Raining\n id: weather_reset_USER1_office_desk_lamp_color_when_not_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n from: rainy\n - trigger: state\n entity_id: weather.REDACTED\n from: lightning-rainy\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1_office_desk_lamp\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n brightness_pct: 25\n color_temp: 454",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_reset_USER1_office_accent_light_color_when_not_raining",
"automation": "- alias: Weather - Reset USER1's Office Accent Light Color when Not Raining\n id: weather_reset_USER1_office_accent_light_color_when_not_raining\n triggers:\n - trigger: state\n entity_id: weather.REDACTED\n from: rainy\n - trigger: state\n entity_id: weather.REDACTED\n from: lightning-rainy\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: light.USER1_office_desk_accent\n state: 'on'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n brightness_pct: 80\n color_temp: 370\n transition: 15",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_set_USER1_office_desk_lamp_blue_when_on_and_raining",
"automation": "- alias: Weather - Set USER1's Office Desk Lamp Blue when On and Raining\n id: weather_set_USER1_office_desk_lamp_blue_when_on_and_raining\n triggers:\n - trigger: state\n entity_id: light.USER1_office_desk_lamp\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.office_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_lamp\n data:\n color_name: blue\n brightness_pct: 25",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "USER1 office desk lamp",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_lamp",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
},
{
"id": "weather_set_USER1_office_accent_light_blue_when_on_and_raining",
"automation": "- alias: Weather - Set USER1's Office Accent Light Blue when On and Raining\n id: weather_set_USER1_office_accent_light_blue_when_on_and_raining\n triggers:\n - trigger: state\n entity_id: light.USER1_office_desk_accent\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: group.household\n state: home\n - condition: state\n entity_id: person.USER1\n state: home\n - condition: state\n entity_id: input_boolean.office_rainbow\n state: 'off'\n - condition: state\n entity_id: input_boolean.USER1_s_office_do_not_disturb\n state: 'off'\n - condition: state\n entity_id: input_boolean.disable_rainy_day\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: weather.REDACTED\n state: rainy\n - condition: state\n entity_id: weather.REDACTED\n state: lightning-rainy\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.USER1_office_desk_accent\n data:\n color_name: blue\n brightness_pct: 100\n transition: 15",
"config": [
{
"name": "Household group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.household",
"device_id": null
}
},
{
"name": "USER1 person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.USER1",
"device_id": null
}
},
{
"name": "Office rainbow input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_rainbow",
"device_id": null
}
},
{
"name": "USER1 office desk accent light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.USER1_office_desk_accent",
"device_id": null
}
},
{
"name": "USER1 office do not disturb input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.USER1_s_office_do_not_disturb",
"device_id": null
}
},
{
"name": "REDACTED weather",
"room": "exterior",
"type": "weather",
"id": {
"entity_id": "weather.REDACTED",
"device_id": null
}
},
{
"name": "Disable rainy day input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.disable_rainy_day",
"device_id": null
}
}
]
}
]