AutomationDataset/corbanmailloux/description-ready.json

6196 lines
298 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

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

[
{
"id": "c32cceb8-eeea-4000-ac80-040bc0b15ae2",
"automation": "- id: c32cceb8-eeea-4000-ac80-040bc0b15ae2\n alias: 3D Printer - Notify Corban when print stops\n triggers:\n - trigger: state\n entity_id: sensor.elegoo_neptune_4_pro_current_print_state\n from: printing\n actions:\n - alias: Notify Corban\n action: notify.corban\n data:\n title: 3D Print Stopped\n message: 'Current printer state: ''{{ states(\"sensor.elegoo_neptune_4_pro_current_print_state\")\n }}''.'\n data:\n tag: 3d_print_status\n actions:\n - action: 3D_PRINTER_OFF\n title: Turn Off Printer\n activationMode: background\n authenticationRequired: false\n destructive: true\n behavior: default",
"config": [
{
"name": "3D printer current print state sensor",
"room": "garage",
"type": "sensor",
"id": {
"entity_id": "sensor.elegoo_neptune_4_pro_current_print_state",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "88399f03-68e7-42ba-b95a-cce66a800776",
"automation": "- alias: 3D Printer - Notification Off Action\n id: 88399f03-68e7-42ba-b95a-cce66a800776\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: 3D_PRINTER_OFF\n actions:\n - alias: Turn off the main 3D printer power switch\n action: switch.turn_off\n target:\n entity_id: switch.3d_printer_power",
"config": [
{
"name": "3D printer power switch",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.3d_printer_power",
"device_id": null
}
}
]
},
{
"id": "'1703638107345'",
"automation": "- id: '1703638107345'\n alias: Office Closet Light - Door Trigger\n description: ''\n use_blueprint:\n path: mkosmo/closet-light-from-door-sensor.yaml\n input:\n door_sensor: binary_sensor.office_closet_door_sensor_contact\n light_switch:\n entity_id: light.office_closet_light\n light_timeout: 1800",
"config": [
{
"name": "office closet door sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_closet_door_sensor_contact",
"device_id": null
}
},
{
"name": "office closet light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_closet_light",
"device_id": null
}
},
{
"name": "office closet light 2",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_closet",
"device_id": null
}
}
]
},
{
"id": "'1705870296732'",
"automation": "- id: '1705870296732'\n alias: Hall Aux Switch - Pause Living Room TV\n description: ''\n triggers:\n - trigger: device\n domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: aux_config_single\n discovery_id: 0xb43a31fffe34e475 action_aux_config_single\n conditions: []\n actions:\n - action: media_player.media_play_pause\n metadata: {}\n data: {}\n target:\n device_id: 0e47eccd7765e50037be8ffc24099a13\n mode: single",
"config": [
{
"name": "hall aux switch device",
"room": "hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "f6a3f0606ae31f561f4c700f5917deed"
}
},
{
"name": "living room media player device",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": null,
"device_id": "0e47eccd7765e50037be8ffc24099a13"
}
}
]
},
{
"id": "'1710728057701'",
"automation": "- id: '1710728057701'\n alias: Linen Closet Light - Door Trigger\n description: ''\n use_blueprint:\n path: mkosmo/closet-light-from-door-sensor.yaml\n input:\n door_sensor: binary_sensor.linen_closet_door_sensor_contact\n light_switch:\n entity_id:\n - light.linen_closet_light\n light_timeout: 1800",
"config": [
{
"name": "linen closet door sensor",
"room": "linen_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.linen_closet_door_sensor_contact",
"device_id": null
}
},
{
"name": "linen closet light",
"room": "linen_closet",
"type": "light",
"id": {
"entity_id": "light.linen_closet_light",
"device_id": null
}
}
]
},
{
"id": "'1710728130096'",
"automation": "- id: '1710728130096'\n alias: Coat Closet Light - Door Trigger\n description: ''\n use_blueprint:\n path: mkosmo/closet-light-from-door-sensor.yaml\n input:\n door_sensor: binary_sensor.coat_closet_door_sensor_contact\n light_switch:\n entity_id: light.coat_closet_light\n light_timeout: 1800",
"config": [
{
"name": "coat closet door sensor",
"room": "coat_closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.coat_closet_door_sensor_contact",
"device_id": null
}
},
{
"name": "coat closet light",
"room": "coat_closet",
"type": "light",
"id": {
"entity_id": "light.coat_closet_light",
"device_id": null
}
}
]
},
{
"id": "'1710814441742'",
"automation": "- id: '1710814441742'\n alias: Hold Kitchen Light Switches to Control Area Lights\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: up_held\n id: 'on'\n trigger: device\n - domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: down_held\n id: 'off'\n trigger: device\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: up_held\n id: 'on'\n trigger: device\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: down_held\n id: 'off'\n trigger: device\n - domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: up_double\n trigger: device\n id: 'on'\n - domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: down_double\n trigger: device\n id: 'off'\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: up_double\n trigger: device\n id: 'on'\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: down_double\n trigger: device\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - metadata: {}\n data: {}\n target:\n area_id: 4872200594374640b069eaeee79e9ec6\n action: light.turn_on\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - metadata: {}\n data: {}\n target:\n area_id: 4872200594374640b069eaeee79e9ec6\n action: light.turn_off\n mode: single",
"config": [
{
"name": "hall aux switch device",
"room": "hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "f6a3f0606ae31f561f4c700f5917deed"
}
},
{
"name": "kitchen bar light switch device",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": null,
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "kitchen bar light entity",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "bf668f7758c2b3fe2ca6adb4bf41ea23",
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
}
]
},
{
"id": "'1710989410744'",
"automation": "- id: '1710989410744'\n alias: Display Garage Door Status on Kitchen Bar Light LED Strip\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - cover.ratgdo_left_garage_door_door\n - cover.ratgdo_right_garage_door_door\n - binary_sensor.garage_side_person_door_contact\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.ratgdo_right_garage_door_door\n state: open\n - condition: state\n entity_id: cover.ratgdo_left_garage_door_door\n state: open\n - condition: state\n entity_id: binary_sensor.garage_side_person_door_contact\n state: 'on'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Purple\n level: 62\n duration: Indefinitely\n target:\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n effect: Solid\n alias: Set LED strip to purple - Kitchen Bar Light\n - alias: Set LED strip to purple - Utility Closet Light\n action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Purple\n level: 62\n duration: Indefinitely\n effect: Solid\n target:\n device_id: b61d7bab7432d5e91ddb6fb6e28bf5fd\n alias: If any door is open\n default:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n target:\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n effect: Clear\n alias: Clear LED Strip - Kitchen Bar Light\n - alias: Clear LED Strip - Utility Closet Light\n action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n target:\n device_id:\n - b61d7bab7432d5e91ddb6fb6e28bf5fd\n effect: Clear\n mode: single",
"config": [
{
"name": "kitchen bar light switch device",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": null,
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "kitchen bar light entity",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "bf668f7758c2b3fe2ca6adb4bf41ea23",
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "utility closet light device",
"room": "utility_closet",
"type": "light",
"id": {
"entity_id": null,
"device_id": "b61d7bab7432d5e91ddb6fb6e28bf5fd"
}
},
{
"name": "left garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_left_garage_door_door",
"device_id": "2bbbe29de187f6e1b1522f5f2513b258"
}
},
{
"name": "right garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_right_garage_door_door",
"device_id": "a918ed1d740d5527c120a872d5b36fdd"
}
},
{
"name": "garage side person door contact sensor",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_side_person_door_contact",
"device_id": null
}
}
]
},
{
"id": "'1711145973507'",
"automation": "- id: '1711145973507'\n alias: Pantry Door Light\n description: ''\n use_blueprint:\n path: mkosmo/closet-light-from-door-sensor.yaml\n input:\n door_sensor: binary_sensor.pantry_door_sensor_contact\n light_switch:\n entity_id: light.pantry_lights\n light_timeout: 1200",
"config": [
{
"name": "pantry door sensor",
"room": "pantry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.pantry_door_sensor_contact",
"device_id": null
}
},
{
"name": "pantry lights",
"room": "pantry",
"type": "light",
"id": {
"entity_id": "light.pantry_lights",
"device_id": null
}
}
]
},
{
"id": "'1711159946532'",
"automation": "- id: '1711159946532'\n alias: Hall Light Aux Switch - Hold to Control Multiple Lights\n description: ''\n triggers:\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: aux_up_held\n id: 'on'\n trigger: device\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: aux_down_double\n trigger: device\n id: 'off'\n - domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: aux_down_held\n trigger: device\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - metadata: {}\n data:\n transition: 0\n target:\n entity_id:\n - light.first_floor_hall_light\n - light.kitchen_main_lights\n - light.kitchen_bar_light\n action: light.turn_on\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - metadata: {}\n data:\n transition: 0\n target:\n entity_id:\n - light.first_floor_hall_light\n - light.kitchen_main_lights\n - light.kitchen_bar_light\n action: light.turn_off\n mode: single",
"config": [
{
"name": "hall aux switch device",
"room": "hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "f6a3f0606ae31f561f4c700f5917deed"
}
},
{
"name": "first floor hall light",
"room": "hall",
"type": "light",
"id": {
"entity_id": "light.first_floor_hall_light",
"device_id": null
}
},
{
"name": "kitchen main lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_main_lights",
"device_id": null
}
},
{
"name": "Kitchen Bar Light",
"room": "Kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_bar_light",
"device_id": null
}
}
]
},
{
"id": "'1712374070637'",
"automation": "- id: '1712374070637'\n alias: Mudroom Lamp Follows Kitchen Bar Light\n description: ''\n triggers:\n - type: turned_on\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n entity_id: bf668f7758c2b3fe2ca6adb4bf41ea23\n domain: light\n id: 'on'\n trigger: device\n - type: turned_off\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n entity_id: bf668f7758c2b3fe2ca6adb4bf41ea23\n domain: light\n id: 'off'\n trigger: device\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - metadata: {}\n data:\n transition: 0\n brightness_pct: 100\n target:\n device_id: def287c341c870f1a188cf2c5e84a3a3\n action: light.turn_on\n - metadata: {}\n data:\n transition: 0\n brightness_pct: 100\n color_temp_kelvin: 3200\n action: light.turn_on\n target:\n device_id: 5fde3d24df137723731bafe28dd07084\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - metadata: {}\n data:\n transition: 0\n target:\n device_id:\n - def287c341c870f1a188cf2c5e84a3a3\n - 5fde3d24df137723731bafe28dd07084\n action: light.turn_off\n mode: single",
"config": [
{
"name": "kitchen bar light switch device",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": null,
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "kitchen bar light entity",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "bf668f7758c2b3fe2ca6adb4bf41ea23",
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "mudroom lamp device 1",
"room": "mudroom",
"type": "light",
"id": {
"entity_id": null,
"device_id": "def287c341c870f1a188cf2c5e84a3a3"
}
},
{
"name": "mudroom lamp device 2",
"room": "mudroom",
"type": "light",
"id": {
"entity_id": null,
"device_id": "5fde3d24df137723731bafe28dd07084"
}
}
]
},
{
"id": "'1712671842634'",
"automation": "- id: '1712671842634'\n alias: Guest Room Remote\n description: ''\n triggers:\n - device_id: f55558e66b8f403aed6dc6acc7450363\n domain: lutron_caseta\n type: press\n subtype: 'on'\n id: 'on'\n trigger: device\n - device_id: f55558e66b8f403aed6dc6acc7450363\n domain: lutron_caseta\n type: press\n subtype: 'off'\n id: 'off'\n trigger: device\n - device_id: f55558e66b8f403aed6dc6acc7450363\n domain: lutron_caseta\n type: press\n subtype: stop\n id: center\n trigger: device\n - device_id: f55558e66b8f403aed6dc6acc7450363\n domain: lutron_caseta\n type: press\n subtype: raise\n id: up\n trigger: device\n - device_id: f55558e66b8f403aed6dc6acc7450363\n domain: lutron_caseta\n type: press\n subtype: lower\n id: down\n trigger: device\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - if:\n - condition: state\n entity_id: light.guest_bedroom_ceiling_fan_light\n state: 'on'\n then:\n - metadata: {}\n data:\n brightness_pct: 100\n target:\n entity_id: light.guest_bedroom_ceiling_fan_light\n action: light.turn_on\n else:\n - metadata: {}\n data: {}\n target:\n entity_id: light.guest_bedroom_ceiling_fan_light\n action: light.turn_on\n alias: Main light on, or to full brightness\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.guest_bedroom_ceiling_fan_light\n - conditions:\n - condition: trigger\n id:\n - center\n sequence:\n - action: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.fairy_lights\n - conditions:\n - condition: trigger\n id:\n - up\n sequence:\n - alias: Brightness up\n metadata: {}\n data:\n brightness_step_pct: 25\n target:\n entity_id: light.guest_bedroom_ceiling_fan_light\n action: light.turn_on\n - conditions:\n - condition: trigger\n id:\n - down\n sequence:\n - metadata: {}\n data:\n brightness_step_pct: -25\n target:\n entity_id: light.guest_bedroom_ceiling_fan_light\n alias: Brightness down\n action: light.turn_on\n mode: single",
"config": [
{
"name": "guest bedroom remote device",
"room": "guest_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "f55558e66b8f403aed6dc6acc7450363"
}
},
{
"name": "guest bedroom ceiling fan light",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.guest_bedroom_ceiling_fan_light",
"device_id": null
}
},
{
"name": "fairy lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.fairy_lights",
"device_id": null
}
}
]
},
{
"id": "'1714258867767'",
"automation": "- id: '1714258867767'\n alias: Kitchen Bar Light Switch - Double Tap Config for Garage Doors\n description: ''\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: config_double\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: or\n conditions:\n - condition: device\n device_id: 2bbbe29de187f6e1b1522f5f2513b258\n domain: cover\n entity_id: 5401d8e4327d5e9b6d71d56d09b8ec35\n type: is_open\n - condition: device\n device_id: a918ed1d740d5527c120a872d5b36fdd\n domain: cover\n entity_id: fa3c1b2c28746f6e9edce10a8a74e955\n type: is_open\n sequence:\n - action: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id:\n - cover.ratgdo_right_garage_door_door\n - cover.ratgdo_left_garage_door_door\n alias: 'If either garage door is open, close it. '\n default:\n - action: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.ratgdo_left_garage_door_door\n mode: single",
"config": [
{
"name": "kitchen bar light switch device",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": null,
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "kitchen bar light entity",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "bf668f7758c2b3fe2ca6adb4bf41ea23",
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "left garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_left_garage_door_door",
"device_id": "2bbbe29de187f6e1b1522f5f2513b258"
}
},
{
"name": "right garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_right_garage_door_door",
"device_id": "a918ed1d740d5527c120a872d5b36fdd"
}
},
{
"name": "Device Entity",
"room": null,
"type": null,
"id": {
"entity_id": "5401d8e4327d5e9b6d71d56d09b8ec35",
"device_id": null
}
},
{
"name": "Device Entity",
"room": null,
"type": null,
"id": {
"entity_id": "fa3c1b2c28746f6e9edce10a8a74e955",
"device_id": null
}
}
]
},
{
"id": "'1715117158694'",
"automation": "- id: '1715117158694'\n alias: Upstairs Hall Light Switch - Triple tap config to move Eve to dump spot\n description: ''\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n type: action\n subtype: config_triple\n conditions: []\n actions:\n - action: script.vacuum_dump_process\n metadata: {}\n data: {}\n mode: single",
"config": [
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
}
]
},
{
"id": "'1724423649065'",
"automation": "- id: '1724423649065'\n alias: Stairs Wall Switch - Red During Meetings\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.corban_on_a_call\n from: 'off'\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.corban_on_a_call\n from: 'on'\n to: 'off'\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Red\n level: 100\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n effect: Aurora\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Red\n level: 100\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n effect: Clear\n mode: single",
"config": [
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
},
{
"name": "corban on a call sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.corban_on_a_call",
"device_id": null
}
}
]
},
{
"id": "'1724980786427'",
"automation": "- id: '1724980786427'\n alias: Notify if windows are open with rain forecast overnight\n description: ''\n triggers:\n - trigger: time\n at: '22:00:00'\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n - condition: numeric_state\n entity_id: sensor.open_window_count\n above: 0\n actions:\n - action: weather.get_forecasts\n metadata: {}\n data:\n type: hourly\n target:\n entity_id: weather.openweathermap\n response_variable: forecasts\n alias: Get Hourly Forecast\n - variables:\n hours_to_check: 8\n precip_percent_min: 70\n entity_id: weather.openweathermap\n max_precipitation_chance: '{{ forecasts[entity_id].forecast[0:hours_to_check]\n | map(attribute=''precipitation_probability'') | max }}'\n - alias: Check if there's >70% chance of rain in the next 8 hours\n condition: template\n value_template: '{{ max_precipitation_chance > precip_percent_min }}'\n - action: notify.corban\n metadata: {}\n data:\n title: Rain Tonight. Close Windows?\n message: 'There is a {{ max_precipitation_chance }}% chance of rain tonight\n and these windows are open: {{ states(''sensor.open_windows'') }}'\n mode: single",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "open window count sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.open_window_count",
"device_id": null
}
},
{
"name": "open weather map weather",
"room": "home",
"type": "weather",
"id": {
"entity_id": "weather.openweathermap",
"device_id": null
}
},
{
"name": "open windows sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.open_windows",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1725645532252'",
"automation": "- id: '1725645532252'\n alias: Notify Corban when Ben leaves with guest mode on\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - device_tracker.bens_iphone_se_unifi\n to: not_home\n from: home\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n - condition: state\n entity_id: binary_sensor.corban_person_home\n state: 'off'\n actions:\n - action: notify.corban\n metadata: {}\n data:\n message: Ben left\n title: Ben Left\n mode: single",
"config": [
{
"name": "ben's iphone device tracker",
"room": "home",
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.bens_iphone_se_unifi",
"device_id": null
}
},
{
"name": "guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "corban person home sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.corban_person_home",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1725649471485'",
"automation": "- id: '1725649471485'\n alias: Toggle Living Room Cabinet Lights with Wall Switch Button\n description: ''\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 21e10aa0c624e6abdcbbbbb97e0373c5\n type: action\n subtype: config_single\n - trigger: device\n domain: mqtt\n device_id: d9db549c961eecf0f3fc66794fe297ad\n type: action\n subtype: config_single\n conditions: []\n actions:\n - action: light.toggle\n metadata: {}\n data:\n brightness_pct: 100\n target:\n entity_id: light.living_room_cabinet_lights\n mode: single",
"config": [
{
"name": "living room switch 1 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "21e10aa0c624e6abdcbbbbb97e0373c5"
}
},
{
"name": "living room switch 2 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "d9db549c961eecf0f3fc66794fe297ad"
}
},
{
"name": "living room cabinet lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_cabinet_lights",
"device_id": null
}
}
]
},
{
"id": "'1725812307580'",
"automation": "- id: '1725812307580'\n alias: Reload the Wall Display After Home Assistant Restarts\n description: ''\n triggers:\n - trigger: homeassistant\n event: start\n conditions: []\n actions:\n - action: script.tablet_wall_display_reload\n metadata: {}\n data: {}\n mode: single",
"config": []
},
{
"id": "'1735588370721'",
"automation": "- id: '1735588370721'\n alias: Office Closet Light - Door Trigger\n description: ''\n use_blueprint:\n path: mkosmo/closet-light-from-door-sensor.yaml\n input:\n door_sensor: binary_sensor.office_closet_door_sensor_contact\n light_switch:\n entity_id: light.office_closet\n light_timeout: 900",
"config": [
{
"name": "office closet door sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_closet_door_sensor_contact",
"device_id": null
}
},
{
"name": "office closet light 2",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_closet",
"device_id": null
}
}
]
},
{
"id": "'1735601423932'",
"automation": "- id: '1735601423932'\n alias: Movie Mode - Lighting and Pause\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - media_player.living_room_apple_tv\n to: playing\n for:\n hours: 0\n minutes: 0\n seconds: 2\n id: playing\n - trigger: state\n entity_id:\n - media_player.living_room_apple_tv\n to:\n - paused\n - standby\n - 'off'\n id: paused\n for:\n seconds: 5\n - trigger: state\n entity_id:\n - input_boolean.movie_mode_active\n to: 'on'\n from: 'off'\n id: movie_mode_start\n - trigger: state\n entity_id:\n - input_boolean.movie_mode_active\n to: 'off'\n from: 'on'\n id: movie_mode_end\n - trigger: state\n entity_id:\n - binary_sensor.living_room_couch_presence\n from: 'on'\n to: 'off'\n id: couch_empty\n conditions:\n - condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n alias: Living Room automations are enabled\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - movie_mode_start\n sequence:\n - action: scene.turn_on\n metadata: {}\n target:\n entity_id: scene.movie_mode\n data:\n transition: 2\n - conditions:\n - condition: trigger\n id:\n - movie_mode_end\n sequence:\n - alias: If Cabinet Lights are on, set to bright. Otherwise, skip.\n if:\n - condition: state\n entity_id: light.living_room_cabinet_lights\n state: 'on'\n then:\n - action: scene.turn_on\n metadata: {}\n target:\n entity_id: scene.movie_mode_end\n data:\n transition: 2\n - condition: state\n entity_id: input_boolean.movie_mode_active\n state: 'on'\n - choose:\n - conditions:\n - condition: trigger\n id:\n - playing\n sequence:\n - action: scene.turn_on\n metadata: {}\n target:\n entity_id: scene.movie_mode\n data:\n transition: 1\n - conditions:\n - condition: trigger\n id:\n - paused\n sequence:\n - action: scene.turn_on\n metadata: {}\n data:\n transition: 1\n target:\n entity_id: scene.movie_mode_pause\n - conditions:\n - condition: trigger\n id:\n - couch_empty\n sequence:\n - action: media_player.media_pause\n metadata: {}\n data: {}\n target:\n entity_id: media_player.living_room_apple_tv\n mode: single",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "living room cabinet lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_cabinet_lights",
"device_id": null
}
},
{
"name": "living room apple tv media player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "movie mode active input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.movie_mode_active",
"device_id": null
}
},
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "movie mode scene",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.movie_mode",
"device_id": null
}
},
{
"name": "movie mode end scene",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.movie_mode_end",
"device_id": null
}
},
{
"name": "movie mode pause scene",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.movie_mode_pause",
"device_id": null
}
},
{
"name": "living room couch presence sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_couch_presence",
"device_id": null
}
}
]
},
{
"id": "'1735606719113'",
"automation": "- id: '1735606719113'\n alias: Dining Room Switch - Dining Scene\n description: ''\n triggers:\n - domain: mqtt\n device_id: 8eb976a9c0f474a3f6de93a5f04bcb72\n type: action\n subtype: config_double\n trigger: device\n conditions: []\n actions:\n - action: scene.turn_on\n metadata: {}\n target:\n entity_id: scene.dining\n data:\n transition: 3\n mode: single",
"config": [
{
"name": "dining room switch device",
"room": "dining_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "8eb976a9c0f474a3f6de93a5f04bcb72"
}
},
{
"name": "dining scene",
"room": "dining_room",
"type": "scene",
"id": {
"entity_id": "scene.dining",
"device_id": null
}
}
]
},
{
"id": "'1735871090165'",
"automation": "- id: '1735871090165'\n alias: Movie Mode - Set Wall Switch LED Bar\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.movie_mode_active\n from: 'off'\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - input_boolean.movie_mode_active\n from: 'on'\n to: 'off'\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Orange\n level: 7\n effect: Solid\n duration: Indefinitely\n target:\n device_id: d9db549c961eecf0f3fc66794fe297ad\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Orange\n level: 5\n duration: Indefinitely\n target:\n device_id: d9db549c961eecf0f3fc66794fe297ad\n effect: Clear\n mode: single",
"config": [
{
"name": "living room switch 2 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "d9db549c961eecf0f3fc66794fe297ad"
}
},
{
"name": "movie mode active input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.movie_mode_active",
"device_id": null
}
}
]
},
{
"id": "'1735871229135'",
"automation": "- id: '1735871229135'\n alias: Movie Mode - Toggle with Wall Switch buttons\n description: ''\n triggers:\n - domain: mqtt\n device_id: d9db549c961eecf0f3fc66794fe297ad\n type: action\n subtype: config_double\n trigger: device\n - domain: mqtt\n device_id: 21e10aa0c624e6abdcbbbbb97e0373c5\n type: action\n subtype: config_double\n trigger: device\n conditions: []\n actions:\n - action: input_boolean.toggle\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.movie_mode_active\n mode: single",
"config": [
{
"name": "living room switch 1 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "21e10aa0c624e6abdcbbbbb97e0373c5"
}
},
{
"name": "living room switch 2 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "d9db549c961eecf0f3fc66794fe297ad"
}
},
{
"name": "movie mode active input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.movie_mode_active",
"device_id": null
}
}
]
},
{
"id": "'1741665583779'",
"automation": "- id: '1741665583779'\n alias: Master Bathroom - Motion and Lux Nightlight\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.motion_nightlight_occupancy\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.motion_nightlight_occupancy\n id: 'off'\n to: 'off'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.room_exclude_bathrooms\n state: 'off'\n actions:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - 'on'\n - condition: numeric_state\n entity_id: sensor.motion_nightlight_illuminance\n below: 15\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n rgb_color:\n - 255\n - 0\n - 0\n brightness_pct: 55\n transition: 1\n target:\n entity_id: light.motion_nightlight\n alias: On, if room brightness is low enough\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n entity_id: light.motion_nightlight\n mode: restart",
"config": [
{
"name": "motion nightlight occupancy sensor",
"room": "master_bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.motion_nightlight_occupancy",
"device_id": null
}
},
{
"name": "motion nightlight illuminance sensor",
"room": "master_bathroom",
"type": "sensor",
"id": {
"entity_id": "sensor.motion_nightlight_illuminance",
"device_id": null
}
},
{
"name": "motion nightlight light",
"room": "master_bathroom",
"type": "light",
"id": {
"entity_id": "light.motion_nightlight",
"device_id": null
}
},
{
"name": "room exclude bathrooms input boolean",
"room": "bathroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_bathrooms",
"device_id": null
}
}
]
},
{
"id": "'1743484522580'",
"automation": "- id: '1743484522580'\n alias: Kitchen Bar Light - Config button to toggle lamp\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: config_single\n trigger: device\n conditions: []\n actions:\n - action: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.mudroom_triple_lamp\n mode: single",
"config": [
{
"name": "kitchen bar light switch device",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": null,
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "kitchen bar light entity",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "bf668f7758c2b3fe2ca6adb4bf41ea23",
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "mudroom triple lamp",
"room": "mudroom",
"type": "light",
"id": {
"entity_id": "light.mudroom_triple_lamp",
"device_id": null
}
}
]
},
{
"id": "'1743972311093'",
"automation": "- id: '1743972311093'\n alias: Changing Table Remote\n description: ''\n triggers:\n - domain: mqtt\n device_id: 52b2f81b59b1104f1e7ee8114a23c2a0\n type: action\n subtype: toggle\n trigger: device\n id: center\n - domain: mqtt\n device_id: 52b2f81b59b1104f1e7ee8114a23c2a0\n type: action\n subtype: brightness_up_click\n trigger: device\n id: up\n - domain: mqtt\n device_id: 52b2f81b59b1104f1e7ee8114a23c2a0\n type: action\n subtype: brightness_down_click\n trigger: device\n id: down\n - domain: mqtt\n device_id: 52b2f81b59b1104f1e7ee8114a23c2a0\n type: action\n subtype: arrow_left_click\n trigger: device\n id: left\n - domain: mqtt\n device_id: 52b2f81b59b1104f1e7ee8114a23c2a0\n type: action\n subtype: arrow_right_click\n trigger: device\n id: right\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - center\n sequence:\n - action: light.toggle\n metadata: {}\n data:\n brightness_pct: 1\n transition: 0\n target:\n entity_id:\n - light.lucys_dresser_lamp\n alias: Center - Toggle Light\n - conditions:\n - condition: trigger\n id:\n - left\n - up\n - right\n sequence:\n - action: scene.create\n metadata: {}\n data:\n scene_id: lucy_nightlight_remote_pre\n snapshot_entities:\n - light.lucys_nightlight\n - choose:\n - conditions:\n - condition: trigger\n id:\n - left\n sequence:\n - action: rest_command.pee_and_or_poop\n metadata: {}\n data:\n wet_bool: 'True'\n solid_bool: 'False'\n response_variable: response\n - variables:\n action_color:\n - 255\n - 255\n - 0\n alias: Left - Pee\n - conditions:\n - condition: trigger\n id:\n - up\n sequence:\n - action: rest_command.pee_and_or_poop\n metadata: {}\n data:\n wet_bool: 'True'\n solid_bool: 'True'\n response_variable: response\n - variables:\n action_color:\n - 128\n - 0\n - 128\n alias: Up - Pee and Poop\n - conditions:\n - condition: trigger\n id:\n - right\n sequence:\n - action: rest_command.pee_and_or_poop\n metadata: {}\n data:\n wet_bool: 'False'\n solid_bool: 'True'\n response_variable: response\n - variables:\n action_color:\n - 255\n - 140\n - 0\n alias: Right - Poop\n - alias: Check API response code and set light\n if:\n - alias: API Success Response\n condition: template\n value_template: '{{ response[\"status\"] == 201 }}'\n then:\n - alias: Flash nightlight green\n repeat:\n count: 1\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n transition: 0\n rgb_color:\n - 0\n - 255\n - 0\n brightness_pct: 74\n target:\n entity_id: light.lucys_nightlight\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: light.turn_off\n metadata: {}\n data:\n transition: 0\n target:\n entity_id: light.lucys_nightlight\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: light.turn_on\n metadata: {}\n data:\n transition: 0\n rgb_color: '{{ action_color }}'\n brightness_pct: 74\n target:\n entity_id: light.lucys_nightlight\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: light.turn_off\n metadata: {}\n data:\n transition: 0\n target:\n entity_id: light.lucys_nightlight\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n else:\n - alias: Flash nightlight red\n repeat:\n count: 2\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n transition: 0\n rgb_color:\n - 255\n - 0\n - 0\n brightness_pct: 74\n target:\n entity_id: light.lucys_nightlight\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: light.turn_off\n metadata: {}\n data:\n transition: 0\n target:\n entity_id: light.lucys_nightlight\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: notify.corban\n metadata: {}\n data:\n title: Baby Buddy - Error logging diaper\n message: '{{ response }}'\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: scene.turn_on\n metadata: {}\n data:\n transition: 1\n target:\n entity_id: scene.lucy_nightlight_remote_pre\n alias: Left, Up, Right - Diaper Logging\n mode: single",
"config": [
{
"name": "changing table remote device",
"room": "nursery",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "52b2f81b59b1104f1e7ee8114a23c2a0"
}
},
{
"name": "lucy's dresser lamp",
"room": "nursery",
"type": "light",
"id": {
"entity_id": "light.lucys_dresser_lamp",
"device_id": null
}
},
{
"name": "lucy's nightlight",
"room": "nursery",
"type": "light",
"id": {
"entity_id": "light.lucys_nightlight",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
},
{
"name": "Lucy Nightlight Remote Pre Scene",
"room": "Lucy's Room",
"type": "scene",
"id": {
"entity_id": "scene.lucy_nightlight_remote_pre",
"device_id": null
}
}
]
},
{
"id": "'1744169676303'",
"automation": "- id: '1744169676303'\n alias: Lucy's Nightlight - Motion and Lux\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.lucys_nightlight_occupancy\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.lucys_nightlight_occupancy\n id: 'off'\n to: 'off'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n conditions:\n - condition: state\n entity_id: input_boolean.room_exclude_lucys_room\n state: 'off'\n actions:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - 'on'\n - condition: numeric_state\n entity_id: sensor.lucys_nightlight_illuminance\n below: 15\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n rgb_color:\n - 255\n - 175\n - 91\n brightness_pct: 50\n transition: 1\n target:\n entity_id:\n - light.lucys_nightlight\n alias: On, if room brightness is low enough\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - condition: state\n entity_id: light.lucys_nightlight\n state: 'on'\n - action: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n entity_id:\n - light.lucys_nightlight\n mode: restart",
"config": [
{
"name": "lucy's nightlight",
"room": "nursery",
"type": "light",
"id": {
"entity_id": "light.lucys_nightlight",
"device_id": null
}
},
{
"name": "lucy's nightlight occupancy sensor",
"room": "nursery",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.lucys_nightlight_occupancy",
"device_id": null
}
},
{
"name": "lucy's nightlight illuminance sensor",
"room": "nursery",
"type": "sensor",
"id": {
"entity_id": "sensor.lucys_nightlight_illuminance",
"device_id": null
}
},
{
"name": "room exclude lucy's room input boolean",
"room": "nursery",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_lucys_room",
"device_id": null
}
}
]
},
{
"id": "'1744675790269'",
"automation": "- id: '1744675790269'\n alias: Bedside Buttons - Toggle Headboard Lights\n description: ''\n triggers:\n - domain: mqtt\n device_id: ac01e2cb060249f980958e940eb74383\n type: action\n subtype: single\n trigger: device\n alias: Corban - Single click\n - domain: mqtt\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n type: action\n subtype: arrow_right_click\n trigger: device\n alias: Maggie - Right Arrow\n - alias: Maggie - Center Button\n domain: mqtt\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n type: action\n subtype: toggle\n trigger: device\n - domain: mqtt\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n type: action\n subtype: config_single\n trigger: device\n alias: Upstairs Hall Light Switch - Config Single\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Sleep\n enabled: false\n - condition: time\n after: '21:00:00'\n before: 09:00:00\n sequence:\n - action: light.toggle\n metadata: {}\n data:\n transition: 2\n brightness_pct: 2\n target:\n entity_id: light.master_bedroom_headboard\n default:\n - action: light.toggle\n metadata: {}\n data:\n transition: 2\n brightness_pct: 75\n target:\n entity_id: light.master_bedroom_headboard\n mode: single",
"config": [
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
},
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "bedside button 2 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "ac01e2cb060249f980958e940eb74383"
}
},
{
"name": "master bedroom headboard light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_headboard",
"device_id": null
}
}
]
},
{
"id": "'1745036234044'",
"automation": "- id: '1745036234044'\n alias: Upstairs Light Switch - Config Single Press - Toggle Headboard\n description: ''\n triggers:\n - domain: mqtt\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n type: action\n subtype: config_single\n trigger: device\n conditions: []\n actions:\n - data:\n brightness_pct: 10\n rgb_color:\n - 255\n - 78\n - 30\n action: light.toggle\n target:\n entity_id: light.master_bedroom_headboard\n mode: single",
"config": [
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
},
{
"name": "master bedroom headboard light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_headboard",
"device_id": null
}
}
]
},
{
"id": "'1745258240039'",
"automation": "- id: '1745258240039'\n alias: Baby Timer - Show on Living Room Switch\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - switch.lucy_mailloux_timer\n to: 'off'\n from: 'on'\n id: 'off'\n - trigger: state\n entity_id:\n - switch.lucy_mailloux_timer\n to: 'on'\n id: 'on'\n from: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n color: Pink\n level: 100\n effect: Aurora\n duration: Indefinitely\n target:\n device_id:\n - d9db549c961eecf0f3fc66794fe297ad\n led: All\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n color: Pink\n level: 100\n effect: Clear\n duration: Indefinitely\n target:\n device_id:\n - d9db549c961eecf0f3fc66794fe297ad\n led: All\n mode: single",
"config": [
{
"name": "living room switch 2 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "d9db549c961eecf0f3fc66794fe297ad"
}
},
{
"name": "lucy mailloux timer switch",
"room": "nursery",
"type": "switch",
"id": {
"entity_id": "switch.lucy_mailloux_timer",
"device_id": null
}
}
]
},
{
"id": "'1745344633140'",
"automation": "- id: '1745344633140'\n alias: Living Room Switch - Double Down to Turn Off All Lights\n description: ''\n triggers:\n - domain: mqtt\n device_id: 21e10aa0c624e6abdcbbbbb97e0373c5\n type: action\n subtype: down_double\n trigger: device\n - domain: mqtt\n device_id: d9db549c961eecf0f3fc66794fe297ad\n type: action\n subtype: down_double\n trigger: device\n conditions: []\n actions:\n - action: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: 6a82246dbc29484cb9558c88e6e7be5d\n mode: single",
"config": [
{
"name": "living room switch 1 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "21e10aa0c624e6abdcbbbbb97e0373c5"
}
},
{
"name": "living room switch 2 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "d9db549c961eecf0f3fc66794fe297ad"
}
}
]
},
{
"id": "'1745702388569'",
"automation": "- id: '1745702388569'\n alias: Living Room Switch 2 - Toggle Corner Lamp\n description: ''\n triggers:\n - domain: mqtt\n device_id: 53afe29f4d972deb626552ed9a4f89f6\n type: action\n subtype: config_single\n trigger: device\n conditions: []\n actions:\n - action: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.corner_lamp\n mode: single",
"config": [
{
"name": "living room switch 3 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "53afe29f4d972deb626552ed9a4f89f6"
}
},
{
"name": "corner lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.corner_lamp",
"device_id": null
}
}
]
},
{
"id": "'1745702457597'",
"automation": "- id: '1745702457597'\n alias: Living Room Switch 3 - Toggle Reading Lamp\n description: ''\n triggers:\n - domain: mqtt\n device_id: ff32bc927588740f5739a61d42afee60\n type: action\n subtype: config_single\n trigger: device\n conditions: []\n actions:\n - action: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.reading_lamp\n mode: single",
"config": [
{
"name": "living room switch 4 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "ff32bc927588740f5739a61d42afee60"
}
},
{
"name": "reading lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.reading_lamp",
"device_id": null
}
}
]
},
{
"id": "'1746243913739'",
"automation": "- id: '1746243913739'\n alias: Notify if Garage Door is Left Open When Leaving\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - input_select.home_mode\n to: Away\n for:\n hours: 0\n minutes: 0\n seconds: 30\n - trigger: state\n entity_id:\n - input_select.home_mode\n to: Vacation\n for:\n hours: 0\n minutes: 0\n seconds: 30\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: cover.ratgdo_left_garage_door_door\n state: open\n - condition: state\n state: open\n entity_id: cover.ratgdo_right_garage_door_door\n alias: If either door is open\n actions:\n - action: notify.adult_phones\n metadata: {}\n data:\n title: Garage Door Open\n data:\n tag: garage_door_open_reminder\n actions:\n - action: CLOSE_GARAGE_DOORS\n title: Close Garage Doors\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default\n message: A garage door was left open. Close it?\n alias: Notify adult phones\n - wait_for_trigger:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: CLOSE_GARAGE_DOORS\n continue_on_timeout: false\n timeout:\n hours: 24\n minutes: 0\n seconds: 0\n milliseconds: 0\n alias: Wait for notification action (or timeout)\n - action: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id:\n - cover.ratgdo_left_garage_door_door\n - cover.ratgdo_right_garage_door_door\n alias: Close the garage doors\n - action: notify.adult_phones\n metadata: {}\n data:\n message: clear_notification\n data:\n tag: garage_door_open_reminder\n alias: Clear the notification from remaining devices\n mode: restart",
"config": [
{
"name": "left garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_left_garage_door_door",
"device_id": "2bbbe29de187f6e1b1522f5f2513b258"
}
},
{
"name": "right garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_right_garage_door_door",
"device_id": "a918ed1d740d5527c120a872d5b36fdd"
}
},
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "adult phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_phones",
"device_id": null
}
}
]
},
{
"id": "'1747349188668'",
"automation": "- id: '1747349188668'\n alias: Tummy Time Reminder\n description: ''\n triggers:\n - trigger: time\n at: '16:00:00'\n conditions:\n - alias: No tummy time entered today\n condition: template\n value_template: '{{ as_timestamp(state_attr(''sensor.lucy_mailloux_last_tummy_time'',\n ''start'')) | timestamp_custom(''%Y-%m-%d'') != now().date().isoformat() }}'\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n alias: Not on vacation\n actions:\n - action: notify.adult_phones\n metadata: {}\n data:\n message: No tummy time has been entered today.\n title: Tummy Time?\n mode: single",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "adult phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_phones",
"device_id": null
}
}
]
},
{
"id": "'1747521825959'",
"automation": "- id: '1747521825959'\n alias: Notify if Lucys timer is running for too long\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - switch.lucy_mailloux_timer\n to: 'on'\n for:\n hours: 2\n minutes: 0\n seconds: 0\n enabled: false\n - trigger: time\n at:\n entity_id: sensor.lucy_timer_start_time\n offset: '2:00:00'\n conditions:\n - condition: time\n after: 08:00:00\n before: '20:00:00'\n actions:\n - action: notify.adult_phones\n metadata: {}\n data:\n title: Napping Too Long?\n message: A BabyBuddy timer has been running for more than 2 hours.\n data:\n group: babybuddy\n tag: baby-nap-too-long\n - wait_for_trigger:\n - trigger: state\n entity_id:\n - switch.lucy_mailloux_timer\n to: 'off'\n continue_on_timeout: false\n timeout:\n hours: 3\n minutes: 0\n seconds: 0\n milliseconds: 0\n - action: notify.adult_phones\n metadata: {}\n data:\n data:\n tag: baby-nap-too-long\n message: clear_notification\n alias: Clear notification\n mode: single",
"config": [
{
"name": "lucy mailloux timer switch",
"room": "nursery",
"type": "switch",
"id": {
"entity_id": "switch.lucy_mailloux_timer",
"device_id": null
}
},
{
"name": "adult phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_phones",
"device_id": null
}
},
{
"name": "Lucy Timer Start Time",
"room": "Lucy's Room",
"type": "sensor",
"id": {
"entity_id": "sensor.lucy_timer_start_time",
"device_id": null
}
}
]
},
{
"id": "'1748960622382'",
"automation": "- id: '1748960622382'\n alias: Wake window timer reminder\n description: ''\n triggers:\n - trigger: time\n at:\n entity_id: sensor.lucy_last_sleep_end_timestamp\n offset: '2:00:00'\n conditions:\n - condition: time\n after: 08:00:00\n before: '21:00:00'\n - condition: state\n entity_id: switch.lucy_mailloux_timer\n state: 'off'\n actions:\n - action: notify.adult_phones\n metadata: {}\n data:\n title: Wake Window Ending\n message: It's been more than 2 hours since a sleep entry. Is it nap time?\n data:\n group: babybuddy\n tag: baby-wake-window-ending\n - wait_for_trigger:\n - trigger: state\n entity_id:\n - switch.lucy_mailloux_timer\n to: 'on'\n continue_on_timeout: false\n timeout:\n hours: 3\n minutes: 0\n seconds: 0\n milliseconds: 0\n - alias: Clear notification\n action: notify.adult_phones\n metadata: {}\n data:\n data:\n tag: baby-wake-window-ending\n message: clear_notification\n mode: single",
"config": [
{
"name": "lucy mailloux timer switch",
"room": "nursery",
"type": "switch",
"id": {
"entity_id": "switch.lucy_mailloux_timer",
"device_id": null
}
},
{
"name": "adult phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_phones",
"device_id": null
}
},
{
"name": "lucy last sleep end timestamp sensor",
"room": "nursery",
"type": "sensor",
"id": {
"entity_id": "sensor.lucy_last_sleep_end_timestamp",
"device_id": null
}
}
]
},
{
"id": "'1748974264156'",
"automation": "- id: '1748974264156'\n alias: Turn off sprinkler at end of timer\n description: ''\n triggers:\n - trigger: event\n event_type: timer.finished\n event_data:\n entity_id: timer.irrigation_off_timer\n conditions: []\n actions:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.sprinkler_valve_1\n mode: single",
"config": [
{
"name": "sprinkler valve 1 switch",
"room": "yard",
"type": "switch",
"id": {
"entity_id": "switch.sprinkler_valve_1",
"device_id": null
}
},
{
"name": "irrigation off timer timer",
"room": "yard",
"type": "timer",
"id": {
"entity_id": "timer.irrigation_off_timer",
"device_id": null
}
}
]
},
{
"id": "'1750027073324'",
"automation": "- id: '1750027073324'\n alias: Turn on exterior lights at night when a vehicle is detected\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.driveway_vehicle_detected\n - binary_sensor.driveway_person_detected\n from: 'off'\n to: 'on'\n conditions:\n - condition: time\n after: '23:00:00'\n before: 05:00:00\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.exterior_lights\n - delay:\n hours: 0\n minutes: 5\n seconds: 0\n milliseconds: 0\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.exterior_lights\n mode: restart",
"config": [
{
"name": "driveway vehicle detected sensor",
"room": "driveway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.driveway_vehicle_detected",
"device_id": null
}
},
{
"name": "driveway person detected sensor",
"room": "driveway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.driveway_person_detected",
"device_id": null
}
},
{
"name": "exterior lights",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
}
]
},
{
"id": "'1750264262233'",
"automation": "- id: '1750264262233'\n alias: Notify on low litter level\n description: ''\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.litter_robot_4_litter_level\n below: 70\n conditions: []\n actions:\n - action: notify.corban\n metadata: {}\n data:\n title: Litter Low\n message: Check the box.\n mode: single",
"config": [
{
"name": "litter robot 4 litter level sensor",
"room": "upstairs_hall",
"type": "sensor",
"id": {
"entity_id": "sensor.litter_robot_4_litter_level",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1750469258428'",
"automation": "- id: '1750469258428'\n alias: Maggies Alarm\n description: ''\n triggers:\n - trigger: event\n event_type: maggie_ios_alarm\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n - condition: state\n entity_id: input_select.home_mode\n state: Sleep\n alias: Home or Sleep\n actions:\n - action: light.turn_on\n metadata: {}\n data:\n transition: 2\n brightness_pct: 100\n target:\n entity_id: light.fairy_lights\n mode: single",
"config": [
{
"name": "fairy lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.fairy_lights",
"device_id": null
}
},
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
}
]
},
{
"id": "'1750769716810'",
"automation": "- id: '1750769716810'\n alias: Triple tap config on kitchen bar switch to open right garage door\n description: ''\n triggers:\n - domain: mqtt\n device_id: 9f61f3f1b573c3799a54ee705f98034f\n type: action\n subtype: config_triple\n trigger: device\n conditions: []\n actions:\n - action: cover.toggle\n metadata: {}\n data: {}\n target:\n entity_id: cover.ratgdo_right_garage_door_door\n mode: single",
"config": [
{
"name": "kitchen bar light switch device",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": null,
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "kitchen bar light entity",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "bf668f7758c2b3fe2ca6adb4bf41ea23",
"device_id": "9f61f3f1b573c3799a54ee705f98034f"
}
},
{
"name": "right garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_right_garage_door_door",
"device_id": "a918ed1d740d5527c120a872d5b36fdd"
}
}
]
},
{
"id": "'1750861927898'",
"automation": "- id: '1750861927898'\n alias: Notify Corban on HVAC error\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.mitp_heat_pump_first_floor_error_code\n from: No Error Reported\n not_to:\n - unavailable\n id: First Floor HVAC\n - trigger: state\n entity_id:\n - sensor.mitp_heat_pump_second_floor_error_code\n from: No Error Reported\n not_to:\n - unavailable\n id: Second Floor HVAC\n conditions: []\n actions:\n - action: notify.corban\n metadata: {}\n data:\n title: HVAC Error\n message: 'Error in {{ trigger.id }}: {{ trigger.to_state.state }}'\n mode: single",
"config": [
{
"name": "mitp heat pump first floor error code sensor",
"room": "first_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.mitp_heat_pump_first_floor_error_code",
"device_id": null
}
},
{
"name": "mitp heat pump second floor error code sensor",
"room": "second_floor",
"type": "sensor",
"id": {
"entity_id": "sensor.mitp_heat_pump_second_floor_error_code",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1750862231781'",
"automation": "- id: '1750862231781'\n alias: Notify when HVAC filter needs to be replaced\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.mitp_heat_pump_first_floor_filter_status\n id: First Floor HVAC\n to: 'on'\n from: 'off'\n - trigger: state\n entity_id:\n - binary_sensor.mitp_heat_pump_second_floor_filter_status\n id: Second Floor HVAC\n to: 'on'\n from: 'off'\n conditions: []\n actions:\n - action: notify.adult_phones\n metadata: {}\n data:\n title: HVAC Filter Needs to be Replaced\n message: The filter in the {{ trigger.id }} needs to be replaced.\n mode: single",
"config": [
{
"name": "adult phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_phones",
"device_id": null
}
},
{
"name": "mitp heat pump first floor filter status sensor",
"room": "first_floor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.mitp_heat_pump_first_floor_filter_status",
"device_id": null
}
},
{
"name": "mitp heat pump second floor filter status sensor",
"room": "second_floor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.mitp_heat_pump_second_floor_filter_status",
"device_id": null
}
}
]
},
{
"id": "'1752358411714'",
"automation": "- id: '1752358411714'\n alias: Living Room Switch 3 - Triple tap for curtain control\n description: ''\n triggers:\n - domain: mqtt\n device_id: ff32bc927588740f5739a61d42afee60\n type: action\n subtype: up_triple\n trigger: device\n id: Open\n - domain: mqtt\n device_id: ff32bc927588740f5739a61d42afee60\n type: action\n subtype: down_triple\n trigger: device\n id: Close\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - Open\n sequence:\n - action: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.living_room_window_1_curtains\n - conditions:\n - condition: trigger\n id:\n - Close\n sequence:\n - action: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.living_room_window_1_curtains\n mode: single",
"config": [
{
"name": "living room switch 4 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "ff32bc927588740f5739a61d42afee60"
}
},
{
"name": "living room window 1 curtains cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_window_1_curtains",
"device_id": null
}
}
]
},
{
"id": "'1754364930470'",
"automation": "- id: '1754364930470'\n alias: Mower - Notify if Locked/Lifted\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.lucas_activity_mode\n to: MODE_LOCK\n conditions: []\n actions:\n - action: notify.corban\n metadata: {}\n data:\n message: Mower is locked or has been lifted. You need to manually reset it.\n title: Mower Locked\n mode: single",
"config": [
{
"name": "lucas activity mode sensor",
"room": "yard",
"type": "sensor",
"id": {
"entity_id": "sensor.lucas_activity_mode",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1754537218111'",
"automation": "- id: '1754537218111'\n alias: Mower Schedule\n description: ''\n triggers:\n - trigger: time_pattern\n minutes: /15\n conditions:\n - condition: time\n weekday:\n - tue\n - wed\n - thu\n - fri\n after: '11:30:00'\n before: '19:00:00'\n - condition: state\n entity_id: input_boolean.mower_schedule_enabled\n state: 'on'\n - condition: state\n entity_id: input_boolean.mower_do_not_mow\n state: 'off'\n - condition: sun\n before: sunset\n before_offset: '-1:00:00'\n after: sunrise\n alias: Between sunrise and 1 hour before sunset\n actions:\n - variables:\n area_options:\n - back_yard_main\n - garage_side\n - front_yard\n - mailbox\n chosen_area: \"{% set today = now().date() %} {% for cid in area_options %}\\n\\\n \\ {% set ent_id_last_mow = 'input_datetime.mower_last_mow_' ~ cid %}\\n {%\\\n \\ set ent_id_schedule = 'input_number.mower_schedule_days_delay_' ~ cid %}\\n\\\n \\ {% set last_mow_dt = states(ent_id_last_mow) | as_datetime | as_local %}\\n\\\n \\ {% set delay = states(ent_id_schedule) | int %}\\n {% if (delay > 0) and\\\n \\ (last_mow_dt.date() <= (today - timedelta(days=delay))) and \\n ( cid\\\n \\ != \\\"back_yard_main\\\" or \\n ( is_state(\\\"switch.sprinkler_valve_1\\\",\\\n \\ \\\"off\\\")\\n and (as_timestamp(now()) - as_timestamp(states.switch.sprinkler_valve_1.last_changed\\\n \\ | default(0))) > 7200 )\\n )\\n %}\\n {{ cid }}\\n {% break %}\\n \\\n \\ {% endif %}\\n{% endfor %} \\n\"\n alias: Select the first valid yard zone\n - condition: template\n value_template: '{{ chosen_area != '''' }}'\n alias: Test if a yard zone is configured\n - action: notify.corban\n metadata: {}\n data:\n message: Mowing {{ chosen_area }}.\n title: Mower Schedule Triggered\n - alias: Start Mower Script for Area\n action: script.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: '{{ ''script.mower_mow_'' ~ chosen_area }}'\n mode: single",
"config": [
{
"name": "mower schedule enabled input boolean",
"room": "yard",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.mower_schedule_enabled",
"device_id": null
}
},
{
"name": "mower do not mow input boolean",
"room": "yard",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.mower_do_not_mow",
"device_id": null
}
},
{
"name": "sprinkler valve 1 switch",
"room": "yard",
"type": "switch",
"id": {
"entity_id": "switch.sprinkler_valve_1",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1754538262555'",
"automation": "- id: '1754538262555'\n alias: Mower Schedule - Do Not Mow Controls\n description: Monitors various entities to enable and disable mowing based on conditions.\n triggers:\n - trigger: state\n entity_id:\n - sensor.lucas_activity_mode\n from: null\n to: null\n - trigger: state\n entity_id:\n - sensor.lucas_battery\n from: null\n to: null\n - trigger: state\n entity_id:\n - sensor.owmh_home_forecast0rain\n - sensor.owmh_home_day0rain\n - sensor.owmh_home_current_rain\n from: null\n to: null\n - trigger: state\n entity_id:\n - input_select.home_mode\n from: null\n to: null\n - trigger: state\n entity_id:\n - input_boolean.mower_schedule_enabled\n from: 'off'\n to: 'on'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n sequence:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n - action: input_text.set_value\n metadata: {}\n data:\n value: Vacation Mode\n target:\n entity_id: input_text.mower_reason_no_mow\n alias: Vacation\n - conditions:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.lucas_activity_mode\n state: MODE_READY\n sequence:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n - action: input_text.set_value\n metadata: {}\n data:\n value: Mower Not Ready\n target:\n entity_id: input_text.mower_reason_no_mow\n alias: Mower Not Ready\n - conditions:\n - condition: numeric_state\n entity_id: sensor.lucas_battery\n below: 95\n sequence:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n - action: input_text.set_value\n metadata: {}\n data:\n value: Mower Battery Not Charged\n target:\n entity_id: input_text.mower_reason_no_mow\n alias: Mower Battery Not Charged\n - conditions:\n - condition: numeric_state\n entity_id: sensor.owmh_home_day0rain\n above: 0.75\n sequence:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n - action: input_text.set_value\n metadata: {}\n data:\n value: Heavy Rain Recently\n target:\n entity_id: input_text.mower_reason_no_mow\n alias: Heavy Rain - Historical\n - conditions:\n - condition: numeric_state\n entity_id: sensor.owmh_home_forecast0rain\n above: 0.5\n sequence:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n - action: input_text.set_value\n metadata: {}\n data:\n value: Heavy Rain Predicted\n target:\n entity_id: input_text.mower_reason_no_mow\n alias: Heavy Rain - Predicted\n - conditions:\n - condition: numeric_state\n entity_id: sensor.owmh_home_current_rain\n above: 0.2\n sequence:\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n - action: input_text.set_value\n metadata: {}\n data:\n value: Currently Raining\n target:\n entity_id: input_text.mower_reason_no_mow\n alias: Rain - Current\n default:\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mower_do_not_mow\n alias: Turn off \"Do Not Mow\"\n - alias: Clear the No Mow Reason\n action: input_text.set_value\n metadata: {}\n data:\n value: None\n target:\n entity_id: input_text.mower_reason_no_mow\n mode: single",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "lucas activity mode sensor",
"room": "yard",
"type": "sensor",
"id": {
"entity_id": "sensor.lucas_activity_mode",
"device_id": null
}
},
{
"name": "mower schedule enabled input boolean",
"room": "yard",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.mower_schedule_enabled",
"device_id": null
}
},
{
"name": "mower do not mow input boolean",
"room": "yard",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.mower_do_not_mow",
"device_id": null
}
},
{
"name": "lucas battery sensor",
"room": "yard",
"type": "sensor",
"id": {
"entity_id": "sensor.lucas_battery",
"device_id": null
}
},
{
"name": "owmh home forecast0rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_forecast0rain",
"device_id": null
}
},
{
"name": "owmh home day0rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_day0rain",
"device_id": null
}
},
{
"name": "owmh home current rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_current_rain",
"device_id": null
}
},
{
"name": "mower reason no mow input text",
"room": "yard",
"type": "input_text",
"id": {
"entity_id": "input_text.mower_reason_no_mow",
"device_id": null
}
}
]
},
{
"id": "'1756128484018'",
"automation": "- id: '1756128484018'\n alias: Trigger Corbans location update when leaving\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - person.corban\n to: not_home\n from: home\n conditions: []\n actions:\n - action: script.request_corban_location_update\n metadata: {}\n data: {}\n mode: single",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
}
]
},
{
"id": "'1756138764072'",
"automation": "- id: '1756138764072'\n alias: Hold-to-Cycle Brightness - Office Ceiling Lights\n description: ''\n use_blueprint:\n path: corbanmailloux/inovelli_hold_to_dim.yaml\n input:\n switch_device: 0d88963feb93fc454e4d3c4115034675\n light_entity: light.office_ceiling\n step_size: 25",
"config": [
{
"name": "office switch device",
"room": "office",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "0d88963feb93fc454e4d3c4115034675"
}
},
{
"name": "office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_ceiling",
"device_id": null
}
}
]
},
{
"id": "'1756139380632'",
"automation": "- id: '1756139380632'\n alias: Hold-to-Cycle Brightness - Cabinet Lights\n description: ''\n use_blueprint:\n path: corbanmailloux/inovelli_hold_to_dim.yaml\n input:\n switch_device: 21e10aa0c624e6abdcbbbbb97e0373c5\n light_entity: light.living_room_cabinet_lights\n step_size: 25",
"config": [
{
"name": "living room switch 1 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "21e10aa0c624e6abdcbbbbb97e0373c5"
}
},
{
"name": "living room cabinet lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_cabinet_lights",
"device_id": null
}
}
]
},
{
"id": "'1756139422665'",
"automation": "- id: '1756139422665'\n alias: Hold-to-Cycle Brightness - Living Room Corner Lamp\n description: ''\n use_blueprint:\n path: corbanmailloux/inovelli_hold_to_dim.yaml\n input:\n switch_device: 53afe29f4d972deb626552ed9a4f89f6\n light_entity: light.corner_lamp",
"config": [
{
"name": "living room switch 3 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "53afe29f4d972deb626552ed9a4f89f6"
}
},
{
"name": "corner lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.corner_lamp",
"device_id": null
}
}
]
},
{
"id": "'1756139451249'",
"automation": "- id: '1756139451249'\n alias: Hold-to-Cycle Brightness - Living Room Reading Lamp\n description: ''\n use_blueprint:\n path: corbanmailloux/inovelli_hold_to_dim.yaml\n input:\n switch_device: ff32bc927588740f5739a61d42afee60\n light_entity: light.reading_lamp",
"config": [
{
"name": "living room switch 4 device",
"room": "living_room",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "ff32bc927588740f5739a61d42afee60"
}
},
{
"name": "reading lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.reading_lamp",
"device_id": null
}
}
]
},
{
"id": "'1756155639815'",
"automation": "- id: '1756155639815'\n alias: Master Bedroom Proxy Button Actions\n description: ''\n use_blueprint:\n path: corbanmailloux/esphome_ble_proxy_buttons.yaml\n input:\n event_entity: event.bluetooth_proxy_master_bedroom_bluetooth_proxy_master_bedroom_button_event\n single_press:\n - choose:\n - conditions:\n - condition: time\n after: '21:00:00'\n before: 09:00:00\n sequence:\n - action: light.toggle\n metadata: {}\n data:\n transition: 2\n brightness_pct: 2\n target:\n entity_id: light.master_bedroom_headboard\n alias: Toggle Dim\n default:\n - action: light.toggle\n metadata: {}\n data:\n transition: 2\n brightness_pct: 75\n target:\n entity_id: light.master_bedroom_headboard\n alias: Toggle Bright\n double_press:\n - action: fan.toggle\n metadata: {}\n data: {}\n target:\n entity_id: fan.master_bedroom_ceiling_fan\n long_press:\n - alias: Activate sleep mode. If sleep mode is on, run bedtime checkup again.\n choose:\n - conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Sleep\n sequence:\n - action: script.bedtime_checkup\n data: {}\n default:\n - data:\n entity_id: input_select.home_mode\n option: Sleep\n action: input_select.select_option",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "master bedroom headboard light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_headboard",
"device_id": null
}
},
{
"name": "bluetooth proxy master bedroom event",
"room": "master_bedroom",
"type": "event",
"id": {
"entity_id": "event.bluetooth_proxy_master_bedroom_bluetooth_proxy_master_bedroom_button_event",
"device_id": null
}
},
{
"name": "master bedroom ceiling fan",
"room": "master_bedroom",
"type": "fan",
"id": {
"entity_id": "fan.master_bedroom_ceiling_fan",
"device_id": null
}
}
]
},
{
"id": "'1756865296776'",
"automation": "- id: '1756865296776'\n alias: Sprinkler Schedule\n description: ''\n triggers:\n - trigger: time\n at: 06:59:00\n id: 'on'\n - trigger: time\n at: 07:15:00\n id: 'off'\n - trigger: time\n at: '11:59:00'\n id: 'on'\n enabled: false\n - trigger: time\n at: '12:05:00'\n id: 'off'\n enabled: false\n - trigger: time\n at: '17:14:00'\n id: 'on'\n enabled: false\n - trigger: time\n at: '17:21:00'\n id: 'off'\n enabled: false\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.lucas_work_area\n state: Main Back and Side\n alias: Lucas not in back yard\n - alias: Insignificant rain in the last 2 days or forcast today\n condition: template\n value_template: \"{{ \\nstates(\\\"sensor.owmh_home_current_rain\\\") | float(0)\\\n \\ < 0.25\\nand states(\\\"sensor.owmh_home_day0rain\\\") | float(0) < 0.25\\n\\\n and states(\\\"sensor.owmh_home_day1rain\\\") | float(0) < 0.5\\nand ((states(\\\"\\\n sensor.owmh_home_forecast0rain\\\")|float(0)) * (states(\\\"sensor.owmh_home_forecast0pop\\\"\\\n )|float(0))) < 0.5\\n}}\"\n sequence:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.sprinkler_valve_1\n alias: On - Mower not in back yard; insignificant rain\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.sprinkler_valve_1\n mode: single",
"config": [
{
"name": "sprinkler valve 1 switch",
"room": "yard",
"type": "switch",
"id": {
"entity_id": "switch.sprinkler_valve_1",
"device_id": null
}
},
{
"name": "owmh home forecast0rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_forecast0rain",
"device_id": null
}
},
{
"name": "owmh home day0rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_day0rain",
"device_id": null
}
},
{
"name": "owmh home current rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_current_rain",
"device_id": null
}
},
{
"name": "lucas work area sensor",
"room": "yard",
"type": "sensor",
"id": {
"entity_id": "sensor.lucas_work_area",
"device_id": null
}
},
{
"name": "owmh home day1rain sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_day1rain",
"device_id": null
}
},
{
"name": "owmh home forecast0pop sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.owmh_home_forecast0pop",
"device_id": null
}
}
]
},
{
"id": "'1756865878813'",
"automation": "- id: '1756865878813'\n alias: Turn off sprinkler value after 40 minutes\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - switch.sprinkler_valve_1\n to: 'on'\n for:\n hours: 0\n minutes: 40\n seconds: 0\n conditions: []\n actions:\n - action: notify.corban\n metadata: {}\n data:\n title: Sprinkler Still On\n message: The sprinkler valve has been running for more than 40 minutes. Stopping\n automatically.\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.sprinkler_valve_1\n mode: single",
"config": [
{
"name": "sprinkler valve 1 switch",
"room": "yard",
"type": "switch",
"id": {
"entity_id": "switch.sprinkler_valve_1",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "'1757898273542'",
"automation": "- id: '1757898273542'\n alias: Water Leak Detected - Send Critical Notifications\n description: ''\n triggers:\n - trigger: state\n entity_id: binary_sensor.kitchen_sink_water_leak_sensor_water_sensor\n to: 'on'\n id: under the kitchen sink\n - trigger: state\n entity_id: binary_sensor.water_heater_water_leak_sensor_water_sensor\n to: 'on'\n id: near the water heater\n - trigger: state\n entity_id: binary_sensor.water_softener_water_leak_sensor_water_sensor\n to: 'on'\n id: near the water softener\n - trigger: state\n entity_id: binary_sensor.washing_machine_water_leak_sensor_water_sensor\n to: 'on'\n id: near the washing machine\n - trigger: state\n entity_id: binary_sensor.master_bathroom_sink_water_leak_sensor_water_sensor\n to: 'on'\n id: under the master bathroom sink\n - trigger: state\n entity_id: binary_sensor.guest_bathroom_sink_water_leak_sensor_water_sensor\n to: 'on'\n id: under the guest bathroom sink\n - trigger: state\n entity_id: binary_sensor.first_floor_bathroom_water_leak_sensor_water_sensor\n to: 'on'\n id: under the first floor bathroom sink\n - trigger: state\n entity_id:\n - binary_sensor.water_leak_sensor_first_floor_vacuum_water_sensor\n to: 'on'\n id: near the robot vacuum base station\n - trigger: state\n entity_id:\n - binary_sensor.water_leak_sensor_dehumidifier_water_sensor\n to: 'on'\n id: near the dehumidifier\n conditions: []\n actions:\n - alias: Notify Everyone with a Critical Notification\n action: notify.adult_ios_phones\n data:\n title: Water Leak Detected at Home\n message: Water detected {{ trigger.id }}.\n data:\n push:\n interruption-level: critical\n mode: single",
"config": [
{
"name": "kitchen sink water leak sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "water heater water leak sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.water_heater_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "water softener water leak sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.water_softener_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "washing machine water leak sensor",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "master bathroom sink water leak sensor",
"room": "master_bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.master_bathroom_sink_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "guest bathroom sink water leak sensor",
"room": "guest_bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.guest_bathroom_sink_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "first floor bathroom water leak sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.first_floor_bathroom_water_leak_sensor_water_sensor",
"device_id": null
}
},
{
"name": "water leak sensor first floor vacuum water sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.water_leak_sensor_first_floor_vacuum_water_sensor",
"device_id": null
}
},
{
"name": "water leak sensor dehumidifier water sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.water_leak_sensor_dehumidifier_water_sensor",
"device_id": null
}
},
{
"name": "adult ios phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_ios_phones",
"device_id": null
}
}
]
},
{
"id": "03bcaae7-109c-4ccd-9392-d571c09518a8",
"automation": "- id: 03bcaae7-109c-4ccd-9392-d571c09518a8\n alias: Living Room Curtains - Match Window State\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.living_room_window_1_contact\n from: 'on'\n to: 'off'\n id: closed\n for:\n hours: 0\n minutes: 0\n seconds: 2\n - trigger: state\n entity_id:\n - binary_sensor.living_room_window_1_contact\n from: 'off'\n to: 'on'\n id: open\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - alias: Living room automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n - condition: state\n entity_id: cover.living_room_curtain_left\n state: closed\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - open\n - condition: state\n entity_id: cover.living_room_curtain_right\n state: closed\n sequence:\n - alias: Open the Right Curtain\n action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_right\n position: 100\n speed: 2\n - conditions:\n - condition: trigger\n id:\n - closed\n - condition: state\n entity_id: cover.living_room_curtain_right\n state: open\n sequence:\n - alias: Close the Right Curtain\n action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_right\n position: 0\n speed: 2\n mode: restart",
"config": [
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "living room window 1 contact sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_window_1_contact",
"device_id": null
}
},
{
"name": "living room curtain left cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_left",
"device_id": null
}
},
{
"name": "living room curtain right cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_right",
"device_id": null
}
}
]
},
{
"id": "'1758213615165'",
"automation": "- id: '1758213615165'\n alias: Proxy / Bedside Button Light on at Night\n description: ''\n triggers:\n - trigger: event\n event_type: corban_iphone_charging\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n - condition: time\n after: '21:30:00'\n before: 03:00:00\n enabled: true\n actions:\n - action: light.turn_on\n metadata: {}\n data:\n transition: 1\n brightness_pct: 100\n rgb_color:\n - 0\n - 0\n - 255\n target:\n entity_id: light.bluetooth_proxy_master_bedroom_light\n mode: single",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "bluetooth proxy master bedroom light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.bluetooth_proxy_master_bedroom_light",
"device_id": null
}
}
]
},
{
"id": "b299324f-f288-455d-b941-98b0a3a2b589",
"automation": "- alias: Log Lucy's Weight in Baby Buddy from Withings\n id: b299324f-f288-455d-b941-98b0a3a2b589\n triggers:\n - trigger: state\n entity_id: sensor.withings_lucy_weight\n not_from:\n - unknown\n - unavailable\n actions:\n - action: babybuddy.add_weight\n data:\n weight: '{{ states(\"sensor.withings_lucy_weight\") | round(2) }}'\n tags:\n - Home Assistant\n target:\n entity_id: sensor.baby_lucy_mailloux\n - action: script.inovelli_led_control\n data:\n target:\n device_id:\n - a2726cb3f7bd7519599fdc4147272d87\n led: All\n color: Green\n level: 100\n effect: Fast Chase\n duration: 3 Seconds",
"config": [
{
"name": "withings lucy weight sensor",
"room": "nursery",
"type": "sensor",
"id": {
"entity_id": "sensor.withings_lucy_weight",
"device_id": null
}
},
{
"name": "baby lucy mailloux sensor",
"room": "nursery",
"type": "sensor",
"id": {
"entity_id": "sensor.baby_lucy_mailloux",
"device_id": null
}
},
{
"name": "nightlight device",
"room": "nursery",
"type": "light",
"id": {
"entity_id": null,
"device_id": "a2726cb3f7bd7519599fdc4147272d87"
}
}
]
},
{
"id": "a057b5d7-4be2-4815-ae9a-616bc0af99c0",
"automation": "- id: a057b5d7-4be2-4815-ae9a-616bc0af99c0\n alias: Basement - All Lights Follow Switched Lights\n triggers:\n - trigger: state\n entity_id: light.basement_main_lights\n not_from:\n - unknown\n - unavailable\n actions:\n - alias: On or Off?\n choose:\n - conditions: '{{ trigger.to_state.state == \"on\" }}'\n sequence:\n - alias: Turn on basement lights\n action: light.turn_on\n data:\n color_temp_kelvin: 4000\n brightness: 255\n target:\n entity_id: light.basement_lights\n - conditions: '{{ trigger.to_state.state == \"off\" }}'\n sequence:\n - alias: Turn off basement lights\n action: light.turn_off\n data:\n transition: 0\n target:\n entity_id: light.basement_lights",
"config": [
{
"name": "basement main lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_main_lights",
"device_id": null
}
},
{
"name": "basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
}
]
},
{
"id": "f1227b65-0d99-4c35-9694-bc229a89f2b7",
"automation": "- id: f1227b65-0d99-4c35-9694-bc229a89f2b7\n alias: Basement - Motion Lights\n mode: restart\n triggers:\n - trigger: state\n entity_id: binary_sensor.basement_assumed_motion\n from: 'off'\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id: binary_sensor.basement_assumed_motion\n to: 'off'\n for:\n minutes: 5\n id: 'off'\n conditions:\n - alias: Basement automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_basement\n state: 'off'\n actions:\n - alias: On or Off?\n choose:\n - conditions: '{{ trigger.id == \"on\" }}'\n sequence:\n - alias: Turn on basement lights\n action: light.turn_on\n data:\n color_temp_kelvin: 4000\n brightness: 255\n target:\n entity_id: light.basement_lights\n - conditions: '{{ trigger.id == \"off\" }}'\n sequence:\n - alias: Turn off basement lights\n action: light.turn_off\n data:\n transition: 20\n target:\n entity_id: light.basement_lights",
"config": [
{
"name": "basement lights",
"room": "basement",
"type": "light",
"id": {
"entity_id": "light.basement_lights",
"device_id": null
}
},
{
"name": "basement assumed motion sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_assumed_motion",
"device_id": null
}
},
{
"name": "room exclude basement input boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_basement",
"device_id": null
}
}
]
},
{
"id": "22d5a3bd-46c6-4a50-909d-5331e875c243",
"automation": "- alias: Turn on air purifier with Sleep Mode on vacuum nights\n id: 22d5a3bd-46c6-4a50-909d-5331e875c243\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Sleep\n conditions:\n - alias: Nights where the vacuum is scheduled to run\n condition: time\n weekday:\n - sun\n - tue\n - thu\n - alias: Master Bedroom automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_master_bedroom\n state: 'off'\n actions:\n - delay:\n seconds: 5\n - alias: Turn on the air purifier\n action: fan.turn_on\n data:\n percentage: 50\n target:\n entity_id: fan.office_air_purifier",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude master bedroom input boolean",
"room": "master_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_master_bedroom",
"device_id": null
}
},
{
"name": "office air purifier fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.office_air_purifier",
"device_id": null
}
}
]
},
{
"id": "2445cd27-5210-4e61-ad7a-c8323263e9a5",
"automation": "- id: 2445cd27-5210-4e61-ad7a-c8323263e9a5\n alias: Turn off air purifier in the morning\n triggers:\n - trigger: time\n at: 08:15:00\n conditions:\n - alias: Home mode set\n condition: state\n entity_id: input_select.home_mode\n state: Home\n - alias: Air purifier is on\n condition: state\n entity_id: fan.office_air_purifier\n state: 'on'\n - alias: Master Bedroom automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_master_bedroom\n state: 'off'\n actions:\n - alias: Turn off the air purifier\n action: fan.turn_off\n target:\n entity_id: fan.office_air_purifier",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude master bedroom input boolean",
"room": "master_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_master_bedroom",
"device_id": null
}
},
{
"name": "office air purifier fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.office_air_purifier",
"device_id": null
}
}
]
},
{
"id": "49524a70-ea40-4ed6-b07f-e6bd950baef0",
"automation": "- alias: Open curtains when Corban wakes up\n id: 49524a70-ea40-4ed6-b07f-e6bd950baef0\n triggers:\n - trigger: event\n event_type: corban_iphone_sleep\n event_data:\n sleep: false\n conditions:\n - alias: Weekdays\n condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n - alias: Corban is home\n condition: state\n entity_id: person.corban\n state: home\n - not:\n - alias: Maggie is not home, such as every other Friday\n condition: state\n entity_id: person.maggie\n state: home\n - alias: Master Bedroom automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_master_bedroom\n state: 'off'\n - not:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n actions:\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.master_bedroom_curtains\n position: 30\n speed: 2",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "room exclude master bedroom input boolean",
"room": "master_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_master_bedroom",
"device_id": null
}
},
{
"name": "master bedroom curtains cover",
"room": "master_bedroom",
"type": "cover",
"id": {
"entity_id": "cover.master_bedroom_curtains",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
}
]
},
{
"id": "3ba2dda8-25b0-4ceb-96d2-c79fe7612603",
"automation": "- alias: Close curtains around sunset\n id: 3ba2dda8-25b0-4ceb-96d2-c79fe7612603\n triggers:\n - trigger: sun\n event: sunset\n conditions:\n - alias: Master Bedroom automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_master_bedroom\n state: 'off'\n - not:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n actions:\n - if:\n - condition: state\n entity_id: binary_sensor.master_bedroom_window_contact\n state: 'off'\n then:\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.master_bedroom_curtain_left\n - cover.master_bedroom_curtain_right\n position: 0\n speed: 2\n else:\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.master_bedroom_curtain_left\n position: 0\n speed: 2\n - wait_for_trigger:\n - trigger: state\n entity_id:\n - binary_sensor.master_bedroom_window_contact\n to: 'off'\n for:\n seconds: 2\n continue_on_timeout: false\n timeout:\n hours: 8\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.master_bedroom_curtain_right\n position: 0\n speed: 2",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude master bedroom input boolean",
"room": "master_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_master_bedroom",
"device_id": null
}
},
{
"name": "master bedroom window contact sensor",
"room": "master_bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.master_bedroom_window_contact",
"device_id": null
}
},
{
"name": "master bedroom curtain left cover",
"room": "master_bedroom",
"type": "cover",
"id": {
"entity_id": "cover.master_bedroom_curtain_left",
"device_id": null
}
},
{
"name": "master bedroom curtain right cover",
"room": "master_bedroom",
"type": "cover",
"id": {
"entity_id": "cover.master_bedroom_curtain_right",
"device_id": null
}
}
]
},
{
"id": "cc8e52c9-a310-4b0d-8ec1-69296230588c",
"automation": "- alias: Sunrise Alarm\n id: cc8e52c9-a310-4b0d-8ec1-69296230588c\n triggers:\n - trigger: time\n at: input_datetime.alarm_start_time\n conditions:\n - alias: Room not excluded\n condition: state\n entity_id: input_boolean.room_exclude_guest_bedroom\n state: 'off'\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n - condition: state\n entity_id: light.fairy_lights\n state: 'off'\n actions:\n - action: light.turn_on\n entity_id: light.fairy_lights\n data_template:\n brightness: '{{ ((states.input_number.alarm_max_brightness.state | int) / 100\n * 255) | int }}'\n transition: '{{ states.input_datetime.alarm_target_time.attributes.timestamp\n - states.input_datetime.alarm_start_time.attributes.timestamp }}'\n - delay:\n hours: 2\n - action: light.turn_off\n entity_id: light.fairy_lights\n data:\n transition: 20",
"config": [
{
"name": "fairy lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.fairy_lights",
"device_id": null
}
},
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "alarm start time input datetime",
"room": "guest_bedroom",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.alarm_start_time",
"device_id": null
}
},
{
"name": "room exclude guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_guest_bedroom",
"device_id": null
}
},
{
"name": "workday sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.workday_sensor",
"device_id": null
}
},
{
"name": "alarm max brightness input number",
"room": "guest_bedroom",
"type": "input_number",
"id": {
"entity_id": "input_number.alarm_max_brightness",
"device_id": null
}
},
{
"name": "alarm target time input datetime",
"room": "guest_bedroom",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.alarm_target_time",
"device_id": null
}
},
{
"name": "room exclude guest bedroom input boolean 2",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_guest_bedroom",
"device_id": null
}
}
]
},
{
"id": "a873b354-e261-4790-b2b8-2b1ca8b7b558",
"automation": "- alias: Bed Lights - Auto-Off\n id: a873b354-e261-4790-b2b8-2b1ca8b7b558\n triggers:\n - trigger: state\n entity_id: light.bed_lighting_rgb_light\n to: 'on'\n for:\n hours: 5\n minutes: 0\n seconds: 0\n actions:\n - action: light.turn_off\n entity_id: light.bed_lighting_rgb_light\n data:\n transition: 5",
"config": [
{
"name": "bed lighting rgb light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.bed_lighting_rgb_light",
"device_id": null
}
}
]
},
{
"id": "26a2133f-97ce-463e-bc39-f23c54f57f47",
"automation": "- alias: Turn on under-bed lights at bedtime\n id: 26a2133f-97ce-463e-bc39-f23c54f57f47\n triggers:\n - trigger: time\n at: '22:45'\n conditions:\n - alias: Room not excluded\n condition: state\n entity_id: input_boolean.room_exclude_master_bedroom\n state: 'off'\n - condition: state\n entity_id: light.bed_lighting_rgb_light\n state: 'off'\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n - condition: state\n entity_id: person.corban\n state: home\n actions:\n - action: light.turn_on\n entity_id: light.bed_lighting_rgb_light\n data:\n transition: 5\n brightness_pct: 75\n rgb_color:\n - 255\n - 78\n - 30",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "room exclude master bedroom input boolean",
"room": "master_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_master_bedroom",
"device_id": null
}
},
{
"name": "bed lighting rgb light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.bed_lighting_rgb_light",
"device_id": null
}
}
]
},
{
"id": "725241e1-3311-4dbd-a9a7-2d7693bff407",
"automation": "- alias: Bedside Button 1 - Toggle Bedroom Light\n id: 725241e1-3311-4dbd-a9a7-2d7693bff407\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_toggle\n domain: mqtt\n type: action\n subtype: toggle\n actions:\n - if:\n - alias: Light On\n condition: state\n entity_id: light.master_bedroom_ceiling_fan_light\n state: 'on'\n then:\n - alias: Turn off\n action: light.turn_off\n target:\n entity_id: light.master_bedroom_ceiling_fan_light\n else:\n - if:\n - alias: Nighttime\n condition: time\n after: '21:00:00'\n before: 06:00:00\n then:\n - alias: Turn on at 50%\n action: light.turn_on\n target:\n entity_id: light.master_bedroom_ceiling_fan_light\n data_template:\n brightness: 127\n else:\n - alias: Turn on at 100%\n action: light.turn_on\n target:\n entity_id: light.master_bedroom_ceiling_fan_light\n data_template:\n brightness: 255",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom ceiling fan light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_fan_light",
"device_id": null
}
}
]
},
{
"id": "ab376db0-75fe-4dfd-80ed-e79aa7fbe7b5",
"automation": "- alias: Bedside Button 1 - Brightness Up\n id: ab376db0-75fe-4dfd-80ed-e79aa7fbe7b5\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_brightness_up_click\n domain: mqtt\n type: action\n subtype: brightness_up_click\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom_ceiling_fan_light\n data_template:\n brightness: \"{%- set target = (is_state('light.master_bedroom_ceiling_fan_light',\\\n \\ \\\"on\\\") and state_attr('light.master_bedroom_ceiling_fan_light', 'brightness'))\\\n \\ | int + 40 -%} {%- if target > 255 -%}\\n 255\\n{%- else -%}\\n {{ target}}\\n\\\n {%- endif -%}\\n\"",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom ceiling fan light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_fan_light",
"device_id": null
}
}
]
},
{
"id": "40de4391-a6b7-4ed4-a679-7257f6353a82",
"automation": "- alias: Bedside Button 1 - Brightness Down\n id: 40de4391-a6b7-4ed4-a679-7257f6353a82\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_brightness_down_click\n domain: mqtt\n type: action\n subtype: brightness_down_click\n conditions:\n - condition: state\n entity_id: light.master_bedroom_ceiling_fan_light\n state: 'on'\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom_ceiling_fan_light\n data_template:\n brightness: \"{%- set target = state_attr('light.master_bedroom_ceiling_fan_light',\\\n \\ 'brightness') | int - 40 -%} {%- if target < 10 -%}\\n 10\\n{%- else -%}\\n\\\n \\ {{ target}}\\n{%- endif -%}\\n\"",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom ceiling fan light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_fan_light",
"device_id": null
}
}
]
},
{
"id": "6eb4c698-0b5a-43cb-a878-7d9d0b718d3b",
"automation": "- alias: Bedside Button 1 - Brightness Up Hold\n id: 6eb4c698-0b5a-43cb-a878-7d9d0b718d3b\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_brightness_up_hold\n domain: mqtt\n type: action\n subtype: brightness_up_hold\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom_ceiling_fan_light\n data:\n brightness: 255",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom ceiling fan light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_fan_light",
"device_id": null
}
}
]
},
{
"id": "20ce4286-315e-495b-b4ed-d88a4862a1f6",
"automation": "- alias: Bedside Button 1 - Brightness Down Hold\n id: 20ce4286-315e-495b-b4ed-d88a4862a1f6\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_brightness_down_hold\n domain: mqtt\n type: action\n subtype: brightness_down_hold\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom_ceiling_fan_light\n data:\n brightness: 10",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom ceiling fan light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_fan_light",
"device_id": null
}
}
]
},
{
"id": "486310de-869d-4c86-88c5-d06a28f7fd2b",
"automation": "- alias: Bedside Button 1 - Right Button Click - Headboard Lighting\n id: 486310de-869d-4c86-88c5-d06a28f7fd2b\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_arrow_right_click\n domain: mqtt\n type: action\n subtype: arrow_right_click\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom_headboard\n data_template:\n brightness: \"{%- set percent = 100 -%} {%- if states(\\\"light.master_bedroom_headboard\\\"\\\n ) == \\\"off\\\" -%}\\n {%- set percent = 100 -%}\\n{%- elif state_attr(\\\"light.master_bedroom_headboard\\\"\\\n , \\\"brightness\\\") == 255 -%}\\n {%- set percent = 50 -%}\\n{%- else -%}\\n \\\n \\ {%- set percent = 0 -%}\\n{%- endif -%} {{ (percent / 100 * 255) | int}}\\n\"",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom headboard light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_headboard",
"device_id": null
}
}
]
},
{
"id": "1d146753-e4ca-4514-883d-7bb0efd99554",
"automation": "- alias: Bedside Button 1 - Left Button Click - Fan\n id: 1d146753-e4ca-4514-883d-7bb0efd99554\n triggers:\n - trigger: device\n device_id: 902fe0fc069711eb8fc8e19795714a1d\n discovery_id: 0x680ae2fffebeb7ca action_arrow_left_click\n domain: mqtt\n type: action\n subtype: arrow_left_click\n actions:\n - action: homeassistant.toggle\n entity_id: fan.master_bedroom_ceiling_fan",
"config": [
{
"name": "bedside button 1 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "902fe0fc069711eb8fc8e19795714a1d"
}
},
{
"name": "master bedroom ceiling fan",
"room": "master_bedroom",
"type": "fan",
"id": {
"entity_id": "fan.master_bedroom_ceiling_fan",
"device_id": null
}
}
]
},
{
"id": "df5766b0-ce91-4e2e-bb13-2f0a95969653",
"automation": "- alias: Bedside Button 2 - Click - Bed Lighting Toggle\n id: df5766b0-ce91-4e2e-bb13-2f0a95969653\n triggers:\n - trigger: device\n domain: mqtt\n device_id: ac01e2cb060249f980958e940eb74383\n discovery_id: 0x00158d0001e8842e action_single\n type: action\n subtype: single\n actions:\n - action: light.turn_on\n entity_id: light.master_bedroom_headboard\n data_template:\n brightness: \"{%- set percent = 100 -%} {%- if states(\\\"light.master_bedroom_headboard\\\"\\\n ) == \\\"off\\\" -%}\\n {%- set percent = 100 -%}\\n{%- elif state_attr(\\\"light.master_bedroom_headboard\\\"\\\n , \\\"brightness\\\") == 255 -%}\\n {%- set percent = 50 -%}\\n{%- else -%}\\n \\\n \\ {%- set percent = 0 -%}\\n{%- endif -%} {{ (percent / 100 * 255) | int}}\\n\"",
"config": [
{
"name": "bedside button 2 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "ac01e2cb060249f980958e940eb74383"
}
},
{
"name": "master bedroom headboard light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_headboard",
"device_id": null
}
}
]
},
{
"id": "4d6d4222-b744-4ca3-ad30-4aba59d88353",
"automation": "- alias: Bedside Button 2 - Double Click - Fan\n id: 4d6d4222-b744-4ca3-ad30-4aba59d88353\n triggers:\n - trigger: device\n domain: mqtt\n device_id: ac01e2cb060249f980958e940eb74383\n discovery_id: 0x00158d0001e8842e action_double\n type: action\n subtype: double\n actions:\n - action: homeassistant.toggle\n entity_id: fan.master_bedroom_ceiling_fan",
"config": [
{
"name": "bedside button 2 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "ac01e2cb060249f980958e940eb74383"
}
},
{
"name": "master bedroom ceiling fan",
"room": "master_bedroom",
"type": "fan",
"id": {
"entity_id": "fan.master_bedroom_ceiling_fan",
"device_id": null
}
}
]
},
{
"id": "10bcb4b9-5b6f-4063-8c0c-10938cc9bcd3",
"automation": "- alias: Bedside Button 2 - Hold - Sleep Mode and Everything Off\n id: 10bcb4b9-5b6f-4063-8c0c-10938cc9bcd3\n triggers:\n - trigger: device\n domain: mqtt\n device_id: ac01e2cb060249f980958e940eb74383\n discovery_id: 0x00158d0001e8842e action_hold\n type: action\n subtype: hold\n actions:\n - alias: If sleep mode is on, force everything off.\n choose:\n - conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Sleep\n sequence:\n - alias: Turn truly everything off\n action: script.everything_off\n data:\n ignore_room_exclusions: true\n include_fans: true\n default:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Sleep",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "bedside button 2 device",
"room": "master_bedroom",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "ac01e2cb060249f980958e940eb74383"
}
}
]
},
{
"id": "3335ad34-ca40-424a-ae4e-b7d4f73ed851",
"automation": "- alias: Bedtime Checkup - Notification Action\n id: 3335ad34-ca40-424a-ae4e-b7d4f73ed851\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: BEDTIME_CHECKUP_TRIGGER\n actions:\n - alias: Run bedtime check up\n action: script.bedtime_checkup",
"config": []
},
{
"id": "07d5496d-3810-43a3-b371-59d65c7bc10f",
"automation": "- alias: Show Cat Claw Clipping Card - Calendar Automation\n id: 07d5496d-3810-43a3-b371-59d65c7bc10f\n mode: queued\n triggers:\n - trigger: calendar\n event: start\n entity_id: calendar.chores\n conditions:\n - condition: template\n value_template: '{{ ''Cat Claw Clipping'' in trigger.calendar_event.summary }}'\n actions:\n - action: input_boolean.turn_on\n entity_id: input_boolean.cat_claw_clip_needed",
"config": [
{
"name": "cat claw clip needed input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.cat_claw_clip_needed",
"device_id": null
}
},
{
"name": "Chores Calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.chores",
"device_id": null
}
}
]
},
{
"id": "2b837114-1867-4836-9a66-91dfe7c7a25f",
"automation": "- alias: Show Cat Fountain Reminder - Calendar Automation\n id: 2b837114-1867-4836-9a66-91dfe7c7a25f\n mode: queued\n triggers:\n - trigger: calendar\n event: start\n entity_id: calendar.chores\n conditions:\n - condition: template\n value_template: '{{ ''Cat Fountain Cleaning'' in trigger.calendar_event.summary\n }}'\n actions:\n - action: input_boolean.turn_on\n entity_id: input_boolean.cat_fountain_clean_needed",
"config": [
{
"name": "cat fountain clean needed input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.cat_fountain_clean_needed",
"device_id": null
}
},
{
"name": "Chores Calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.chores",
"device_id": null
}
}
]
},
{
"id": "515b458d-c596-434e-a356-c824bf229171",
"automation": "- alias: Christmas lights on when getting home or waking up\n id: 515b458d-c596-434e-a356-c824bf229171\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Home\n actions:\n - action: light.turn_on\n data:\n entity_id: light.christmas_tree_lights",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "christmas tree lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.christmas_tree_lights",
"device_id": null
}
}
]
},
{
"id": "0c6fbbda-5e27-4659-9e73-556a4c18d805",
"automation": "- id: 0c6fbbda-5e27-4659-9e73-556a4c18d805\n alias: Notify on Doorbell Person Detection\n triggers:\n - trigger: state\n entity_id: binary_sensor.main_doorbell_person\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: timer.doorbell_person_mute_time\n state: idle\n - alias: Privacy Mode disabled\n condition: state\n entity_id: input_boolean.exterior_privacy_mode\n state: 'off'\n actions:\n - action: script.doorbell_snapshot_and_notify",
"config": [
{
"name": "main doorbell person sensor",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.main_doorbell_person",
"device_id": null
}
},
{
"name": "doorbell person mute time timer",
"room": "entry",
"type": "timer",
"id": {
"entity_id": "timer.doorbell_person_mute_time",
"device_id": null
}
},
{
"name": "exterior privacy mode input boolean",
"room": "exterior",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.exterior_privacy_mode",
"device_id": null
}
}
]
},
{
"id": "cb72d982-0be9-485c-a170-2f143227268c",
"automation": "- id: cb72d982-0be9-485c-a170-2f143227268c\n alias: Doorbell - Notification Action - Refresh Image\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: DOORBELL_UPDATE_SNAPSHOT\n actions:\n - action: script.doorbell_snapshot_and_notify",
"config": []
},
{
"id": "4f90db44-8017-48b9-a950-f304d34b9702",
"automation": "- id: 4f90db44-8017-48b9-a950-f304d34b9702\n alias: Doorbell - Notification Action - Mute for 4 hours\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: DOORBELL_PERSON_SILENCE_ONE_HOUR\n actions:\n - action: timer.start\n entity_id: timer.doorbell_person_mute_time\n data:\n duration: 04:00:00",
"config": [
{
"name": "doorbell person mute time timer",
"room": "entry",
"type": "timer",
"id": {
"entity_id": "timer.doorbell_person_mute_time",
"device_id": null
}
}
]
},
{
"id": "7bb9e3c3-514c-4a64-9556-40dde9551500",
"automation": "- id: 7bb9e3c3-514c-4a64-9556-40dde9551500\n alias: Exterior Lighting - Lights On Before Sunset\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:45:00\n actions:\n - alias: Lights On\n action: homeassistant.turn_on\n target:\n entity_id: light.exterior_lights",
"config": [
{
"name": "exterior lights",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
}
]
},
{
"id": "4bb29781-aeaf-426e-88fa-0b4fa5d768cd",
"automation": "- id: 4bb29781-aeaf-426e-88fa-0b4fa5d768cd\n alias: Exterior Lighting - Lights Off At Night\n triggers:\n - trigger: time\n at: '23:00:00'\n actions:\n - alias: Lights Off\n action: homeassistant.turn_off\n target:\n entity_id: light.exterior_lights",
"config": [
{
"name": "exterior lights",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
}
]
},
{
"id": "ed3ca607-bc60-4952-ba47-395cd6d1b8f1",
"automation": "- id: ed3ca607-bc60-4952-ba47-395cd6d1b8f1\n alias: Exterior Lighting - Lights On in the Morning\n triggers:\n - trigger: time\n at: 06:00:00\n conditions:\n - alias: Sunrise hasn't happened yet\n condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - alias: Lights On\n action: homeassistant.turn_on\n target:\n entity_id: light.exterior_lights",
"config": [
{
"name": "exterior lights",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
},
{
"name": "Sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "0222a662-5ec3-4d21-92b4-d208c1d4fee9",
"automation": "- id: 0222a662-5ec3-4d21-92b4-d208c1d4fee9\n alias: Exterior Lighting - Lights Off After Sunrise\n triggers:\n - trigger: sun\n event: sunrise\n offset: 00:00:00\n actions:\n - alias: Lights Off\n action: homeassistant.turn_off\n target:\n entity_id: light.exterior_lights\n - alias: Wait 5 minutes and try again (race condition fix)\n delay:\n minutes: 5\n - action: homeassistant.turn_off\n target:\n entity_id: light.exterior_lights",
"config": [
{
"name": "exterior lights",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
}
]
},
{
"id": "b5a21457-b97b-437b-ab19-bb7d3ac2935b",
"automation": "- id: b5a21457-b97b-437b-ab19-bb7d3ac2935b\n alias: Exterior Privacy Mode\n triggers:\n - trigger: state\n entity_id: input_boolean.exterior_privacy_mode\n from: 'off'\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id: input_boolean.exterior_privacy_mode\n from: 'on'\n to: 'off'\n id: 'off'\n actions:\n - alias: On or Off?\n choose:\n - conditions: '{{ trigger.to_state.state == ''on'' }}'\n sequence:\n - alias: Exterior lights off\n action: light.turn_off\n target:\n entity_id: light.exterior_lights\n - alias: Garage lights off\n action: light.turn_off\n target:\n entity_id: light.garage_lights\n - alias: Disable recording\n action: switch.turn_off\n target:\n entity_id:\n - switch.main_doorbell_record\n - switch.driveway_privacy_mode\n - alias: Disable garage lighting automations\n action: input_boolean.turn_on\n target:\n entity_id: input_boolean.room_exclude_garage\n - conditions: '{{ trigger.to_state.state == ''off'' }}'\n sequence:\n - alias: Re-enable recording\n action: switch.turn_on\n target:\n entity_id:\n - switch.main_doorbell_record\n - switch.driveway_privacy_mode\n - alias: Re-enable garage lighting automations\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.room_exclude_garage",
"config": [
{
"name": "exterior lights",
"room": "exterior",
"type": "light",
"id": {
"entity_id": "light.exterior_lights",
"device_id": null
}
},
{
"name": "main doorbell record switch",
"room": "entry",
"type": "switch",
"id": {
"entity_id": "switch.main_doorbell_record",
"device_id": null
}
},
{
"name": "driveway privacy mode switch",
"room": "driveway",
"type": "switch",
"id": {
"entity_id": "switch.driveway_privacy_mode",
"device_id": null
}
},
{
"name": "room exclude garage input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_garage",
"device_id": null
}
},
{
"name": "exterior privacy mode input boolean",
"room": "exterior",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.exterior_privacy_mode",
"device_id": null
}
},
{
"name": "garage lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_lights",
"device_id": null
}
}
]
},
{
"id": "59bfa9b6-a76e-4acd-bf9e-1050328c1981",
"automation": "- id: 59bfa9b6-a76e-4acd-bf9e-1050328c1981\n alias: Exterior Privacy Mode - Notify if left on in the morning\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Home\n conditions:\n - alias: Exterior Privacy Mode enabled\n condition: state\n entity_id: input_boolean.exterior_privacy_mode\n state: 'on'\n actions:\n - alias: Notify Corban\n action: notify.corban\n data:\n title: Exterior Privacy Mode Enabled\n message: Privacy mode is still enabled.\n data:\n tag: privacy_mode\n actions:\n - action: PRIVACY_MODE_OFF\n title: Turn Off Privacy Mode\n activationMode: background\n authenticationRequired: false",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "exterior privacy mode input boolean",
"room": "exterior",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.exterior_privacy_mode",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "720b4f63-4fb6-46a2-9ce3-d519e13fb73b",
"automation": "- alias: Exterior Privacy Mode - Notification Action - Disable\n id: 720b4f63-4fb6-46a2-9ce3-d519e13fb73b\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: PRIVACY_MODE_OFF\n actions:\n - alias: Turn off Privacy Mode\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.exterior_privacy_mode",
"config": [
{
"name": "exterior privacy mode input boolean",
"room": "exterior",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.exterior_privacy_mode",
"device_id": null
}
}
]
},
{
"id": "01c0a256-d577-4934-b97f-208357c58cb8",
"automation": "- id: 01c0a256-d577-4934-b97f-208357c58cb8\n alias: Garage - All Lights Follow Switched Lights\n triggers:\n - trigger: state\n entity_id: light.garage_main_lights\n not_from:\n - unknown\n - unavailable\n actions:\n - alias: On or Off?\n choose:\n - conditions: '{{ trigger.to_state.state == \"on\" }}'\n sequence:\n - alias: Turn on lights\n action: light.turn_on\n target:\n entity_id: light.garage_lights\n data:\n color_temp_kelvin: 5000\n brightness_pct: 100\n transition: 0\n - conditions: '{{ trigger.to_state.state == \"off\" }}'\n sequence:\n - alias: Turn off lights\n action: light.turn_off\n target:\n entity_id: light.garage_lights",
"config": [
{
"name": "garage lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_lights",
"device_id": null
}
},
{
"name": "garage main lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_main_lights",
"device_id": null
}
}
]
},
{
"id": "6bfc0d18-4b00-4728-ba56-5c6eccb3bee2",
"automation": "- id: 6bfc0d18-4b00-4728-ba56-5c6eccb3bee2\n alias: Garage - New Motion Lights\n mode: restart\n max_exceeded: silent\n triggers:\n - trigger: state\n entity_id: binary_sensor.garage_assumed_motion\n from: 'off'\n to: 'on'\n conditions:\n - alias: Garage automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_garage\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.garage_main_lights\n data:\n color_temp_kelvin: 5000\n brightness_pct: 100\n transition: 0\n - wait_for_trigger:\n trigger: state\n entity_id: binary_sensor.garage_assumed_motion\n from: 'on'\n to: 'off'\n - delay:\n minutes: \"{% if states(\\\"device_tracker.bens_iphone_se_unifi\\\") == \\\"home\\\"\\\n \\ %}\\n 60\\n{% else %}\\n 10\\n{% endif %}\"\n - action: light.turn_off\n target:\n entity_id: light.garage_main_lights\n data:\n transition: 0",
"config": [
{
"name": "ben's iphone device tracker",
"room": "home",
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.bens_iphone_se_unifi",
"device_id": null
}
},
{
"name": "room exclude garage input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_garage",
"device_id": null
}
},
{
"name": "garage main lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_main_lights",
"device_id": null
}
},
{
"name": "garage assumed motion sensor",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_assumed_motion",
"device_id": null
}
}
]
},
{
"id": "6f80226a-15d7-4285-83c5-e643c16f1b7f",
"automation": "- id: 6f80226a-15d7-4285-83c5-e643c16f1b7f\n alias: Garage - Motion Lights\n mode: restart\n triggers:\n - trigger: state\n entity_id: binary_sensor.garage_assumed_motion\n from: 'off'\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id: binary_sensor.garage_assumed_motion\n to: 'off'\n for:\n minutes: 10\n id: 'off'\n conditions:\n - alias: Garage automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_garage\n state: 'off'\n actions:\n - alias: On or Off?\n choose:\n - conditions: '{{ trigger.id == \"on\" }}'\n sequence:\n - alias: Turn on lights\n action: light.turn_on\n target:\n entity_id: light.garage_main_lights\n data:\n color_temp_kelvin: 5000\n - conditions: '{{ trigger.id == \"off\" }}'\n sequence:\n - alias: Turn off lights\n action: light.turn_off\n target:\n entity_id: light.garage_main_lights",
"config": [
{
"name": "room exclude garage input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_garage",
"device_id": null
}
},
{
"name": "garage main lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_main_lights",
"device_id": null
}
},
{
"name": "garage assumed motion sensor",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_assumed_motion",
"device_id": null
}
}
]
},
{
"id": "170ab84a-5bab-4192-ba0e-21e72c395bb4",
"automation": "- id: 170ab84a-5bab-4192-ba0e-21e72c395bb4\n alias: Garage - Keep the garage door opener lights on when the main lights are on\n triggers:\n - trigger: state\n entity_id:\n - light.ratgdo_left_garage_door_light\n - light.ratgdo_right_garage_door_light\n from: 'on'\n to: 'off'\n conditions:\n - alias: Main lights on\n condition: state\n entity_id: light.garage_main_lights\n state: 'on'\n actions:\n - alias: Turn the lights back on\n action: light.turn_on\n target:\n entity_id: light.garage_lights\n data:\n color_temp_kelvin: 5000\n brightness_pct: 100\n transition: 0",
"config": [
{
"name": "garage lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_lights",
"device_id": null
}
},
{
"name": "garage main lights",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_main_lights",
"device_id": null
}
},
{
"name": "ratgdo left garage door light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.ratgdo_left_garage_door_light",
"device_id": null
}
},
{
"name": "ratgdo right garage door light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.ratgdo_right_garage_door_light",
"device_id": null
}
}
]
},
{
"id": "f8188dc5-e5f0-4821-ae9b-88bf14229932",
"automation": "- alias: Guest Mode - Enable and Disable Guest WiFi\n id: f8188dc5-e5f0-4821-ae9b-88bf14229932\n triggers:\n - trigger: state\n entity_id: input_boolean.guest_mode\n actions:\n - choose:\n - conditions: '{{ trigger.to_state.state == ''on'' }}'\n sequence:\n - action: switch.turn_on\n target:\n entity_id: switch.whatfi_guest\n - conditions: '{{ trigger.to_state.state == ''off'' }}'\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.whatfi_guest",
"config": [
{
"name": "guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "whatfi guest switch",
"room": "home",
"type": "switch",
"id": {
"entity_id": "switch.whatfi_guest",
"device_id": null
}
}
]
},
{
"id": "846ee07b-3953-48f7-9255-31b4a5d0cde7",
"automation": "- alias: Guest Mode - Add Guest Room Exclusion When Enabling\n id: 846ee07b-3953-48f7-9255-31b4a5d0cde7\n triggers:\n - trigger: state\n entity_id: input_boolean.guest_mode\n from: 'off'\n to: 'on'\n actions:\n - alias: Set guest room exclusions\n action: input_boolean.turn_on\n target:\n entity_id: input_boolean.room_exclude_guest_bedroom",
"config": [
{
"name": "guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "room exclude guest bedroom input boolean",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_guest_bedroom",
"device_id": null
}
},
{
"name": "room exclude guest bedroom input boolean 2",
"room": "guest_bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_guest_bedroom",
"device_id": null
}
}
]
},
{
"id": "1567def0-c8f1-4297-a2bd-628fb03db93e",
"automation": "- alias: Guest Mode - Disable Room Exclusions when Unset\n id: 1567def0-c8f1-4297-a2bd-628fb03db93e\n triggers:\n - trigger: state\n entity_id: input_boolean.guest_mode\n from: 'on'\n to: 'off'\n actions:\n - alias: Reset room exclusions\n action: script.reset_room_exclusions",
"config": [
{
"name": "guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
}
]
},
{
"id": "4c3b7cbe-c585-4f4f-987c-db16fd814cdd",
"automation": "- alias: Fairy Lights - Auto-Off\n id: 4c3b7cbe-c585-4f4f-987c-db16fd814cdd\n triggers:\n - trigger: state\n entity_id: light.fairy_lights\n to: 'on'\n for:\n hours: 5\n minutes: 0\n seconds: 0\n actions:\n - action: light.turn_off\n entity_id: light.fairy_lights\n data:\n transition: 5",
"config": [
{
"name": "fairy lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.fairy_lights",
"device_id": null
}
}
]
},
{
"id": "a0fb5a75-9d4f-4bf4-a6fb-81b6bf3f8682",
"automation": "- alias: Sleep Mode - Enabled - Turn Everything Off\n id: a0fb5a75-9d4f-4bf4-a6fb-81b6bf3f8682\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Sleep\n actions:\n - alias: Run bedtime check up\n action: script.bedtime_checkup",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
}
]
},
{
"id": "60dc7343-2499-4137-bfc9-7fa7bbc50540",
"automation": "- alias: Sleep Mode - Disable in Morning\n id: 60dc7343-2499-4137-bfc9-7fa7bbc50540\n triggers:\n - trigger: time\n at: 06:00:00\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Sleep\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Home",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
}
]
},
{
"id": "9abcaf04-6f2a-41dc-b392-9c29d4d2b2e8",
"automation": "- alias: Mark home occupied when the door opens\n id: 9abcaf04-6f2a-41dc-b392-9c29d4d2b2e8\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Away\n for:\n minutes: 1\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Home",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "front door binary sensor",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door",
"device_id": null
}
}
]
},
{
"id": "fb337c2f-3474-43db-9269-21c4658c8d27",
"automation": "- alias: Mark home occupied when someone is home for a few minutes\n id: fb337c2f-3474-43db-9269-21c4658c8d27\n triggers:\n - trigger: state\n entity_id: group.adults\n to: home\n for:\n minutes: 1\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Away\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Home",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "adults group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.adults",
"device_id": null
}
}
]
},
{
"id": "f024de99-f4dd-4d30-9aeb-cb3f0252a676",
"automation": "- alias: Automatically mark the home as unoccupied if no one is home\n id: f024de99-f4dd-4d30-9aeb-cb3f0252a676\n triggers:\n - trigger: state\n entity_id: group.adults\n to: not_home\n for:\n minutes: 3\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n actions:\n - if:\n - condition: or\n conditions:\n - alias: If guest mode is active\n condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n - condition: state\n entity_id: binary_sensor.corban_on_a_call\n state: 'on'\n then:\n - alias: Notify Corban to manually set away mode\n action: notify.corban\n data:\n title: Did everyone leave?\n message: Tracked people left, but guest mode is on. There are {{ states(\"sensor.whatfi_guest\")\n }} guest device(s) connected.\n data:\n tag: guest_mode_away_reminder\n actions:\n - action: MARK_HOME_AWAY\n title: Set Away Mode\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default\n - action: DISABLE_GUEST_AND_MARK_HOME_AWAY\n title: Disable Guest Mode (and set away)\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default\n else:\n - alias: Mark home as away\n action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Away",
"config": [
{
"name": "corban on a call sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.corban_on_a_call",
"device_id": null
}
},
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "adults group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.adults",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
},
{
"name": "whatfi guest sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.whatfi_guest",
"device_id": null
}
}
]
},
{
"id": "f8d01735-cf06-4e03-b5cd-0cf6a00cd121",
"automation": "- alias: Guest Mode Away Reminder - Notification Action\n id: f8d01735-cf06-4e03-b5cd-0cf6a00cd121\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: MARK_HOME_AWAY\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: DISABLE_GUEST_AND_MARK_HOME_AWAY\n id: disable_guest\n actions:\n - if:\n - condition: trigger\n id: disable_guest\n then:\n - alias: Disable guest mode\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.guest_mode\n - alias: Mark home as away\n action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Away",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "guest mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
}
]
},
{
"id": "e2855b3b-04a7-4e28-b4d9-97091b1975fd",
"automation": "- alias: Home Occupied - Wall Display on\n id: e2855b3b-04a7-4e28-b4d9-97091b1975fd\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Home\n actions:\n - action: light.turn_on\n data:\n entity_id: light.tablet_wall_display_screen",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "tablet wall display screen light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.tablet_wall_display_screen",
"device_id": null
}
}
]
},
{
"id": "f88f1445-2171-493a-be4c-d0b32e855871",
"automation": "- alias: Home Occupied from Away - Kitchen Light On\n id: f88f1445-2171-493a-be4c-d0b32e855871\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Home\n from:\n - Away\n - Vacation\n conditions:\n - alias: Kitchen automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_kitchen\n state: 'off'\n - alias: Sun below horizon\n condition: state\n entity_id: sun.sun\n state: below_horizon\n actions:\n - action: light.turn_on\n data:\n entity_id: light.kitchen_main_lights",
"config": [
{
"name": "kitchen main lights",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_main_lights",
"device_id": null
}
},
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude kitchen input boolean",
"room": "kitchen",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_kitchen",
"device_id": null
}
},
{
"name": "Sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "230957ce-f646-4c5d-8819-9b6b069d3628",
"automation": "- alias: Home Unoccupied - Turn everything off\n id: 230957ce-f646-4c5d-8819-9b6b069d3628\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to:\n - Away\n - Vacation\n actions:\n - alias: Turn truly everything off\n action: script.everything_off\n data:\n ignore_room_exclusions: true\n include_fans: true\n - alias: Lock side door\n action: lock.lock\n target:\n entity_id: lock.side_door",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "side door lock",
"room": "entry",
"type": "lock",
"id": {
"entity_id": "lock.side_door",
"device_id": null
}
}
]
},
{
"id": "2d03492c-8f7c-40da-8b54-0d6fa94d3093",
"automation": "- alias: Turn and keep a light on for the cats when leaving after sunset\n id: 2d03492c-8f7c-40da-8b54-0d6fa94d3093\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Away\n - trigger: sun\n event: sunset\n conditions:\n - alias: Living room automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n - alias: Away mode\n condition: state\n entity_id: input_select.home_mode\n state: Away\n - alias: Sun below horizon\n condition: state\n entity_id: sun.sun\n state: below_horizon\n - alias: Cats are home\n condition: state\n entity_id: input_boolean.cats_are_home\n state: 'on'\n actions:\n - alias: Delay to allow leaving automation to run\n delay:\n seconds: 15\n - alias: Turn on a light\n action: light.turn_on\n target:\n entity_id: light.christmas_tree_lights",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "cats are home input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.cats_are_home",
"device_id": null
}
},
{
"name": "christmas tree lights",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.christmas_tree_lights",
"device_id": null
}
},
{
"name": "Sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
}
]
},
{
"id": "f36d39b0-74ac-46a1-b2a0-e9b54ab17ecc",
"automation": "- alias: HVAC - Notify if the internal temperature drops below 55\n id: f36d39b0-74ac-46a1-b2a0-e9b54ab17ecc\n triggers:\n - trigger: template\n value_template: \"{{\\n [\\n states(\\\"sensor.bedroom_temperature\\\") | int(100),\\n\\\n \\ states(\\\"sensor.living_room_temperature\\\") | int(100),\\n states(\\\"sensor.office_temperature\\\"\\\n ) | int(100),\\n ] | min < 55\\n}}\"\n actions:\n - alias: Notify\n action: notify.adult_phones\n data:\n title: House is Too Cold\n message: The internal temperature at home has dropped below 55°. Is the heat\n working?",
"config": [
{
"name": "adult phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_phones",
"device_id": null
}
},
{
"name": "bedroom temperature sensor",
"room": "bedroom",
"type": "sensor",
"id": {
"entity_id": "sensor.bedroom_temperature",
"device_id": null
}
},
{
"name": "living room temperature sensor",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_temperature",
"device_id": null
}
},
{
"name": "office temperature sensor",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.office_temperature",
"device_id": null
}
}
]
},
{
"id": "42810f98-39f3-4f23-b3f5-c00810e9430f",
"automation": "- alias: HVAC - Notify when the heat strips activate\n id: 42810f98-39f3-4f23-b3f5-c00810e9430f\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.home_energy_monitor_power_fl1_heat_strips\n - sensor.home_energy_monitor_power_fl2_heat_strips\n above: 10\n for:\n minutes: 1\n actions:\n - alias: Notify\n action: notify.corban\n data:\n title: Heat Strips Active\n message: One or more of the heat strips are active.",
"config": [
{
"name": "home energy monitor power fl1 heat strips sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.home_energy_monitor_power_fl1_heat_strips",
"device_id": null
}
},
{
"name": "home energy monitor power fl2 heat strips sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.home_energy_monitor_power_fl2_heat_strips",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "3d45c62b-c99a-43cb-a1b7-7e5ab2974a1b",
"automation": "- id: 3d45c62b-c99a-43cb-a1b7-7e5ab2974a1b\n alias: Dryer Reminder - Notify when dryer finishes\n triggers:\n - trigger: state\n entity_id: binary_sensor.dryer_running\n from: 'on'\n to: 'off'\n actions:\n - alias: Turn on notify switch\n action: input_boolean.turn_on\n target:\n entity_id: input_boolean.dryer_reminder_notifying",
"config": [
{
"name": "dryer running sensor",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.dryer_running",
"device_id": null
}
},
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "b7826c90-2dc8-40fb-9abb-a21e5678a23d",
"automation": "- id: b7826c90-2dc8-40fb-9abb-a21e5678a23d\n alias: Dryer Reminder - Send notifications based on boolean\n triggers:\n - trigger: state\n entity_id: input_boolean.dryer_reminder_notifying\n from: 'off'\n to: 'on'\n actions:\n - if:\n - alias: Is Corban home?\n condition: state\n entity_id: person.corban\n state: home\n then:\n - alias: Notify Corban\n action: script.dryer_reminder_send_notification_to_variable\n data:\n notify_device: corban\n dismiss_notification: false\n - if:\n - alias: Is Maggie home?\n condition: state\n entity_id: person.maggie\n state: home\n then:\n - alias: Notify Maggie\n action: script.dryer_reminder_send_notification_to_variable\n data:\n notify_device: maggie\n dismiss_notification: false",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
}
]
},
{
"id": "081bf63f-8413-4dea-be82-d537dd2e1a20",
"automation": "- id: 081bf63f-8413-4dea-be82-d537dd2e1a20\n alias: Dryer Reminder - Dismiss notifications based on boolean\n triggers:\n - trigger: state\n entity_id: input_boolean.dryer_reminder_notifying\n from: 'on'\n to: 'off'\n actions:\n - alias: Clear notifications\n action: script.dryer_reminder_send_notification_to_variable\n data:\n notify_device: adult_phones\n dismiss_notification: true",
"config": [
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "3b991b80-fc3f-4d67-9900-5cf5f6510c96",
"automation": "- id: 3b991b80-fc3f-4d67-9900-5cf5f6510c96\n alias: Dryer Reminder - Acknowledge alert when motion is detected in the basement\n triggers:\n - trigger: state\n entity_id: binary_sensor.laundry_motion_sensor_occupancy\n from: 'off'\n to: 'on'\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.dryer_reminder_notifying\n state: 'on'\n actions:\n - alias: Turn off boolean\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.dryer_reminder_notifying",
"config": [
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
},
{
"name": "laundry motion sensor occupancy sensor",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.laundry_motion_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "551dc831-c06e-4af2-843f-6654fb049661",
"automation": "- id: 551dc831-c06e-4af2-843f-6654fb049661\n alias: Dryer Reminder - Acknowledge alert from notification\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: DRYER_REMINDER_ACK\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.dryer_reminder_notifying\n state: 'on'\n actions:\n - alias: Turn off boolean\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.dryer_reminder_notifying",
"config": [
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "b8d28099-0cb5-4290-82ef-90dbeb9717a9",
"automation": "- id: b8d28099-0cb5-4290-82ef-90dbeb9717a9\n alias: Dryer Reminder - Send delayed notification if someone gets home\n mode: parallel\n triggers:\n - trigger: state\n entity_id: person.corban\n to: home\n id: corban\n - trigger: state\n entity_id: person.maggie\n to: home\n id: maggie\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.dryer_reminder_notifying\n state: 'on'\n actions:\n - alias: Notify the right person\n action: script.dryer_reminder_send_notification_to_variable\n data:\n notify_device: '{{ trigger.id }}'\n dismiss_notification: false",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
}
]
},
{
"id": "3f6458fd-c731-47ff-a825-fec4f7591fd1",
"automation": "- id: 3f6458fd-c731-47ff-a825-fec4f7591fd1\n alias: Dryer Reminder - Dismiss notification if someone leaves home\n mode: parallel\n triggers:\n - trigger: state\n entity_id: person.corban\n from: home\n id: corban\n - trigger: state\n entity_id: person.maggie\n from: home\n id: maggie\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.dryer_reminder_notifying\n state: 'on'\n actions:\n - alias: Notify the right person\n action: script.dryer_reminder_send_notification_to_variable\n data:\n notify_device: '{{ trigger.id }}'\n dismiss_notification: true",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "dryer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.dryer_reminder_notifying",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
}
]
},
{
"id": "e3edfa1f-a705-4394-bedb-945151332a3c",
"automation": "- id: e3edfa1f-a705-4394-bedb-945151332a3c\n alias: Washer Reminder - Notify when washing machine finishes\n triggers:\n - trigger: state\n entity_id: binary_sensor.washing_machine_running\n from: 'on'\n to: 'off'\n actions:\n - alias: Turn on notify switch\n action: input_boolean.turn_on\n target:\n entity_id: input_boolean.washer_reminder_notifying",
"config": [
{
"name": "washing machine running sensor",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.washing_machine_running",
"device_id": null
}
},
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "1ede28c4-0132-418b-b526-373b02b53798",
"automation": "- id: 1ede28c4-0132-418b-b526-373b02b53798\n alias: Washer Reminder - Send notifications based on boolean\n triggers:\n - trigger: state\n entity_id: input_boolean.washer_reminder_notifying\n from: 'off'\n to: 'on'\n actions:\n - if:\n - alias: Is Corban home?\n condition: state\n entity_id: person.corban\n state: home\n then:\n - alias: Notify Corban\n action: script.washer_reminder_send_notification_to_variable\n data:\n notify_device: corban\n dismiss_notification: false\n - if:\n - alias: Is Maggie home?\n condition: state\n entity_id: person.maggie\n state: home\n then:\n - alias: Notify Maggie\n action: script.washer_reminder_send_notification_to_variable\n data:\n notify_device: maggie\n dismiss_notification: false",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "93b3840e-76d3-4cbe-a1ed-179aac220154",
"automation": "- id: 93b3840e-76d3-4cbe-a1ed-179aac220154\n alias: Washer Reminder - Dismiss notifications based on boolean\n triggers:\n - trigger: state\n entity_id: input_boolean.washer_reminder_notifying\n from: 'on'\n to: 'off'\n actions:\n - alias: Clear notifications\n action: script.washer_reminder_send_notification_to_variable\n data:\n notify_device: adult_phones\n dismiss_notification: true",
"config": [
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "beba8d5b-7898-4d1e-b796-e63b19c2bdba",
"automation": "- id: beba8d5b-7898-4d1e-b796-e63b19c2bdba\n alias: Washer Reminder - Acknowledge alert when motion is detected in the basement\n triggers:\n - trigger: state\n entity_id: binary_sensor.laundry_motion_sensor_occupancy\n from: 'off'\n to: 'on'\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.washer_reminder_notifying\n state: 'on'\n actions:\n - alias: Turn off boolean\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.washer_reminder_notifying",
"config": [
{
"name": "laundry motion sensor occupancy sensor",
"room": "laundry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.laundry_motion_sensor_occupancy",
"device_id": null
}
},
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "19098e11-621e-4f4c-a0f4-aee3c5d8e8cf",
"automation": "- id: 19098e11-621e-4f4c-a0f4-aee3c5d8e8cf\n alias: Washer Reminder - Acknowledge alert from notification\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: WASHER_REMINDER_ACK\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.washer_reminder_notifying\n state: 'on'\n actions:\n - alias: Turn off boolean\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.washer_reminder_notifying",
"config": [
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "7201114f-3317-4c7b-8488-8930f2722faf",
"automation": "- id: 7201114f-3317-4c7b-8488-8930f2722faf\n alias: Washer Reminder - Send delayed notification if someone gets home\n mode: parallel\n triggers:\n - trigger: state\n entity_id: person.corban\n to: home\n id: corban\n - trigger: state\n entity_id: person.maggie\n to: home\n id: maggie\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.washer_reminder_notifying\n state: 'on'\n actions:\n - alias: Notify the right person\n action: script.washer_reminder_send_notification_to_variable\n data:\n notify_device: '{{ trigger.id }}'\n dismiss_notification: false",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "9d4ec00e-140f-458e-a2ab-84ec7e45069b",
"automation": "- id: 9d4ec00e-140f-458e-a2ab-84ec7e45069b\n alias: Washer Reminder - Dismiss notification if someone leaves home\n mode: parallel\n triggers:\n - trigger: state\n entity_id: person.corban\n from: home\n id: corban\n - trigger: state\n entity_id: person.maggie\n from: home\n id: maggie\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.washer_reminder_notifying\n state: 'on'\n actions:\n - alias: Notify the right person\n action: script.washer_reminder_send_notification_to_variable\n data:\n notify_device: '{{ trigger.id }}'\n dismiss_notification: true",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "washer reminder notifying input boolean",
"room": "laundry",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washer_reminder_notifying",
"device_id": null
}
}
]
},
{
"id": "34a158cc-aa49-4aeb-9426-705f3a98bd85",
"automation": "- id: 34a158cc-aa49-4aeb-9426-705f3a98bd85\n alias: Upstairs Light Switch - Config Single Press - Toggle Under Bed Lighting\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n type: action\n subtype: config_single\n actions:\n - action: light.toggle\n data:\n brightness_pct: 100\n rgb_color:\n - 255\n - 78\n - 30\n target:\n entity_id: light.bed_lighting_rgb_light",
"config": [
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
},
{
"name": "bed lighting rgb light",
"room": "master_bedroom",
"type": "light",
"id": {
"entity_id": "light.bed_lighting_rgb_light",
"device_id": null
}
}
]
},
{
"id": "f65fe143-e99c-4bb8-b131-295e121d2240",
"automation": "- id: f65fe143-e99c-4bb8-b131-295e121d2240\n alias: Upstairs Light Switch - Config Double Press - Toggle Fairy Lights\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n type: action\n subtype: config_double\n actions:\n - action: light.toggle\n target:\n entity_id: light.fairy_lights\n data:\n brightness_pct: 100",
"config": [
{
"name": "fairy lights",
"room": "guest_bedroom",
"type": "light",
"id": {
"entity_id": "light.fairy_lights",
"device_id": null
}
},
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
}
]
},
{
"id": "a8f98277-f3cf-4a9d-a2a2-9cdfbd2196ff",
"automation": "- id: a8f98277-f3cf-4a9d-a2a2-9cdfbd2196ff\n alias: Litter Box Status - Set Input Select\n mode: restart\n triggers:\n - trigger: state\n entity_id: vacuum.litter_robot_4_litter_box\n - trigger: state\n entity_id: sensor.litter_robot_4_litter_level\n - trigger: state\n entity_id: sensor.litter_robot_4_waste_drawer\n - trigger: state\n entity_id: sensor.litter_robot_4_status_code\n actions:\n - choose:\n - conditions:\n - alias: Litter Drawer Full\n condition: numeric_state\n entity_id: sensor.litter_robot_4_waste_drawer\n above: 89\n - alias: Litter Drawer Full - Status Code\n condition: state\n entity_id: sensor.litter_robot_4_status_code\n state: dfs\n sequence:\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: 'Off'\n - delay:\n seconds: 1\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: Litter Drawer Full\n - conditions:\n - alias: Litter Drawer Almost Full\n condition: numeric_state\n entity_id: sensor.litter_robot_4_waste_drawer\n above: 80\n - alias: Litter Drawer Almost Full - Status Code 2\n condition: state\n entity_id: sensor.litter_robot_4_status_code\n state: df2\n - alias: Litter Drawer Almost Full - Status Code 1\n condition: state\n entity_id: sensor.litter_robot_4_status_code\n state: df1\n sequence:\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: 'Off'\n - delay:\n seconds: 1\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: Litter Drawer Almost Full\n - conditions:\n - alias: Litter Level Low\n condition: numeric_state\n entity_id: sensor.litter_robot_4_litter_level\n below: 40\n sequence:\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: 'Off'\n - delay:\n seconds: 1\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: Litter Level Low\n default:\n - action: input_select.select_option\n target:\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n data:\n option: 'Off'",
"config": [
{
"name": "litter robot 4 litter level sensor",
"room": "upstairs_hall",
"type": "sensor",
"id": {
"entity_id": "sensor.litter_robot_4_litter_level",
"device_id": null
}
},
{
"name": "upstairs hall light switch led mode input select",
"room": "upstairs_hall",
"type": "input_select",
"id": {
"entity_id": "input_select.upstairs_hall_light_switch_led_mode",
"device_id": null
}
},
{
"name": "litter robot 4 waste drawer sensor",
"room": "upstairs_hall",
"type": "sensor",
"id": {
"entity_id": "sensor.litter_robot_4_waste_drawer",
"device_id": null
}
},
{
"name": "litter robot 4 status code sensor",
"room": "upstairs_hall",
"type": "sensor",
"id": {
"entity_id": "sensor.litter_robot_4_status_code",
"device_id": null
}
},
{
"name": "litter robot 4 litter box vacuum",
"room": "upstairs_hall",
"type": "vacuum",
"id": {
"entity_id": "vacuum.litter_robot_4_litter_box",
"device_id": null
}
}
]
},
{
"id": "8efcc481-cdef-4943-b443-93860546c935",
"automation": "- id: 8efcc481-cdef-4943-b443-93860546c935\n alias: Upstairs Hall Light Switch - Set LEDs Based on Input Select\n mode: queued\n triggers:\n - trigger: state\n entity_id: input_select.upstairs_hall_light_switch_led_mode\n actions:\n - choose:\n - conditions: '{{ trigger.to_state.state == \"Off\" }}'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 1\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 2\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 3\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 4\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 5\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 6\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 7\n color: Cyan\n level: 43\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - conditions: '{{ trigger.to_state.state == \"Litter Level Low\" }}'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 1\n color: Cyan\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 2\n color: Cyan\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - conditions: '{{ trigger.to_state.state == \"Litter Drawer Almost Full\" }}'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 1\n color: Orange\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 2\n color: Orange\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 3\n color: Orange\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 4\n color: Orange\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: Led 5\n color: Orange\n level: 30\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - conditions: '{{ trigger.to_state.state == \"Litter Drawer Full\" }}'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Red\n level: 40\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 6239543fc9a684fbba5d4af77ccdf052\n - conditions: '{{ trigger.to_state.state == \"Litter Box Cycling\" }}'\n sequence:\n - action: script.inovelli_led_control\n data:\n target:\n device_id:\n - 6239543fc9a684fbba5d4af77ccdf052\n led: All\n color: White\n level: 15\n duration: Indefinitely\n effect: Fast Rising",
"config": [
{
"name": "upstairs hall light switch device",
"room": "upstairs_hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "6239543fc9a684fbba5d4af77ccdf052"
}
},
{
"name": "upstairs hall light switch led mode input select",
"room": "upstairs_hall",
"type": "input_select",
"id": {
"entity_id": "input_select.upstairs_hall_light_switch_led_mode",
"device_id": null
}
}
]
},
{
"id": "ca39ee01-15c7-48b0-a34c-2500d2f91a64",
"automation": "- alias: Open living room curtains in the morning\n id: ca39ee01-15c7-48b0-a34c-2500d2f91a64\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n from: Sleep\n to: Home\n conditions:\n - alias: Living room automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n actions:\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_left\n - cover.living_room_curtain_right\n position: 100\n speed: 2",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "living room curtain left cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_left",
"device_id": null
}
},
{
"name": "living room curtain right cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_right",
"device_id": null
}
}
]
},
{
"id": "7b1fcd09-ff2a-4257-a733-06e7840ee49c",
"automation": "- alias: Close living room curtains around sunset\n id: 7b1fcd09-ff2a-4257-a733-06e7840ee49c\n mode: restart\n triggers:\n - trigger: sun\n event: sunset\n conditions:\n - alias: Living room automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n - not:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n actions:\n - if:\n - condition: state\n entity_id: binary_sensor.living_room_window_1_contact\n state: 'off'\n then:\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_left\n - cover.living_room_curtain_right\n position: 0\n speed: 2\n else:\n - action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_left\n position: 0\n speed: 2",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "living room window 1 contact sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_window_1_contact",
"device_id": null
}
},
{
"name": "living room curtain left cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_left",
"device_id": null
}
},
{
"name": "living room curtain right cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_right",
"device_id": null
}
}
]
},
{
"id": "3600672a-34d4-40ef-9154-4d95b8798151",
"automation": "- alias: Living Room Curtains - Match Window State\n id: 3600672a-34d4-40ef-9154-4d95b8798151\n mode: restart\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.living_room_window_1_contact\n from: 'on'\n to: 'off'\n id: closed\n for:\n hours: 0\n minutes: 0\n seconds: 2\n - trigger: state\n entity_id:\n - binary_sensor.living_room_window_1_contact\n from: 'off'\n to: 'on'\n id: open\n for:\n hours: 0\n minutes: 0\n seconds: 5\n conditions:\n - alias: Living room automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n - condition: state\n entity_id: cover.living_room_curtain_left\n state: closed\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - open\n - condition: state\n entity_id: cover.living_room_curtain_right\n state: closed\n sequence:\n - alias: Open the Right Curtain\n action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_right\n position: 100\n speed: 2\n - conditions:\n - condition: trigger\n id:\n - closed\n - condition: state\n entity_id: cover.living_room_curtain_right\n state: open\n sequence:\n - alias: Close the Right Curtain\n action: v6_quietdrift.set_switchbot_curtain_position\n data:\n entity_id:\n - cover.living_room_curtain_right\n position: 0\n speed: 2",
"config": [
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "living room window 1 contact sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_window_1_contact",
"device_id": null
}
},
{
"name": "living room curtain left cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_left",
"device_id": null
}
},
{
"name": "living room curtain right cover",
"room": "living_room",
"type": "cover",
"id": {
"entity_id": "cover.living_room_curtain_right",
"device_id": null
}
}
]
},
{
"id": "42109bf8-895c-4fca-88f4-2e2d17975d27",
"automation": "- alias: Living Room Motion Lights\n id: 42109bf8-895c-4fca-88f4-2e2d17975d27\n mode: restart\n triggers:\n - trigger: state\n entity_id: binary_sensor.living_room_assumed_presence\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.living_room_assumed_presence\n to: 'off'\n for:\n minutes: 5\n conditions:\n - alias: Home Mode\n condition: state\n entity_id: input_select.home_mode\n state: Home\n - alias: Living room is not marked as excluded\n condition: state\n entity_id: input_boolean.room_exclude_livingroom\n state: 'off'\n actions:\n - choose:\n - conditions: '{{ trigger.to_state.state == ''on'' }}'\n sequence:\n - action: light.turn_on\n target:\n entity_id: light.corner_lamp\n - conditions: '{{ trigger.to_state.state == ''off'' }}'\n sequence:\n - if:\n - alias: Training Mode On\n condition: state\n entity_id: input_boolean.training_mode\n state: 'on'\n then:\n - alias: Wait until Training Mode is off\n wait_for_trigger:\n - trigger: state\n entity_id: input_boolean.training_mode\n to: 'off'\n - action: light.turn_off\n target:\n entity_id: light.corner_lamp",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "room exclude livingroom input boolean",
"room": "living_room",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_livingroom",
"device_id": null
}
},
{
"name": "corner lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.corner_lamp",
"device_id": null
}
},
{
"name": "living room assumed presence sensor",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_assumed_presence",
"device_id": null
}
},
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
}
]
},
{
"id": "Turn On Living Room LG TV with WakeOnLan",
"automation": "- alias: Turn On Living Room LG TV with WakeOnLan\n triggers:\n - trigger: webostv.turn_on\n entity_id: media_player.living_room_lg_tv\n actions:\n - action: media_player.turn_on\n target:\n entity_id: media_player.living_room_apple_tv",
"config": [
{
"name": "living room apple tv media player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_apple_tv",
"device_id": null
}
},
{
"name": "living room lg tv media player",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_lg_tv",
"device_id": null
}
}
]
},
{
"id": "2cb23cab-a4a4-4e67-8af0-7bbe9ef1709d",
"automation": "- id: 2cb23cab-a4a4-4e67-8af0-7bbe9ef1709d\n alias: Mail Reminder - Notify Maggie if there's mail\n triggers:\n - trigger: state\n entity_id: person.maggie\n from: L3Harris\n to: not_home\n conditions:\n - alias: After 2 pm, to avoid alerting over lunch.\n condition: time\n after: '14:00:00'\n - condition: or\n conditions:\n - alias: There is mail\n condition: numeric_state\n entity_id: sensor.mail_usps_mail\n above: 0\n - alias: There are packages\n condition: numeric_state\n entity_id: sensor.mail_usps_delivered\n above: 0\n actions:\n - alias: Notify Maggie\n action: notify.maggie\n data:\n title: Check the Mail\n message: \"Expecting {{states(\\\"sensor.mail_usps_mail\\\")|int(0)}} {{ \\\"\\\" }}\\\n \\ {%- if states(\\\"sensor.mail_usps_mail\\\")|int(0) == 1 -%}\\n piece of mail\\n\\\n {%- else -%}\\n pieces of mail\\n{%- endif -%} {%- if states(\\\"sensor.mail_usps_delivered\\\"\\\n )|int(0) > 0 -%} {{ \\\"\\\" }} and {{states(\\\"sensor.mail_usps_delivered\\\")|int(0)}}\\\n \\ {{ \\\"\\\" }} {%- if states(\\\"sensor.mail_usps_mail\\\")|int(0) == 1 -%}\\n USPS\\\n \\ package\\n{%- else -%}\\n USPS packages\\n{%- endif -%} {%- endif -%} .\"",
"config": [
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "mail usps mail sensor",
"room": "mailbox",
"type": "sensor",
"id": {
"entity_id": "sensor.mail_usps_mail",
"device_id": null
}
},
{
"name": "mail usps delivered sensor",
"room": "mailbox",
"type": "sensor",
"id": {
"entity_id": "sensor.mail_usps_delivered",
"device_id": null
}
},
{
"name": "notify maggie target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.maggie",
"device_id": null
}
}
]
},
{
"id": "8ccee857-49d3-4652-b5e2-8501aa847da3",
"automation": "- id: 8ccee857-49d3-4652-b5e2-8501aa847da3\n alias: Mower - Update Last Lawn Mowed Name\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - input_datetime.mower_last_mow_back_yard_main\n - input_datetime.mower_last_mow_garage_side\n - input_datetime.mower_last_mow_front_yard\n - input_datetime.mower_last_mow_mailbox\n actions:\n - variables:\n lawns:\n input_datetime.mower_last_mow_back_yard_main: Back Yard Main\n input_datetime.mower_last_mow_garage_side: Garage Side\n input_datetime.mower_last_mow_front_yard: Front Yard\n input_datetime.mower_last_mow_mailbox: Mailbox\n - variables:\n last_mow: \"{% set last = namespace(entity='', timestamp=0) %} {% for entity_id,\\\n \\ name in lawns.items() %}\\n {% set ts = state_attr(entity_id, 'timestamp')\\\n \\ %}\\n {% if ts is number and ts > last.timestamp %}\\n {% set last.entity\\\n \\ = name %}\\n {% set last.timestamp = ts %}\\n {% endif %}\\n{% endfor%}\\\n \\ {{ last.entity }}\"\n - action: input_text.set_value\n target:\n entity_id: input_text.mower_last_area_mowed\n data:\n value: '{{ last_mow }}'",
"config": [
{
"name": "mower last mow back yard main input datetime",
"room": "yard",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.mower_last_mow_back_yard_main",
"device_id": null
}
},
{
"name": "mower last mow garage side input datetime",
"room": "yard",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.mower_last_mow_garage_side",
"device_id": null
}
},
{
"name": "mower last mow front yard input datetime",
"room": "yard",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.mower_last_mow_front_yard",
"device_id": null
}
},
{
"name": "mower last mow mailbox input datetime",
"room": "yard",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.mower_last_mow_mailbox",
"device_id": null
}
},
{
"name": "mower last area mowed input text",
"room": "yard",
"type": "input_text",
"id": {
"entity_id": "input_text.mower_last_area_mowed",
"device_id": null
}
}
]
},
{
"id": "f3a700e3-6a72-405e-b0c3-9297c2e59863",
"automation": "- alias: Slow down downloading when someone arrives home\n id: f3a700e3-6a72-405e-b0c3-9297c2e59863\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n from:\n - Away\n - Vacation\n to: Home\n conditions:\n - condition: state\n entity_id: input_boolean.download_mode_change_lock\n state: 'off'\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.download_speed\n option: Slow Speed",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "download mode change lock input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.download_mode_change_lock",
"device_id": null
}
},
{
"name": "download speed input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.download_speed",
"device_id": null
}
}
]
},
{
"id": "9a369e71-6b1a-4ea3-ac23-3dfac244a9dc",
"automation": "- alias: Run downloads at full speed when no one is home\n id: 9a369e71-6b1a-4ea3-ac23-3dfac244a9dc\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to:\n - Away\n - Vacation\n conditions:\n - condition: state\n entity_id: input_boolean.download_mode_change_lock\n state: 'off'\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.download_speed\n option: Full Speed",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "download mode change lock input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.download_mode_change_lock",
"device_id": null
}
},
{
"name": "download speed input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.download_speed",
"device_id": null
}
}
]
},
{
"id": "0ba2ae8b-097e-48b0-aa3c-051e4a1c3ae2",
"automation": "- alias: Run downloads at full speed when in sleep mode\n id: 0ba2ae8b-097e-48b0-aa3c-051e4a1c3ae2\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n to: Sleep\n conditions:\n - condition: state\n entity_id: input_boolean.download_mode_change_lock\n state: 'off'\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.download_speed\n option: Full Speed",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "download mode change lock input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.download_mode_change_lock",
"device_id": null
}
},
{
"name": "download speed input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.download_speed",
"device_id": null
}
}
]
},
{
"id": "1e79b053-788e-4d87-9a06-e90453d2ed38",
"automation": "- alias: Run downloads at slow speed in the morning if someone is home\n id: 1e79b053-788e-4d87-9a06-e90453d2ed38\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n from: Sleep\n to: Home\n conditions:\n - condition: state\n entity_id: input_boolean.download_mode_change_lock\n state: 'off'\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.download_speed\n option: Slow Speed",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "download mode change lock input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.download_mode_change_lock",
"device_id": null
}
},
{
"name": "download speed input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.download_speed",
"device_id": null
}
}
]
},
{
"id": "59856c82-9e5a-492a-af7d-8cddca438fb3",
"automation": "- alias: Run downloads at medium speed after business hours\n id: 59856c82-9e5a-492a-af7d-8cddca438fb3\n triggers:\n - trigger: time\n at: '18:00:00'\n conditions:\n - condition: state\n entity_id: input_boolean.download_mode_change_lock\n state: 'off'\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.download_speed\n option: Medium Speed",
"config": [
{
"name": "download mode change lock input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.download_mode_change_lock",
"device_id": null
}
},
{
"name": "download speed input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.download_speed",
"device_id": null
}
}
]
},
{
"id": "9a27930f-dd38-4a66-a7f1-85f7c600a89c",
"automation": "- alias: Set download speed based on input_select\n id: 9a27930f-dd38-4a66-a7f1-85f7c600a89c\n triggers:\n - trigger: state\n entity_id: input_select.download_speed\n actions:\n - choose:\n - conditions: '{{ trigger.to_state.state == \"Full Speed\" }}\n\n '\n sequence:\n - action: nzbget.resume\n - action: nzbget.set_speed\n data:\n speed: 0\n - conditions: '{{ trigger.to_state.state == \"Medium Speed\" }}\n\n '\n sequence:\n - action: nzbget.resume\n - action: nzbget.set_speed\n data:\n speed: 7000\n - conditions: '{{ trigger.to_state.state == \"Slow Speed\" }}\n\n '\n sequence:\n - action: nzbget.resume\n - action: nzbget.set_speed\n data:\n speed: 1000\n - conditions: '{{ trigger.to_state.state == \"Paused\" }}\n\n '\n sequence:\n - action: nzbget.pause",
"config": [
{
"name": "download speed input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.download_speed",
"device_id": null
}
}
]
},
{
"id": "249c1373-c037-4b3c-80b8-8460daa3c79f",
"automation": "- alias: UPS Power Outage Notification\n id: 249c1373-c037-4b3c-80b8-8460daa3c79f\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.ups_power_normal\n from: 'on'\n to: 'off'\n variables:\n outage_start_time: '{{ now().timestamp() }}'\n actions:\n - alias: Mark that an outage has started\n action: input_boolean.turn_on\n target:\n entity_id: input_boolean.power_outage\n - action: input_datetime.set_datetime\n alias: Store the start time\n target:\n entity_id: input_datetime.power_outage_start_time\n data:\n timestamp: '{{ outage_start_time }}'\n - action: notify.corban\n data:\n title: Power Outage at Home\n message: The power went out at {{ outage_start_time | float | timestamp_custom(\"%-I:%M\n %p\") }}.\n data:\n tag: power_outage\n actions:\n - action: POWER_OUTAGE_SHUTDOWN_NAS\n title: Shutdown NAS\n activationMode: background\n authenticationRequired: true\n destructive: true\n behavior: default",
"config": [
{
"name": "ups power normal sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.ups_power_normal",
"device_id": null
}
},
{
"name": "power outage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.power_outage",
"device_id": null
}
},
{
"name": "power outage start time input datetime",
"room": "home",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.power_outage_start_time",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "4f983a53-9c85-4f66-8a7a-9239c00d37c4",
"automation": "- alias: UPS Power Outage Notification Action - Shutdown NAS\n id: 4f983a53-9c85-4f66-8a7a-9239c00d37c4\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: POWER_OUTAGE_SHUTDOWN_NAS\n actions:\n - action: button.press\n target:\n entity_id: button.tubby_shutdown",
"config": [
{
"name": "tubby shutdown button",
"room": "home",
"type": "button",
"id": {
"entity_id": "button.tubby_shutdown",
"device_id": null
}
}
]
},
{
"id": "b0c8df7d-160e-4ae8-b2a2-6372a9736aec",
"automation": "- alias: UPS Power Outage - Back On Notification\n id: b0c8df7d-160e-4ae8-b2a2-6372a9736aec\n mode: single\n triggers:\n - trigger: state\n entity_id: binary_sensor.ups_power_normal\n from: 'off'\n to: 'on'\n variables:\n outage_stop_time: '{{ now().timestamp() }}'\n outage_start_time: '{{ states(\"input_datetime.power_outage_start_time\") | as_timestamp\n }}'\n - trigger: homeassistant\n event: start\n conditions:\n - condition: state\n entity_id: input_boolean.power_outage\n state: 'on'\n actions:\n - alias: Mark that the outage has ended\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.power_outage\n - action: notify.corban\n data:\n title: Power Outage at Home - Recovered\n message: 'The power went out at {{ outage_start_time | float | timestamp_custom(\"%-I:%M\n %p\") }} and returned at {{ outage_stop_time | float | timestamp_custom(\"%-I:%M\n %p\") }}. (Outage time: {{ timedelta(seconds=((outage_stop_time | int) - (outage_start_time\n | int))) }})'\n data:\n tag: power_outage",
"config": [
{
"name": "ups power normal sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.ups_power_normal",
"device_id": null
}
},
{
"name": "power outage input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.power_outage",
"device_id": null
}
},
{
"name": "power outage start time input datetime",
"room": "home",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.power_outage_start_time",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "b687c68a-7ea3-41ed-bc6b-d5350415770f",
"automation": "- alias: Office Key Light - Reconnect when Unavailable\n id: b687c68a-7ea3-41ed-bc6b-d5350415770f\n triggers:\n - trigger: state\n entity_id: light.key_light_air_1\n to: unavailable\n for:\n minutes: 1\n actions:\n - alias: Reconnect the Key Light\n action: unifi.reconnect_client\n data:\n device_id: 91d1b0c08edf642406c61ae9e191942a",
"config": [
{
"name": "key light air 1 light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.key_light_air_1",
"device_id": "91d1b0c08edf642406c61ae9e191942a"
}
}
]
},
{
"id": "a7273b48-a15c-4fd1-8402-312a8980ec42",
"automation": "- alias: Office Motion Light - Override with triple tap\n id: a7273b48-a15c-4fd1-8402-312a8980ec42\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 0d88963feb93fc454e4d3c4115034675\n type: action\n subtype: up_triple\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 0d88963feb93fc454e4d3c4115034675\n type: action\n subtype: down_triple\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 0d88963feb93fc454e4d3c4115034675\n type: action\n subtype: config_single\n id: toggle\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - toggle\n sequence:\n - action: input_boolean.toggle\n target:\n entity_id: input_boolean.office_motion_lights_override\n - conditions:\n - condition: trigger\n id:\n - disable\n sequence:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.office_motion_lights_override",
"config": [
{
"name": "office switch device",
"room": "office",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "0d88963feb93fc454e4d3c4115034675"
}
},
{
"name": "office motion lights override input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_motion_lights_override",
"device_id": null
}
}
]
},
{
"id": "32ed809a-9c4e-49d0-ab9b-fdd5cd4dac45",
"automation": "- alias: Office Motion Light Override - Set LEDs\n id: 32ed809a-9c4e-49d0-ab9b-fdd5cd4dac45\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.office_motion_lights_override\n from: 'off'\n to: 'on'\n id: 'on'\n - trigger: state\n entity_id:\n - input_boolean.office_motion_lights_override\n from: 'on'\n to: 'off'\n id: 'off'\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Green\n level: 20\n effect: Solid\n duration: Indefinitely\n target:\n device_id: 0d88963feb93fc454e4d3c4115034675\n alias: Set Switch LEDs Green\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - action: script.inovelli_led_control\n metadata: {}\n data:\n led: All\n color: Green\n level: 100\n effect: Clear\n duration: Indefinitely\n target:\n device_id: 0d88963feb93fc454e4d3c4115034675\n alias: Clear Switch LEDs",
"config": [
{
"name": "office switch device",
"room": "office",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "0d88963feb93fc454e4d3c4115034675"
}
},
{
"name": "office motion lights override input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_motion_lights_override",
"device_id": null
}
}
]
},
{
"id": "3c42906d-db94-454e-8dc9-bc980e94223f",
"automation": "- alias: Office Motion Lights\n id: 3c42906d-db94-454e-8dc9-bc980e94223f\n mode: restart\n triggers:\n - trigger: state\n entity_id: binary_sensor.office_mini_motion_presence\n to: 'on'\n - trigger: state\n entity_id: binary_sensor.office_mini_motion_presence\n to: 'off'\n for:\n minutes: 2\n conditions:\n - alias: Home Mode\n condition: state\n entity_id: input_select.home_mode\n state: Home\n - alias: Office is not marked as excluded\n condition: state\n entity_id: input_boolean.room_exclude_office\n state: 'off'\n - alias: Office Motion Lighting isn't overridden\n condition: state\n entity_id: input_boolean.office_motion_lights_override\n state: 'off'\n actions:\n - choose:\n - conditions: '{{ trigger.to_state.state == ''on'' }}'\n sequence:\n - action: light.turn_on\n target:\n entity_id:\n - light.main_office_lights\n - light.office_desk_screen_display_backlight\n - conditions: '{{ trigger.to_state.state == ''off'' }}'\n sequence:\n - if:\n - alias: Training Mode On\n condition: state\n entity_id: input_boolean.training_mode\n state: 'on'\n then:\n - alias: Wait until Training Mode is off\n wait_for_trigger:\n - trigger: state\n entity_id: input_boolean.training_mode\n to: 'off'\n - delay:\n seconds: 10\n - action: light.turn_off\n target:\n entity_id:\n - light.main_office_lights\n - light.office_desk_screen_display_backlight\n data:\n transition: 10",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
},
{
"name": "office motion lights override input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.office_motion_lights_override",
"device_id": null
}
},
{
"name": "office mini motion presence sensor",
"room": "office",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.office_mini_motion_presence",
"device_id": null
}
},
{
"name": "room exclude office input boolean",
"room": "office",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_office",
"device_id": null
}
},
{
"name": "main office lights",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.main_office_lights",
"device_id": null
}
},
{
"name": "office desk screen display backlight",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_desk_screen_display_backlight",
"device_id": null
}
}
]
},
{
"id": "e8cfeb3b-e051-4b20-9d80-fd19a96a16dd",
"automation": "- alias: Office Remote - Toggle - Toggle Video Call Scene\n id: e8cfeb3b-e051-4b20-9d80-fd19a96a16dd\n triggers:\n - trigger: device\n device_id: 66f76df28bdd462e84227f8f164ee7c3\n discovery_id: 0x90fd9ffffe886c5f action_toggle\n domain: mqtt\n type: action\n subtype: toggle\n actions:\n - if:\n - condition: state\n entity_id: light.key_light_air_1\n state: 'on'\n then:\n - action: light.turn_off\n target:\n entity_id:\n - light.key_light_air_1\n - action: adaptive_lighting.set_manual_control\n data:\n manual_control: false\n entity_id: switch.adaptive_lighting_adapt_brightness_office\n else:\n - action: scene.turn_on\n target:\n entity_id: scene.office_meeting",
"config": [
{
"name": "key light air 1 light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.key_light_air_1",
"device_id": "91d1b0c08edf642406c61ae9e191942a"
}
},
{
"name": "office remote device",
"room": "office",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "66f76df28bdd462e84227f8f164ee7c3"
}
},
{
"name": "adaptive lighting adapt brightness office switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.adaptive_lighting_adapt_brightness_office",
"device_id": null
}
},
{
"name": "office meeting scene",
"room": "office",
"type": "scene",
"id": {
"entity_id": "scene.office_meeting",
"device_id": null
}
}
]
},
{
"id": "917b79fd-9825-4100-bca6-d44847d8ef10",
"automation": "- alias: Office Remote - Brightness Up\n id: 917b79fd-9825-4100-bca6-d44847d8ef10\n triggers:\n - trigger: device\n device_id: 66f76df28bdd462e84227f8f164ee7c3\n discovery_id: 0x90fd9ffffe886c5f action_brightness_up_click\n domain: mqtt\n type: action\n subtype: brightness_up_click\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: light.key_light_air_1\n state: 'on'\n sequence:\n - action: light.turn_on\n entity_id: light.key_light_air_1\n data_template:\n brightness: \"{%- set target = state_attr('light.key_light_air_1', 'brightness')\\\n \\ | int + 8 -%} {%- if target > 255 -%}\\n 255\\n{%- else -%}\\n {{ target}}\\n\\\n {%- endif -%}\\n\"\n - conditions:\n - condition: state\n entity_id: light.key_light_air_1\n state: 'off'\n sequence:\n - action: light.turn_on\n entity_id: light.office_ceiling\n data_template:\n brightness: \"{%- set target = (is_state('light.office_ceiling', \\\"on\\\")\\\n \\ and state_attr('light.office_ceiling', 'brightness')) | int + 51 -%}\\\n \\ {%- if target > 255 -%}\\n 255\\n{%- else -%}\\n {{ target}}\\n{%- endif\\\n \\ -%}\\n\"",
"config": [
{
"name": "office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_ceiling",
"device_id": null
}
},
{
"name": "key light air 1 light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.key_light_air_1",
"device_id": "91d1b0c08edf642406c61ae9e191942a"
}
},
{
"name": "office remote device",
"room": "office",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "66f76df28bdd462e84227f8f164ee7c3"
}
}
]
},
{
"id": "664afecb-08e5-4d33-bdca-c11ebe09bf12",
"automation": "- alias: Office Remote - Brightness Down\n id: 664afecb-08e5-4d33-bdca-c11ebe09bf12\n triggers:\n - trigger: device\n device_id: 66f76df28bdd462e84227f8f164ee7c3\n discovery_id: 0x90fd9ffffe886c5f action_brightness_down_click\n domain: mqtt\n type: action\n subtype: brightness_down_click\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: light.key_light_air_1\n state: 'on'\n sequence:\n - action: light.turn_on\n entity_id: light.key_light_air_1\n data_template:\n brightness: \"{%- set target = state_attr('light.key_light_air_1', 'brightness')\\\n \\ | int - 8 -%} {%- if target < 1 -%}\\n 1\\n{%- else -%}\\n {{ target}}\\n\\\n {%- endif -%}\\n\"\n - conditions:\n - condition: state\n entity_id: light.key_light_air_1\n state: 'off'\n sequence:\n - action: light.turn_on\n entity_id: light.office_ceiling\n data_template:\n brightness: \"{%- set target = state_attr('light.office_ceiling', 'brightness')\\\n \\ | int - 51 -%} {%- if target < 10 -%}\\n 10\\n{%- else -%}\\n {{ target}}\\n\\\n {%- endif -%}\\n\"",
"config": [
{
"name": "office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_ceiling",
"device_id": null
}
},
{
"name": "key light air 1 light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.key_light_air_1",
"device_id": "91d1b0c08edf642406c61ae9e191942a"
}
},
{
"name": "office remote device",
"room": "office",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "66f76df28bdd462e84227f8f164ee7c3"
}
}
]
},
{
"id": "0a1f28ae-c8f2-40d6-b664-43b7969de628",
"automation": "- alias: Office Remote - Brightness Up Hold\n id: 0a1f28ae-c8f2-40d6-b664-43b7969de628\n triggers:\n - trigger: device\n device_id: 66f76df28bdd462e84227f8f164ee7c3\n discovery_id: 0x90fd9ffffe886c5f action_brightness_up_hold\n domain: mqtt\n type: action\n subtype: brightness_up_hold\n actions:\n - alias: Ceiling full brighness\n action: light.turn_on\n entity_id:\n - light.office_ceiling\n data:\n brightness: 255",
"config": [
{
"name": "office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_ceiling",
"device_id": null
}
},
{
"name": "office remote device",
"room": "office",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "66f76df28bdd462e84227f8f164ee7c3"
}
}
]
},
{
"id": "47437150-269c-46d4-b9d7-da8c4efa1695",
"automation": "- alias: Office Remote - Brightness Down Hold\n id: 47437150-269c-46d4-b9d7-da8c4efa1695\n triggers:\n - trigger: device\n device_id: 66f76df28bdd462e84227f8f164ee7c3\n discovery_id: 0x90fd9ffffe886c5f action_brightness_down_hold\n domain: mqtt\n type: action\n subtype: brightness_down_hold\n actions:\n - alias: Lights off\n action: light.turn_off\n entity_id:\n - light.office_ceiling",
"config": [
{
"name": "office ceiling light",
"room": "office",
"type": "light",
"id": {
"entity_id": "light.office_ceiling",
"device_id": null
}
},
{
"name": "office remote device",
"room": "office",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "66f76df28bdd462e84227f8f164ee7c3"
}
}
]
},
{
"id": "466c98e8-bc17-4edc-b29d-a527e66a27af",
"automation": "- alias: Office Remote - Left Button Click\n id: 466c98e8-bc17-4edc-b29d-a527e66a27af\n triggers:\n - trigger: device\n device_id: 66f76df28bdd462e84227f8f164ee7c3\n discovery_id: 0x90fd9ffffe886c5f action_arrow_left_click\n domain: mqtt\n type: action\n subtype: arrow_left_click\n actions:\n - action: fan.toggle\n entity_id: fan.office_fan",
"config": [
{
"name": "office remote device",
"room": "office",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "66f76df28bdd462e84227f8f164ee7c3"
}
},
{
"name": "office fan",
"room": "office",
"type": "fan",
"id": {
"entity_id": "fan.office_fan",
"device_id": null
}
}
]
},
{
"id": "e5c316e1-78f0-4f4b-8dac-a0140926aaf1",
"automation": "- id: e5c316e1-78f0-4f4b-8dac-a0140926aaf1\n alias: Garage Parking Sign - Door Triggers\n mode: restart\n triggers:\n - trigger: state\n entity_id: cover.ratgdo_left_garage_door_door\n to: opening\n id: switch.garage_parking_sign_poll_range_sensor_left\n - trigger: state\n entity_id: cover.ratgdo_right_garage_door_door\n to: opening\n id: switch.garage_parking_sign_poll_range_sensor_right\n conditions:\n - alias: Garage automations are not disabled\n condition: state\n entity_id: input_boolean.room_exclude_garage\n state: 'off'\n actions:\n - alias: Start with both sensors off\n action: switch.turn_off\n target:\n entity_id:\n - switch.garage_parking_sign_poll_range_sensor_left\n - switch.garage_parking_sign_poll_range_sensor_right\n - alias: Start polling the sensor\n action: switch.turn_on\n target:\n entity_id: '{{ trigger.id }}'\n - alias: Wait for the door to be closing OR 2 minutes.\n wait_for_trigger:\n - trigger: state\n entity_id:\n - cover.ratgdo_left_garage_door_door\n - cover.ratgdo_right_garage_door_door\n to:\n - closing\n - closed\n timeout:\n minutes: 2\n - alias: Stop polling\n action: switch.turn_off\n target:\n entity_id: '{{ trigger.id }}'",
"config": [
{
"name": "left garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_left_garage_door_door",
"device_id": "2bbbe29de187f6e1b1522f5f2513b258"
}
},
{
"name": "right garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_right_garage_door_door",
"device_id": "a918ed1d740d5527c120a872d5b36fdd"
}
},
{
"name": "garage parking sign poll range sensor left switch",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.garage_parking_sign_poll_range_sensor_left",
"device_id": null
}
},
{
"name": "garage parking sign poll range sensor right switch",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.garage_parking_sign_poll_range_sensor_right",
"device_id": null
}
},
{
"name": "room exclude garage input boolean",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.room_exclude_garage",
"device_id": null
}
}
]
},
{
"id": "85f0013d-587a-444c-a7c9-9b427a99d335",
"automation": "- alias: Door opened - Trigger phone location updates\n id: 85f0013d-587a-444c-a7c9-9b427a99d335\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door\n to: 'on'\n - trigger: state\n entity_id:\n - cover.ratgdo_left_garage_door_door\n - cover.ratgdo_right_garage_door_door\n to: opening\n actions:\n - choose:\n - alias: If Maggie isn't home, trigger an update.\n conditions:\n - condition: state\n entity_id: binary_sensor.maggie_person_home\n state: 'off'\n sequence:\n - action: script.request_maggie_location_update\n - choose:\n - alias: If Corban isn't home, trigger an update.\n conditions:\n - condition: state\n entity_id: binary_sensor.corban_person_home\n state: 'off'\n sequence:\n - action: script.request_corban_location_update",
"config": [
{
"name": "left garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_left_garage_door_door",
"device_id": "2bbbe29de187f6e1b1522f5f2513b258"
}
},
{
"name": "right garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.ratgdo_right_garage_door_door",
"device_id": "a918ed1d740d5527c120a872d5b36fdd"
}
},
{
"name": "corban person home sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.corban_person_home",
"device_id": null
}
},
{
"name": "front door binary sensor",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door",
"device_id": null
}
},
{
"name": "maggie person home sensor",
"room": "home",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.maggie_person_home",
"device_id": null
}
}
]
},
{
"id": "547a0b9b-1878-4e4a-b020-5d660a77d3f3",
"automation": "- id: 547a0b9b-1878-4e4a-b020-5d660a77d3f3\n alias: Sunporch Switch - On - String Lights\n triggers:\n - trigger: device\n domain: mqtt\n device_id: c267d3d48bf04135851855dc4be36cbb\n type: action\n subtype: 'on'\n discovery_id: 0x000d6ffffea6b202 action_on\n actions:\n - action: light.turn_on\n target:\n entity_id: light.sunporch_string_lights",
"config": [
{
"name": "sunporch switch device",
"room": "sunporch",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "c267d3d48bf04135851855dc4be36cbb"
}
},
{
"name": "sunporch string lights",
"room": "sunporch",
"type": "light",
"id": {
"entity_id": "light.sunporch_string_lights",
"device_id": null
}
}
]
},
{
"id": "e9209406-f904-49a7-a49a-4f14501bdf68",
"automation": "- id: e9209406-f904-49a7-a49a-4f14501bdf68\n alias: Sunporch Switch - Off - String Lights\n triggers:\n - trigger: device\n domain: mqtt\n device_id: c267d3d48bf04135851855dc4be36cbb\n type: action\n subtype: 'off'\n discovery_id: 0x000d6ffffea6b202 action_off\n actions:\n - action: light.turn_off\n target:\n entity_id: light.sunporch_string_lights",
"config": [
{
"name": "sunporch switch device",
"room": "sunporch",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "c267d3d48bf04135851855dc4be36cbb"
}
},
{
"name": "sunporch string lights",
"room": "sunporch",
"type": "light",
"id": {
"entity_id": "light.sunporch_string_lights",
"device_id": null
}
}
]
},
{
"id": "79a605a4-6f3f-4668-b5a5-ee52bda22304",
"automation": "- id: 79a605a4-6f3f-4668-b5a5-ee52bda22304\n alias: Sunporch Switch - Hold On - Turn on all sunporch lights\n triggers:\n - trigger: device\n domain: mqtt\n device_id: c267d3d48bf04135851855dc4be36cbb\n type: action\n subtype: brightness_move_up\n discovery_id: 0x000d6ffffea6b202 action_brightness_move_up\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.sunporch_sconces\n - light.sunporch_string_lights\n data:\n brightness: 255",
"config": [
{
"name": "sunporch switch device",
"room": "sunporch",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "c267d3d48bf04135851855dc4be36cbb"
}
},
{
"name": "sunporch string lights",
"room": "sunporch",
"type": "light",
"id": {
"entity_id": "light.sunporch_string_lights",
"device_id": null
}
},
{
"name": "sunporch sconces",
"room": "sunporch",
"type": "light",
"id": {
"entity_id": "light.sunporch_sconces",
"device_id": null
}
}
]
},
{
"id": "8ca6b5bb-fa21-4f04-8535-b374bf0314da",
"automation": "- id: 8ca6b5bb-fa21-4f04-8535-b374bf0314da\n alias: Sunporch Switch - Hold Off - Turn off all sunporch lights.\n triggers:\n - trigger: device\n domain: mqtt\n device_id: c267d3d48bf04135851855dc4be36cbb\n type: action\n subtype: brightness_move_down\n discovery_id: 0x000d6ffffea6b202 action_brightness_move_down\n actions:\n - action: light.turn_off\n target:\n entity_id:\n - light.sunporch_sconces\n - light.sunporch_string_lights",
"config": [
{
"name": "sunporch switch device",
"room": "sunporch",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "c267d3d48bf04135851855dc4be36cbb"
}
},
{
"name": "sunporch string lights",
"room": "sunporch",
"type": "light",
"id": {
"entity_id": "light.sunporch_string_lights",
"device_id": null
}
},
{
"name": "sunporch sconces",
"room": "sunporch",
"type": "light",
"id": {
"entity_id": "light.sunporch_sconces",
"device_id": null
}
}
]
},
{
"id": "0306466a-8dab-4d80-b814-d0b5a7d97f31",
"automation": "- alias: Training Mode Start\n id: 0306466a-8dab-4d80-b814-d0b5a7d97f31\n triggers:\n - trigger: state\n entity_id: input_boolean.training_mode\n to: 'on'\n actions:\n - action: script.training_mode_start",
"config": [
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
}
]
},
{
"id": "6c0d187b-c08f-4e96-a602-1dd87e972df6",
"automation": "- alias: Training Mode Stop\n id: 6c0d187b-c08f-4e96-a602-1dd87e972df6\n triggers:\n - trigger: state\n entity_id: input_boolean.training_mode\n to: 'off'\n actions:\n - alias: Re-enable adaptive lighting\n action: switch.turn_on\n target:\n entity_id:\n - switch.adaptive_lighting_adapt_brightness_main_adaptive_lighting\n - switch.adaptive_lighting_adapt_brightness_office\n - delay:\n milliseconds: 250\n - action: scene.turn_on\n target:\n entity_id: scene.state_before_training\n - alias: Clear notification\n action: notify.corban\n data:\n message: clear_notification\n data:\n tag: training_mode_left_on",
"config": [
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
},
{
"name": "adaptive lighting adapt brightness office switch",
"room": "office",
"type": "switch",
"id": {
"entity_id": "switch.adaptive_lighting_adapt_brightness_office",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
},
{
"name": "adaptive lighting adapt brightness main adaptive lighting switch",
"room": "home",
"type": "switch",
"id": {
"entity_id": "switch.adaptive_lighting_adapt_brightness_main_adaptive_lighting",
"device_id": null
}
},
{
"name": "State Before Training Scene",
"room": null,
"type": "scene",
"id": {
"entity_id": "scene.state_before_training",
"device_id": null
}
}
]
},
{
"id": "1a38b478-549d-4d84-9a00-8c1ce37bddea",
"automation": "- alias: Training Mode Left On Notification\n id: 1a38b478-549d-4d84-9a00-8c1ce37bddea\n triggers:\n - trigger: state\n entity_id: input_boolean.training_mode\n to: 'on'\n for:\n minutes: 15\n actions:\n - alias: Notify Corban\n action: notify.corban\n data:\n title: Training Mode Reminder\n message: Training mode is still on. Turn off?\n data:\n tag: training_mode_left_on\n actions:\n - action: TRAINING_TURN_OFF\n title: Turn off.\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "40261cea-1c15-4dfc-b795-ce11a932e394",
"automation": "- alias: Training Mode Left On - Notification Action\n id: 40261cea-1c15-4dfc-b795-ce11a932e394\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: TRAINING_TURN_OFF\n actions:\n - action: input_boolean.turn_off\n data:\n entity_id: input_boolean.training_mode",
"config": [
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
}
]
},
{
"id": "1586cf0a-cf0f-4b81-bc77-05090c64f186",
"automation": "- alias: Hall Light Config - 2x - Training Mode Toggle\n id: 1586cf0a-cf0f-4b81-bc77-05090c64f186\n mode: single\n triggers:\n - trigger: device\n domain: mqtt\n device_id: f6a3f0606ae31f561f4c700f5917deed\n type: action\n subtype: config_double\n discovery_id: 0xb43a31fffe34e475 action_config_double\n actions:\n - action: input_boolean.toggle\n target:\n entity_id: input_boolean.training_mode\n - delay:\n seconds: 1",
"config": [
{
"name": "hall aux switch device",
"room": "hall",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "f6a3f0606ae31f561f4c700f5917deed"
}
},
{
"name": "training mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.training_mode",
"device_id": null
}
}
]
},
{
"id": "18940551-1ea2-4d4d-8730-5a4ad75fd196",
"automation": "- alias: Trash Reminder - Trash - Calendar Trigger\n id: 18940551-1ea2-4d4d-8730-5a4ad75fd196\n mode: queued\n triggers:\n - trigger: calendar\n event: start\n entity_id: calendar.chores\n conditions:\n - not:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n - condition: template\n value_template: '{{ ''Trash to Curb'' in trigger.calendar_event.summary }}'\n - alias: Bins are still at the house\n condition: state\n entity_id: binary_sensor.trash_can_at_home\n state: 'on'\n actions:\n - action: input_text.set_value\n entity_id: input_text.trash_reminder_message\n data:\n value: Trash to the curb\n - action: input_boolean.turn_on\n entity_id: input_boolean.trash_reminder_reminding",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "trash can at home sensor",
"room": "exterior",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.trash_can_at_home",
"device_id": null
}
},
{
"name": "trash reminder message input text",
"room": "home",
"type": "input_text",
"id": {
"entity_id": "input_text.trash_reminder_message",
"device_id": null
}
},
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
},
{
"name": "Chores Calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.chores",
"device_id": null
}
}
]
},
{
"id": "dfd61176-c897-4564-a756-88fac31e61c6",
"automation": "- alias: Trash Reminder - Trash and Recycling - Calendar Trigger\n id: dfd61176-c897-4564-a756-88fac31e61c6\n mode: queued\n triggers:\n - trigger: calendar\n event: start\n entity_id: calendar.chores\n conditions:\n - not:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n - condition: template\n value_template: '{{ ''Trash and Recycling to Curb'' in trigger.calendar_event.summary\n }}'\n - alias: Bins are still at the house\n condition: state\n entity_id: binary_sensor.trash_can_at_home\n state: 'on'\n actions:\n - action: input_text.set_value\n entity_id: input_text.trash_reminder_message\n data:\n value: Trash and recycling to the curb\n - action: input_boolean.turn_on\n entity_id: input_boolean.trash_reminder_reminding",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "trash can at home sensor",
"room": "exterior",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.trash_can_at_home",
"device_id": null
}
},
{
"name": "trash reminder message input text",
"room": "home",
"type": "input_text",
"id": {
"entity_id": "input_text.trash_reminder_message",
"device_id": null
}
},
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
},
{
"name": "Chores Calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.chores",
"device_id": null
}
}
]
},
{
"id": "0b2ef4c7-2ac7-478c-a6ea-211b6e840f7b",
"automation": "- id: 0b2ef4c7-2ac7-478c-a6ea-211b6e840f7b\n alias: Trash Reminder - Clear reminder when the bins are moved\n triggers:\n - trigger: state\n entity_id: binary_sensor.trash_can_at_home\n from: 'on'\n to: 'off'\n actions:\n - action: input_boolean.turn_off\n entity_id: input_boolean.trash_reminder_reminding",
"config": [
{
"name": "trash can at home sensor",
"room": "exterior",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.trash_can_at_home",
"device_id": null
}
},
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
}
]
},
{
"id": "1b3dc26d-04f1-41af-864c-d122460db85e",
"automation": "- id: 1b3dc26d-04f1-41af-864c-d122460db85e\n alias: Trash Reminder - Send notifications based on boolean\n triggers:\n - trigger: state\n entity_id: input_boolean.trash_reminder_reminding\n from: 'off'\n to: 'on'\n actions:\n - if:\n - alias: Is Corban home?\n condition: state\n entity_id: person.corban\n state: home\n then:\n - alias: Notify Corban\n action: script.trash_reminder_send_notification_to_variable\n data:\n notify_device: corban\n dismiss_notification: false\n - if:\n - alias: Is Maggie home?\n condition: state\n entity_id: person.maggie\n state: home\n then:\n - alias: Notify Maggie\n action: script.trash_reminder_send_notification_to_variable\n data:\n notify_device: maggie\n dismiss_notification: false",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
}
]
},
{
"id": "d43927da-35b6-4a59-9f6f-357f43346eb8",
"automation": "- id: d43927da-35b6-4a59-9f6f-357f43346eb8\n alias: Trash Reminder - Dismiss notifications based on boolean\n triggers:\n - trigger: state\n entity_id: input_boolean.trash_reminder_reminding\n from: 'on'\n to: 'off'\n actions:\n - alias: Clear notifications\n action: script.trash_reminder_send_notification_to_variable\n data:\n notify_device: adult_phones\n dismiss_notification: true",
"config": [
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
}
]
},
{
"id": "6d16fbf8-ccb9-4e80-ac9b-99065bd6766c",
"automation": "- id: 6d16fbf8-ccb9-4e80-ac9b-99065bd6766c\n alias: Trash Reminder - Acknowledge alert from notification\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: TRASH_REMINDER_ACK\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.trash_reminder_reminding\n state: 'on'\n actions:\n - alias: Turn off boolean\n action: input_boolean.turn_off\n target:\n entity_id: input_boolean.trash_reminder_reminding",
"config": [
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
}
]
},
{
"id": "44585217-8bfd-4dda-94c3-72f187bd8ff1",
"automation": "- id: 44585217-8bfd-4dda-94c3-72f187bd8ff1\n alias: Trash Reminder - Send delayed notification if someone gets home\n mode: parallel\n triggers:\n - trigger: state\n entity_id: person.corban\n to: home\n id: corban\n - trigger: state\n entity_id: person.maggie\n to: home\n id: maggie\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.trash_reminder_reminding\n state: 'on'\n actions:\n - alias: Notify the right person\n action: script.trash_reminder_send_notification_to_variable\n data:\n notify_device: '{{ trigger.id }}'\n dismiss_notification: false",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
}
]
},
{
"id": "951e9a90-2135-4c17-a791-0403a19dbcb8",
"automation": "- id: 951e9a90-2135-4c17-a791-0403a19dbcb8\n alias: Trash Reminder - Dismiss notification if someone leaves home\n mode: parallel\n triggers:\n - trigger: state\n entity_id: person.corban\n from: home\n id: corban\n - trigger: state\n entity_id: person.maggie\n from: home\n id: maggie\n conditions:\n - alias: Notification active\n condition: state\n entity_id: input_boolean.trash_reminder_reminding\n state: 'on'\n actions:\n - alias: Notify the right person\n action: script.trash_reminder_send_notification_to_variable\n data:\n notify_device: '{{ trigger.id }}'\n dismiss_notification: true",
"config": [
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "trash reminder reminding input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_reminder_reminding",
"device_id": null
}
}
]
},
{
"id": "5277f05f-3f90-4eb7-8ba2-973a54482623",
"automation": "- alias: Notify Corban when Maggie is almost home\n id: 5277f05f-3f90-4eb7-8ba2-973a54482623\n triggers:\n - trigger: numeric_state\n entity_id: sensor.maggie_to_home_travel_time\n below: 11\n conditions:\n - condition: state\n entity_id: person.corban\n state: home\n - condition: state\n entity_id: person.maggie\n state: not_home\n - condition: state\n entity_id: timer.maggie_home_notification_cooldown\n state: idle\n - condition: time\n after: 07:00:00\n before: '21:00:00'\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n actions:\n - alias: Notify Corban\n action: script.maggie_travel_time_send\n data:\n dismiss_notification: false\n - action: timer.start\n entity_id: timer.maggie_home_notification_cooldown\n data:\n duration: 00:10:00",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "person corban",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.corban",
"device_id": null
}
},
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "maggie to home travel time sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.maggie_to_home_travel_time",
"device_id": null
}
},
{
"name": "maggie home notification cooldown timer",
"room": "home",
"type": "timer",
"id": {
"entity_id": "timer.maggie_home_notification_cooldown",
"device_id": null
}
}
]
},
{
"id": "380345d6-b3ab-4cc1-908d-741051bb8ccf",
"automation": "- id: 380345d6-b3ab-4cc1-908d-741051bb8ccf\n alias: Dismiss the notification after Maggie arrives\n triggers:\n - trigger: state\n entity_id: person.maggie\n to: home\n for:\n minutes: 1\n actions:\n - alias: Dismiss notification\n action: script.maggie_travel_time_send\n data:\n dismiss_notification: true",
"config": [
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
}
]
},
{
"id": "94d03ec3-81b3-4402-903d-3cd85ea8cf93",
"automation": "- alias: Cat Sitter - Door Opened\n id: 94d03ec3-81b3-4402-903d-3cd85ea8cf93\n triggers:\n - trigger: state\n entity_id: binary_sensor.front_door\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n - condition: state\n entity_id: input_boolean.cat_sitter_mode\n state: 'on'\n actions:\n - action: notify.corban\n data:\n title: Cat Sitter's Here\n message: Front door opened. Take action?\n data:\n tag: vacation_cat_sitter\n actions:\n - action: VACATION_SITTER_HOME_UNOCCUPIED\n title: Re-enable vacation mode.\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default\n - action: VACATION_SITTER_HOME_CLEAR\n title: We're home. Reset.\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "front door binary sensor",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_door",
"device_id": null
}
},
{
"name": "cat sitter mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.cat_sitter_mode",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "80c08868-f03b-4fb8-bff2-e169f3c6bbb5",
"automation": "- alias: Cat Sitter - Unoccupied Notification Clicked\n id: 80c08868-f03b-4fb8-bff2-e169f3c6bbb5\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACATION_SITTER_HOME_UNOCCUPIED\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Vacation",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
}
]
},
{
"id": "ac5ed0e3-798e-4682-ba51-9fc54eb309f6",
"automation": "- alias: Cat Sitter - Reset Notification Clicked\n id: ac5ed0e3-798e-4682-ba51-9fc54eb309f6\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACATION_SITTER_HOME_CLEAR\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Home\n - action: input_boolean.turn_off\n entity_id: input_boolean.cat_sitter_mode",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "cat sitter mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.cat_sitter_mode",
"device_id": null
}
}
]
},
{
"id": "f09c1102-a64e-469c-bc7b-1ef5e0a9ef90",
"automation": "- alias: Schedule - Enable/Disable Automations\n id: f09c1102-a64e-469c-bc7b-1ef5e0a9ef90\n triggers:\n - trigger: state\n entity_id: input_boolean.vacation_mode_light_schedule\n actions:\n - choose:\n - conditions: '{{ trigger.to_state.state == ''on'' }}'\n sequence:\n - action: homeassistant.turn_on\n entity_id: group.vacation_schedule_automations\n - conditions: '{{ trigger.to_state.state == ''off'' }}'\n sequence:\n - action: homeassistant.turn_off\n entity_id: group.vacation_schedule_automations",
"config": [
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
},
{
"name": "vacation schedule automations group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.vacation_schedule_automations",
"device_id": null
}
}
]
},
{
"id": "8adc1a54-a9de-43f6-bc08-9037b230e574",
"automation": "- alias: Schedule - Disable When Vacation Mode is Disabled\n id: 8adc1a54-a9de-43f6-bc08-9037b230e574\n triggers:\n - trigger: state\n entity_id: input_select.home_mode\n from: Vacation\n actions:\n - action: input_boolean.turn_off\n entity_id: input_boolean.vacation_mode_light_schedule",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
}
]
},
{
"id": "15766a62-8506-4300-b76a-7beac8dbe97f",
"automation": "- alias: Schedule - 1 - Some Lights On\n id: 15766a62-8506-4300-b76a-7beac8dbe97f\n triggers:\n - trigger: time\n at: '17:33:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode_light_schedule\n state: 'on'\n actions:\n - action: light.turn_on\n data:\n entity_id: light.corner_lamp\n brightness_pct: 80",
"config": [
{
"name": "corner lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.corner_lamp",
"device_id": null
}
},
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
}
]
},
{
"id": "629411da-48de-4ffe-9e17-7d32370f2b8d",
"automation": "- alias: Schedule - 2 - Dim for movie\n id: 629411da-48de-4ffe-9e17-7d32370f2b8d\n triggers:\n - trigger: time\n at: '19:26:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode_light_schedule\n state: 'on'\n actions:\n - action: light.turn_on\n data:\n entity_id: light.corner_lamp\n brightness_pct: 40",
"config": [
{
"name": "corner lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.corner_lamp",
"device_id": null
}
},
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
}
]
},
{
"id": "7b57bfde-dbbc-43d4-86f5-6b15ec94d44e",
"automation": "- alias: Schedule - 3 - Maggs to bed\n id: 7b57bfde-dbbc-43d4-86f5-6b15ec94d44e\n triggers:\n - trigger: time\n at: '21:49:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode_light_schedule\n state: 'on'\n actions:\n - action: light.turn_on\n data:\n entity_id: light.front_entry_lights",
"config": [
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
},
{
"name": "front entry lights",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.front_entry_lights",
"device_id": null
}
}
]
},
{
"id": "a5428791-727a-4e3d-a137-5eae0db3a9f8",
"automation": "- alias: Schedule - 4 - Maggs sleep\n id: a5428791-727a-4e3d-a137-5eae0db3a9f8\n triggers:\n - trigger: time\n at: '22:15:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode_light_schedule\n state: 'on'\n actions:\n - action: light.turn_off\n data:\n entity_id: light.front_entry_lights",
"config": [
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
},
{
"name": "front entry lights",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.front_entry_lights",
"device_id": null
}
}
]
},
{
"id": "29494677-5ec8-407d-a5a9-adda62a9eb39",
"automation": "- alias: Schedule - 5 - Everything off\n id: 29494677-5ec8-407d-a5a9-adda62a9eb39\n triggers:\n - trigger: time\n at: '22:32:00'\n conditions:\n - condition: state\n entity_id: input_boolean.vacation_mode_light_schedule\n state: 'on'\n actions:\n - action: light.turn_off\n data:\n entity_id: light.corner_lamp",
"config": [
{
"name": "corner lamp",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.corner_lamp",
"device_id": null
}
},
{
"name": "vacation mode light schedule input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode_light_schedule",
"device_id": null
}
}
]
},
{
"id": "fecb932d-1057-4dcd-86ef-02aa781ad1cb",
"automation": "- alias: Remind to enable vacation mode\n id: fecb932d-1057-4dcd-86ef-02aa781ad1cb\n triggers:\n - trigger: state\n entity_id: group.adults\n to: not_home\n for: '24:00:00'\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state:\n - Home\n - Away\n actions:\n - action: notify.corban\n data:\n title: Are you on vacation?\n message: Would you like to turn on vacation mode?\n data:\n tag: vacation_mode_enable\n actions:\n - action: VACATION_MODE_ENABLE\n title: Yes, turn on.\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "adults group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.adults",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "4d882b21-3b3e-4623-a56a-a0613e116f2d",
"automation": "- alias: Turn on vacation mode notification clicked\n id: 4d882b21-3b3e-4623-a56a-a0613e116f2d\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACATION_MODE_ENABLE\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Vacation",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
}
]
},
{
"id": "6ef4ff8e-8071-40b8-a733-dc82174b4cdc",
"automation": "- alias: Remind us to turn off vacation mode when we get home\n id: 6ef4ff8e-8071-40b8-a733-dc82174b4cdc\n triggers:\n - trigger: state\n entity_id: group.adults\n to: home\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n actions:\n - action: notify.adult_ios_phones\n data:\n title: Welcome back!\n message: Turn off vacation mode?\n data:\n tag: vacation_mode_disable\n actions:\n - action: VACATION_MODE_DISABLE\n title: Yes, turn off.\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "adult ios phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_ios_phones",
"device_id": null
}
},
{
"name": "adults group",
"room": "home",
"type": "group",
"id": {
"entity_id": "group.adults",
"device_id": null
}
}
]
},
{
"id": "89fa50e0-26af-422b-b527-fae14c20da8b",
"automation": "- alias: Turn off vacation mode notification clicked\n id: 89fa50e0-26af-422b-b527-fae14c20da8b\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACATION_MODE_DISABLE\n actions:\n - action: input_select.select_option\n data:\n entity_id: input_select.home_mode\n option: Home\n - action: notify.adult_ios_phones\n data:\n message: clear_notification\n data:\n tag: vacation_mode_disable",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "adult ios phones notify target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.adult_ios_phones",
"device_id": null
}
}
]
},
{
"id": "e7e99aed-348c-4fb8-b607-df0b902f1387",
"automation": "- alias: Notify when door opened while on vacation\n id: e7e99aed-348c-4fb8-b607-df0b902f1387\n triggers:\n - trigger: state\n entity_id: group.exterior_doors\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Vacation\n - condition: state\n entity_id: input_boolean.cat_sitter_mode\n state: 'off'\n actions:\n - action: notify.corban\n data:\n title: 'Warning: Door Opened'\n message: 'Exterior door(s) open: {{ expand(\"group.exterior_doors\") | selectattr(''state'',''eq'',''on'')\n | map(attribute=''name'') | list | join(\", \") }}'\n data:\n tag: vacation_alarm\n actions:\n - action: VACATION_ALARM\n title: Trigger Alarm\n activationMode: background\n authenticationRequired: false\n destructive: true\n behavior: default\n - action: VACATION_MODE_DISABLE\n title: Disable Vacation Mode\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "cat sitter mode input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.cat_sitter_mode",
"device_id": null
}
},
{
"name": "exterior doors group",
"room": "exterior",
"type": "group",
"id": {
"entity_id": "group.exterior_doors",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "fb1b06e3-4897-4d16-98bf-a66cef5f414d",
"automation": "- alias: Vacation Alarm Notification Action\n id: fb1b06e3-4897-4d16-98bf-a66cef5f414d\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACATION_ALARM\n actions:\n - action: tts.cloud_say\n entity_id: media_player.kitchen_homepod\n data_template:\n message: Intruder. The owner has been notified.\n - delay:\n seconds: 15\n - action: tts.cloud_say\n entity_id: media_player.kitchen_homepod\n data_template:\n message: Intruder. The owner has been notified.",
"config": [
{
"name": "kitchen homepod media player",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.kitchen_homepod",
"device_id": null
}
}
]
},
{
"id": "e3cb3255-914c-458c-83e6-d400d5ec50b8",
"automation": "- alias: Remind Corban to run the vacuum upstairs\n id: e3cb3255-914c-458c-83e6-d400d5ec50b8\n triggers:\n - trigger: time\n at: '12:00:00'\n conditions:\n - condition: time\n weekday:\n - mon\n - wed\n - fri\n - alias: Home Occupied\n condition: state\n entity_id: input_select.home_mode\n state: Home\n actions:\n - action: notify.corban\n data:\n title: Vacuum Upstairs\n message: Hold for options.\n data:\n group: run_vacuum\n actions:\n - action: VACUUM_FULL_CLEAN\n title: Clean Upstairs\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default\n - action: VACUUM_SKIP\n title: Skip This Cycle\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "9df6c398-3721-4f52-9ace-b7082489c551",
"automation": "- alias: Run vacuum full clean from notification\n id: 9df6c398-3721-4f52-9ace-b7082489c551\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACUUM_FULL_CLEAN\n actions:\n - action: vacuum.start\n target:\n entity_id: vacuum.valetudo_eve\n - alias: Wait for the vacuum to get off the dock\n delay:\n minutes: 1\n - alias: Wait for clean to complete\n wait_template: '{{ is_state(''vacuum.valetudo_eve'', ''docked'') }}'\n timeout:\n minutes: 90\n - choose:\n - conditions: '{{ not wait.completed }}'\n sequence:\n - action: script.vacuum_alert_timeout\n default:\n - action: notify.corban\n data:\n title: Empty Eve's Bin\n message: Are you ready to empty the vacuum's bin?\n data:\n group: run_vacuum\n actions:\n - action: VACUUM_GOTO_DUMP_SPOT\n title: Go to Pickup Spot\n activationMode: background\n authenticationRequired: false\n destructive: false\n behavior: default",
"config": [
{
"name": "valetudo eve vacuum",
"room": "upstairs",
"type": "vacuum",
"id": {
"entity_id": "vacuum.valetudo_eve",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
},
{
"id": "f2fb73d1-444a-440d-b1f4-4b226657c94f",
"automation": "- alias: Vacuum Reminder - Go To Dump Spot from Notification\n id: f2fb73d1-444a-440d-b1f4-4b226657c94f\n triggers:\n - trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: VACUUM_GOTO_DUMP_SPOT\n actions:\n - action: script.vacuum_dump_process",
"config": []
},
{
"id": "229ee037-4e8d-43bc-a5ab-acd4f19bb2a0",
"automation": "- alias: Show map when Maggie's away from home\n id: 229ee037-4e8d-43bc-a5ab-acd4f19bb2a0\n triggers:\n - trigger: state\n entity_id: person.maggie\n to: not_home\n for: 00:01:00\n actions:\n - action: input_boolean.turn_on\n data:\n entity_id: input_boolean.wall_display_show_map",
"config": [
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "wall display show map input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.wall_display_show_map",
"device_id": null
}
}
]
},
{
"id": "df202fb6-6230-4c51-bcc5-18572973fbba",
"automation": "- alias: Hide map when Maggie gets home or to work\n id: df202fb6-6230-4c51-bcc5-18572973fbba\n triggers:\n - trigger: state\n entity_id: person.maggie\n to:\n - home\n - L3Harris\n - Clay Studio\n for: 00:01:00\n actions:\n - action: input_boolean.turn_off\n data:\n entity_id: input_boolean.wall_display_show_map",
"config": [
{
"name": "person maggie",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.maggie",
"device_id": null
}
},
{
"name": "wall display show map input boolean",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.wall_display_show_map",
"device_id": null
}
}
]
},
{
"id": "ec56904d-4cc0-4966-9b98-8c790bf6e76d",
"automation": "- alias: Turn on the wall display in the morning\n id: ec56904d-4cc0-4966-9b98-8c790bf6e76d\n triggers:\n - trigger: time\n at: 06:01:00\n conditions:\n - condition: state\n entity_id: input_select.home_mode\n state: Home\n actions:\n - action: light.turn_on\n data:\n entity_id: light.tablet_wall_display_screen",
"config": [
{
"name": "home mode input select",
"room": "home",
"type": "input_select",
"id": {
"entity_id": "input_select.home_mode",
"device_id": null
}
},
{
"name": "tablet wall display screen light",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.tablet_wall_display_screen",
"device_id": null
}
}
]
},
{
"id": "6885c896-0a99-4cbe-bbf5-16fc703f1c32",
"automation": "- alias: Notify if the wall display comes unplugged\n id: 6885c896-0a99-4cbe-bbf5-16fc703f1c32\n triggers:\n - trigger: state\n entity_id: sensor.tablet_wall_display_device_info\n attribute: plugged\n from: true\n to: false\n for: 00:00:30\n actions:\n - action: notify.corban\n data:\n title: Wall Display Unplugged\n message: The wall display has been unplugged for at least 30 seconds.",
"config": [
{
"name": "tablet wall display device info sensor",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.tablet_wall_display_device_info",
"device_id": null
}
},
{
"name": "notify corban target",
"room": "home",
"type": "notify",
"id": {
"entity_id": "notify.corban",
"device_id": null
}
}
]
}
]