AutomationDataset/dmfrey/description-ready.json

2821 lines
165 KiB
JSON

[
{
"id": "ae9ebdfe-d932-48e0-ac9c-6e23be5c7e56",
"automation": "- id: ae9ebdfe-d932-48e0-ac9c-6e23be5c7e56\n alias: AI | Person Detected | Back Door\n description: A Person was detected at the Back Door\n mode: single\n triggers:\n - device_id: 08f8a662aa55cf0794b8b9d5bb924980\n domain: nest\n type: doorbell_chime\n trigger: device\n conditions: []\n actions:\n - action: camera.snapshot\n metadata: {}\n data:\n filename: /config/www/tmp/snapshot-back-door.jpg\n target:\n entity_id: camera.back_door_doorbell\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n - action: llmvision.image_analyzer\n metadata: {}\n data:\n remember: true\n include_filename: false\n max_tokens: 100\n temperature: 0.2\n generate_title: true\n expose_images: true\n expose_images_persist: true\n model: llama3.2\n image_file: /config/www/tmp/snapshot-back-door.jpg\n message: Describe in one sentence the person in the picture. If they are carrying\n something, describe what they are carrying.\n response_variable: response\n - action: notify.parent_devices\n metadata: {}\n data:\n message: '{{ response.text }}\n\n '\n title: Someone is at the Back Door\n data:\n image: /local/tmp/snapshot-back-door.jpg\n entity_id: camera.back\n actions:\n - action: URI\n title: Open Camera\n uri: /lovelace-dashboard/back-door",
"config": [
{
"name": "back door doorbell camera",
"room": "back door",
"type": "camera",
"id": {
"entity_id": "camera.back_door_doorbell",
"device_id": null
}
},
{
"name": "back door nest doorbell",
"room": "back door",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "08f8a662aa55cf0794b8b9d5bb924980"
}
},
{
"name": "Back Camera",
"room": null,
"type": "camera",
"id": {
"entity_id": "camera.back",
"device_id": null
}
}
]
},
{
"id": "afac78c3-7ea7-4e4d-a339-83557fa61b60",
"automation": "- id: afac78c3-7ea7-4e4d-a339-83557fa61b60\n alias: AI | Person Detected | Front Door\n description: A Person was detected at the Front Door\n mode: single\n triggers:\n - device_id: 709fa2e96409d0be65a4ad56998a6002\n domain: nest\n type: doorbell_chime\n trigger: device\n conditions: []\n actions:\n - action: camera.snapshot\n metadata: {}\n data:\n filename: /config/www/tmp/snapshot-front-door.jpg\n target:\n entity_id: camera.front_door_doorbell\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n - action: llmvision.image_analyzer\n metadata: {}\n data:\n remember: true\n include_filename: false\n max_tokens: 100\n temperature: 0.2\n generate_title: true\n expose_images: true\n expose_images_persist: true\n model: llama3.2\n image_file: /config/www/tmp/snapshot-front-door.jpg\n message: Describe in one sentence the person in the picture. If they are carrying\n something, describe what they are carrying.\n response_variable: response\n - action: notify.parent_devices\n metadata: {}\n data:\n message: '{{ response.text }}\n\n '\n title: Someone is at the Front Door\n data:\n image: /local/tmp/snapshot-front-door.jpg\n entity_id: camera.front_door_doorbell\n actions:\n - action: URI\n title: Open Camera\n uri: /lovelace-dashboard/front-door",
"config": [
{
"name": "front door doorbell camera",
"room": "front door",
"type": "camera",
"id": {
"entity_id": "camera.front_door_doorbell",
"device_id": null
}
},
{
"name": "front door nest doorbell",
"room": "front door",
"type": "sensor",
"id": {
"entity_id": null,
"device_id": "709fa2e96409d0be65a4ad56998a6002"
}
}
]
},
{
"id": "a8572890-cca7-4414-b3a9-4d6ef5a66b28",
"automation": "- id: a8572890-cca7-4414-b3a9-4d6ef5a66b28\n alias: Notification | Appliance | Dishwasher Finished\n description: Notify Parent Devices when the Dishwasher has finished\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.d828c9343e5b_dishwasher_is_clean\n to: 'on'\n conditions: []\n actions:\n - action: notify.parent_devices\n metadata: {}\n data_template:\n title: Dishwasher Finished\n message: 'The dishwasher has finished running\n\n '\n data:\n tag: appliance",
"config": [
{
"name": "dishwasher is clean sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.d828c9343e5b_dishwasher_is_clean",
"device_id": null
}
}
]
},
{
"id": "a9340356-40d6-43d0-ab76-8b186831af28",
"automation": "- id: a9340356-40d6-43d0-ab76-8b186831af28\n alias: Notification | Appliance | Dryer Finished\n description: Notify Parent Devices when the Dryer has finished\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.rm833274c_laundry_end_of_cycle\n to: 'on'\n conditions: []\n actions:\n - action: notify.parent_devices\n metadata: {}\n data_template:\n title: Dryer Finished\n message: 'The dryer has finished running\n\n '\n data:\n tag: appliance",
"config": [
{
"name": "dryer end of cycle sensor",
"room": "laundry room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rm833274c_laundry_end_of_cycle",
"device_id": null
}
}
]
},
{
"id": "f0f77397-a4be-4cf2-a7b0-12709e8267f2",
"automation": "- id: f0f77397-a4be-4cf2-a7b0-12709e8267f2\n alias: Notification | Appliance | Washing Machine Finished\n description: Notify Parent Devices when the Washing Machine has finished\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.rm171996g_laundry_end_of_cycle\n to: 'on'\n conditions: []\n actions:\n - action: notify.parent_devices\n metadata: {}\n data_template:\n title: Washing Machine Finished\n message: 'The washing machine has finished running\n\n '\n data:\n tag: appliance",
"config": [
{
"name": "washing machine end of cycle sensor",
"room": "laundry room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rm171996g_laundry_end_of_cycle",
"device_id": null
}
}
]
},
{
"id": "'1692901397864'",
"automation": "- id: '1692901397864'\n alias: Turn on the House at Sunset\n description: Lights will turn on 45 minutes before sunset\n trigger:\n - platform: sun\n event: sunset\n offset: -00:45\n condition: []\n action:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n area_id:\n - back_yard\n - barn\n - camdyn_s_room\n - den\n - dining_room\n - entryway\n - family_room\n - foyer\n - front_yard\n - hallway\n - kitchen\n - laundry_room\n - living_room\n - master_bedroom\n - molly_s_room\n - patio\n - side_yard\n - family_room_ambient\n mode: single",
"config": []
},
{
"id": "'1692901738566'",
"automation": "- id: '1692901738566'\n alias: It's time to make dinner\n description: Turn the lights on in the kitchen to start making dinner\n trigger:\n - platform: time\n at: '16:45:00'\n condition: []\n action:\n - service: light.turn_on\n data:\n brightness_pct: 100\n transition: 900\n target:\n area_id:\n - kitchen\n - dining_room\n mode: single",
"config": []
},
{
"id": "'1692902441971'",
"automation": "- id: '1692902441971'\n alias: It's time to Relax\n description: The relax scene is activated\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: scene.turn_on\n target:\n entity_id: scene.back_yard_dimmed\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.camdyn_s_room_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.molly_s_room_dimmed\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.hallway_dimmed\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.master_bedroom_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.foyer_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.living_room_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.den_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.side_yard_dimmed\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.kitchen_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.dining_room_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.family_room_relax\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.patio_relax\n metadata: {}\n mode: single",
"config": [
{
"name": "Back Yard Dimmed Scene",
"room": "Back Yard",
"type": "scene",
"id": {
"entity_id": "scene.back_yard_dimmed",
"device_id": null
}
},
{
"name": "Camdyn's Room Relax Scene",
"room": "Camdyn's Room",
"type": "scene",
"id": {
"entity_id": "scene.camdyn_s_room_relax",
"device_id": null
}
},
{
"name": "Den Relax Scene",
"room": "Den",
"type": "scene",
"id": {
"entity_id": "scene.den_relax",
"device_id": null
}
},
{
"name": "Dining Room Relax Scene",
"room": "Dining Room",
"type": "scene",
"id": {
"entity_id": "scene.dining_room_relax",
"device_id": null
}
},
{
"name": "Family Room Relax Scene",
"room": "Family Room",
"type": "scene",
"id": {
"entity_id": "scene.family_room_relax",
"device_id": null
}
},
{
"name": "Foyer Relax Scene",
"room": "Foyer",
"type": "scene",
"id": {
"entity_id": "scene.foyer_relax",
"device_id": null
}
},
{
"name": "Hallway Dimmed Scene",
"room": "Hallway",
"type": "scene",
"id": {
"entity_id": "scene.hallway_dimmed",
"device_id": null
}
},
{
"name": "Kitchen Relax Scene",
"room": "Kitchen",
"type": "scene",
"id": {
"entity_id": "scene.kitchen_relax",
"device_id": null
}
},
{
"name": "Living Room Relax Scene",
"room": "Living Room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_relax",
"device_id": null
}
},
{
"name": "Master Bedroom Relax Scene",
"room": "Master Bedroom",
"type": "scene",
"id": {
"entity_id": "scene.master_bedroom_relax",
"device_id": null
}
},
{
"name": "Molly's Room Dimmed Scene",
"room": "Molly's Room",
"type": "scene",
"id": {
"entity_id": "scene.molly_s_room_dimmed",
"device_id": null
}
},
{
"name": "Patio Relax Scene",
"room": "Patio",
"type": "scene",
"id": {
"entity_id": "scene.patio_relax",
"device_id": null
}
},
{
"name": "Side Yard Dimmed Scene",
"room": "Side Yard",
"type": "scene",
"id": {
"entity_id": "scene.side_yard_dimmed",
"device_id": null
}
}
]
},
{
"id": "'1692902977587'",
"automation": "- id: '1692902977587'\n alias: Turn off the outside yard lights\n description: Lights turn off at midnight\n trigger:\n - platform: time\n at: 00:00:00\n condition: []\n action:\n - service: light.turn_off\n data: {}\n target:\n area_id:\n - back_yard\n - side_yard\n - front_yard\n mode: single",
"config": []
},
{
"id": "'1692903090246'",
"automation": "- id: '1692903090246'\n alias: It's time to workout\n description: ''\n trigger:\n - platform: time\n at: 05:40:00\n condition: []\n action:\n - service: light.turn_on\n data: {}\n target:\n area_id: basement\n mode: single",
"config": []
},
{
"id": "'1692903179100'",
"automation": "- id: '1692903179100'\n alias: Workout is done\n description: ''\n trigger:\n - platform: time\n at: 08:30:00\n condition: []\n action:\n - service: light.turn_off\n data: {}\n target:\n area_id: basement\n mode: single",
"config": []
},
{
"id": "'1692904228846'",
"automation": "- id: '1692904228846'\n alias: Close the Office\n description: ''\n trigger:\n - platform: time\n at: '18:00:00'\n condition: []\n action:\n - service: light.turn_off\n data: {}\n target:\n area_id: office\n mode: single",
"config": []
},
{
"id": "'1692905069190'",
"automation": "- id: '1692905069190'\n alias: It's time to get ready for school\n description: ''\n trigger:\n - platform: time\n at: 05:45:00\n condition:\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n action:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n area_id:\n - dining_room\n - family_room\n - foyer\n - kitchen\n - service: light.turn_on\n data:\n brightness_pct: 40\n target:\n area_id: bathroom\n mode: single",
"config": []
},
{
"id": "'1692970048043'",
"automation": "- id: '1692970048043'\n alias: Turn off the House\n description: ''\n trigger:\n - platform: device\n type: turned_on\n device_id: b63d58f5e359634f1fdc8c8c162e5088\n entity_id: 1819de7c676c39aa739c370037977612\n domain: switch\n condition:\n - condition: sun\n after: sunset\n enabled: true\n action:\n - service: light.turn_off\n data: {}\n target:\n area_id:\n - camdyn_s_room\n - family_room\n - family_room_ambient\n - family_room_holiday\n - den\n - foyer\n - living_room\n - kitchen\n - dining_room\n - master_bedroom\n - molly_s_room\n - master_closet\n - office\n - patio\n - front_yard\n - hallway\n - bathroom\n - workshop\n - front_yard_holiday\n - service: switch.turn_off\n data: {}\n target:\n area_id:\n - master_bathroom\n - bathroom\n - front_yard_holiday\n - service: scene.turn_on\n target:\n entity_id: scene.barn_bright\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.entryway_bright\n metadata: {}\n - service: scene.turn_on\n target:\n entity_id: scene.laundry_room_bright\n metadata: {}\n - service: fan.turn_on\n data:\n percentage: 20\n target:\n area_id: master_bedroom_ambient\n - service: scene.turn_on\n target:\n entity_id: scene.turn_on_diffuser\n metadata: {}\n mode: single",
"config": [
{
"name": "house switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "1819de7c676c39aa739c370037977612",
"device_id": "b63d58f5e359634f1fdc8c8c162e5088"
}
},
{
"name": "Barn Bright Scene",
"room": "Barn",
"type": "scene",
"id": {
"entity_id": "scene.barn_bright",
"device_id": null
}
},
{
"name": "Entryway Bright Scene",
"room": "Entryway",
"type": "scene",
"id": {
"entity_id": "scene.entryway_bright",
"device_id": null
}
},
{
"name": "Laundry Room Bright Scene",
"room": "Laundry Room",
"type": "scene",
"id": {
"entity_id": "scene.laundry_room_bright",
"device_id": null
}
},
{
"name": "Turn On Diffuser Scene",
"room": null,
"type": "scene",
"id": {
"entity_id": "scene.turn_on_diffuser",
"device_id": null
}
}
]
},
{
"id": "b2bc356e-2eb1-41c1-a7bf-6327e58dcf19",
"automation": "- id: b2bc356e-2eb1-41c1-a7bf-6327e58dcf19\n alias: Routine | Security Lights | Back Yard\n description: Back Yard Security Lights turn on or off\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - platform: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - just_before_sunset\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: 70\n target:\n entity_id:\n - light.back_yard_security_light_1\n - light.back_yard_security_light_2\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.back_yard_security_light_1\n - light.back_yard_security_light_2",
"config": [
{
"name": "back yard security light 1",
"room": "back yard",
"type": "light",
"id": {
"entity_id": "light.back_yard_security_light_1",
"device_id": null
}
},
{
"name": "back yard security light 2",
"room": "back yard",
"type": "light",
"id": {
"entity_id": "light.back_yard_security_light_2",
"device_id": null
}
}
]
},
{
"id": "b125bfff-740b-40d8-8c81-4e22254f5841",
"automation": "- id: b125bfff-740b-40d8-8c81-4e22254f5841\n alias: Motion Sensor | Security Lights | Back Yard\n description: Back Yard Security Lights Automations\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.back_yard_sensor_occupancy\n to: 'on'\n id: back_yard_sensor_motion_detected\n - platform: state\n entity_id:\n - binary_sensor.back_yard_sensor_occupancy\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n id: back_yard_sensor_area_cleared\n condition:\n condition: or\n conditions:\n - condition: time\n after: '23:00:00'\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - fri\n - sat\n - condition: sun\n before: sunrise\n before_offset: 00:15:00\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - back_yard_sensor_motion_detected\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n brightness_pct: 50\n target:\n entity_id:\n - light.back_yard_security_light_1\n - light.back_yard_security_light_2\n - conditions:\n - condition: trigger\n id:\n - back_yard_sensor_area_cleared\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.back_yard_security_light_1\n - light.back_yard_security_light_2",
"config": [
{
"name": "back yard security light 1",
"room": "back yard",
"type": "light",
"id": {
"entity_id": "light.back_yard_security_light_1",
"device_id": null
}
},
{
"name": "back yard security light 2",
"room": "back yard",
"type": "light",
"id": {
"entity_id": "light.back_yard_security_light_2",
"device_id": null
}
},
{
"name": "back yard occupancy sensor",
"room": "back yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_yard_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "d3cfe7e4-6a8d-48e4-bbcd-1891f303339f",
"automation": "- id: d3cfe7e4-6a8d-48e4-bbcd-1891f303339f\n alias: Routine | Basement | Workout Start\n description: It's time to workout\n mode: single\n trigger:\n - platform: time\n at: 05:40:00\n condition:\n - condition: zone\n entity_id: person.daniel_frey\n zone: zone.home\n action:\n - service: light.turn_on\n target:\n area_id: basement\n data:\n brightness_pct: 100",
"config": [
{
"name": "daniel frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.daniel_frey",
"device_id": null
}
}
]
},
{
"id": "92bb115c-a192-40bc-9e0d-0443787cab0f",
"automation": "- id: 92bb115c-a192-40bc-9e0d-0443787cab0f\n alias: Routine | Basement | Workout Complete\n description: Workout is done for the day\n mode: single\n trigger:\n - platform: time\n at: 08:30:00\n condition:\n - condition: zone\n entity_id: person.daniel_frey\n zone: zone.home\n action:\n - service: light.turn_off\n target:\n area_id: basement\n data: {}",
"config": [
{
"name": "daniel frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.daniel_frey",
"device_id": null
}
}
]
},
{
"id": "6d4a7378-2e8c-4c3a-817a-6328bb8de01a",
"automation": "- id: 6d4a7378-2e8c-4c3a-817a-6328bb8de01a\n alias: Switch | Lights | Basement\n description: Turn the Basement Lights On or Off\n mode: single\n trigger:\n - platform: device\n domain: mqtt\n device_id: 3a88666b670f8e46cdaef002f4d63c2d\n type: action\n subtype: single\n id: basement_switch_single\n - platform: device\n domain: mqtt\n device_id: 3a88666b670f8e46cdaef002f4d63c2d\n type: action\n subtype: double\n id: basement_switch_double\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - basement_switch_single\n sequence:\n - service: light.toggle\n target:\n area_id: basement\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n - conditions:\n - condition: trigger\n id:\n - basement_switch_double\n sequence:\n - service: light.turn_on\n target:\n area_id: basement\n data:\n transition: 2\n color_temp_kelvin: 2237\n brightness_pct: 60",
"config": [
{
"name": "basement switch",
"room": "basement",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "3a88666b670f8e46cdaef002f4d63c2d"
}
}
]
},
{
"id": "9d331eec-830d-4e25-bfc3-06facbfd28f0",
"automation": "- id: 9d331eec-830d-4e25-bfc3-06facbfd28f0\n alias: Routine | Bathroom | Wake Up\n description: Turn on Bathroom Lights if it's a School Day and not a Holiday or Snow\n Day\n mode: queued\n max: 10\n trigger:\n - platform: time\n at: 05:45:00\n condition:\n - condition: state\n entity_id: binary_sensor.school_day\n state: 'on'\n - condition: not\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.holiday\n state: 'on'\n - condition: state\n entity_id: binary_sensor.snow_day\n state: 'on'\n action:\n - service: light.turn_on\n data:\n transition: 300\n color_temp_kelvin: 2700\n brightness_pct: 30\n target:\n area_id: &id001\n - bathroom",
"config": [
{
"name": "school day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.school_day",
"device_id": null
}
},
{
"name": "holiday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.holiday",
"device_id": null
}
},
{
"name": "snow day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.snow_day",
"device_id": null
}
}
]
},
{
"id": "b7d8f59b-f3b2-4ddb-973e-76c474bff574",
"automation": "- id: b7d8f59b-f3b2-4ddb-973e-76c474bff574\n alias: Routine | Bathroom | Away\n description: Turn off the bathroom lights when the girls are away\n mode: single\n initial_state: true\n trigger:\n platform: state\n entity_id: binary_sensor.girls_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id001",
"config": [
{
"name": "girls home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.girls_home",
"device_id": null
}
}
]
},
{
"id": "dde44bf2-bf0d-4d46-8a3e-b74ea8c59564",
"automation": "- id: dde44bf2-bf0d-4d46-8a3e-b74ea8c59564\n alias: Routine | Camdyn's Room | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition:\n - condition: zone\n entity_id: person.camdyn_frey\n zone: zone.home\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id:\n - camdyn_s_room",
"config": [
{
"name": "camdyn frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.camdyn_frey",
"device_id": null
}
}
]
},
{
"id": "bee92ca7-72cd-4b90-9e77-1d92960bc1f9",
"automation": "- id: bee92ca7-72cd-4b90-9e77-1d92960bc1f9\n alias: Routine | Camdyn's Room | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition:\n - condition: zone\n entity_id: person.camdyn_frey\n zone: zone.home\n action:\n - service: light.turn_on\n metadata: {}\n target:\n area_id:\n - camdyn_s_room\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60",
"config": [
{
"name": "camdyn frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.camdyn_frey",
"device_id": null
}
}
]
},
{
"id": "f3bf4eac-01a4-46a8-bd3f-f580fba80cc5",
"automation": "- id: f3bf4eac-01a4-46a8-bd3f-f580fba80cc5\n alias: Routine | Camdyn's Room | Away\n description: Turn off Camdyn's Room Lights when she is not at home\n mode: single\n trigger:\n - platform: zone\n entity_id: person.camdyn_frey\n zone: zone.home\n event: leave\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n area_id: camdyn_s_room",
"config": [
{
"name": "camdyn frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.camdyn_frey",
"device_id": null
}
}
]
},
{
"id": "53af2938-b66c-4226-a5e2-ac4bb455649e",
"automation": "- id: 53af2938-b66c-4226-a5e2-ac4bb455649e\n alias: Routine | Camdyn's Room | Arrive Home\n description: Turn on Camdyn's Room Lights when she arrives home and it's after sunset\n mode: single\n trigger:\n - platform: zone\n entity_id: person.camdyn_frey\n zone: zone.home\n event: enter\n condition:\n - condition: sun\n after: sunset\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 75\n target:\n area_id: camdyn_s_room",
"config": [
{
"name": "camdyn frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.camdyn_frey",
"device_id": null
}
}
]
},
{
"id": "17555aa9-e75d-4644-9731-366616f41e69",
"automation": "- id: 17555aa9-e75d-4644-9731-366616f41e69\n alias: Routine | Custom Lights | Change Scene\n description: Change the scene when the calendar updates the sensors\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.winter\n id: season_winter\n to: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.spring\n id: season_spring\n to: 'on'\n - trigger: state\n entity_id:\n - binary_sensor.summer\n to: 'on'\n id: season_summer\n - trigger: state\n entity_id:\n - binary_sensor.fall\n to: 'on'\n id: season_fall\n - trigger: state\n entity_id:\n - binary_sensor.valentine\n to: 'on'\n id: holiday_valentine\n - trigger: state\n entity_id:\n - binary_sensor.patriotic\n to: 'on'\n id: holiday_patriotic\n - trigger: state\n entity_id:\n - binary_sensor.halloween\n to: 'on'\n id: holiday_halloween\n - trigger: state\n entity_id:\n - binary_sensor.christmas\n to: 'on'\n id: holiday_christmas\n - trigger: state\n entity_id:\n - binary_sensor.flyers\n to: 'on'\n id: sports_flyers\n - trigger: state\n entity_id:\n - binary_sensor.eagles\n to: 'on'\n id: sports_eagles\n - trigger: state\n entity_id:\n - binary_sensor.phillies\n to: 'on'\n id: sports_phillies\n - trigger: state\n entity_id:\n - binary_sensor.penn_st\n to: 'on'\n id: sports_penn_st\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - season_winter\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Winter holidays: Under the tree'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - season_spring\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Peaceful: Spring blossom'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - season_summer\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Pure: Midsummer sun'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - season_fall\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Cozy: Honolulu'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - holiday_valentine\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Romantic: Ruby romance'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - holiday_patriotic\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Race Day: Miami'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - holiday_halloween\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Halloween: Trick or treat'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - holiday_christmas\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Winter holidays: Under the tree'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - sports_flyers\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Race Day: Zandvoort'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - sports_eagles\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Race Day: São Paulo'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - sports_phillies\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Dreamy: Adrift'\n target:\n entity_id: input_select.custom_light_scene_selections\n - conditions:\n - condition: trigger\n id:\n - sports_penn_st\n sequence:\n - action: input_select.select_option\n metadata: {}\n data:\n option: 'Futuristic: Magneto'\n target:\n entity_id: input_select.custom_light_scene_selections",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "spring sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.spring",
"device_id": null
}
},
{
"name": "summer sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.summer",
"device_id": null
}
},
{
"name": "fall sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.fall",
"device_id": null
}
},
{
"name": "valentine sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.valentine",
"device_id": null
}
},
{
"name": "patriotic sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.patriotic",
"device_id": null
}
},
{
"name": "halloween sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.halloween",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "flyers sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.flyers",
"device_id": null
}
},
{
"name": "eagles sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.eagles",
"device_id": null
}
},
{
"name": "phillies sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.phillies",
"device_id": null
}
},
{
"name": "penn st sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.penn_st",
"device_id": null
}
},
{
"name": "custom light scene selections",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.custom_light_scene_selections",
"device_id": null
}
}
]
},
{
"id": "8e854a44-6042-481b-bf0c-279e33e26e74",
"automation": "- id: 8e854a44-6042-481b-bf0c-279e33e26e74\n alias: Cube | Office | Dan's Office Cube\n description: ''\n trigger_variables:\n action_flip90: flip90\n action_rotate_right: rotate_right\n action_rotate_left: rotate_left\n action_shake: shake\n action_slide: slide\n action_tap: tap\n action_throw: throw\n trigger:\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_slide }}'\n value_template: '{{ value_json.action }}'\n id: slide\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_tap }}'\n value_template: '{{ value_json.action }}'\n id: tap\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_rotate_right }}'\n value_template: '{{ value_json.action }}'\n id: rotate_right\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_rotate_left }}'\n value_template: '{{ value_json.action }}'\n id: rotate_left\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_shake }}'\n value_template: '{{ value_json.action }}'\n id: shake\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_throw }}'\n value_template: '{{ value_json.action }}'\n id: throw\n - platform: mqtt\n topic: zigbee2mqtt/Dan's Office Cube\n payload: '{{ action_flip90 }}'\n value_template: '{{ value_json.action }}'\n id: flip90\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: sensor.dan_s_office_cube_side\n state: '1'\n - condition: trigger\n id: flip90\n sequence:\n - service: light.toggle\n target:\n area_id: office\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.dan_s_office_cube_side\n state: '2'\n - condition: trigger\n id: flip90\n sequence:\n - service: light.toggle\n target:\n area_id: office\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.dan_s_office_cube_side\n state: '3'\n - condition: trigger\n id: flip90\n sequence:\n - service: light.toggle\n target:\n area_id: office\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.dan_s_office_cube_side\n state: '4'\n - condition: trigger\n id: flip90\n sequence:\n - service: light.toggle\n target:\n area_id: office\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.dan_s_office_cube_side\n state: '5'\n - condition: trigger\n id: flip90\n sequence:\n - service: light.toggle\n target:\n area_id: office\n data: {}\n - conditions:\n - condition: state\n entity_id: sensor.dan_s_office_cube_side\n state: '6'\n - condition: trigger\n id: flip90\n sequence:\n - service: light.toggle\n target:\n area_id: office\n data: {}",
"config": [
{
"name": "dan office cube",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.dan_s_office_cube_side",
"device_id": null
}
}
]
},
{
"id": "aa2c400f-30b1-45ac-bb86-dfc7aa49f991",
"automation": "- id: aa2c400f-30b1-45ac-bb86-dfc7aa49f991\n alias: Routine | Den | Sunrise\n description: Turn off the lights 45 minutes after sunrise\n mode: single\n trigger:\n - platform: time\n at: 08:00:00\n condition: []\n action:\n - service: light.turn_off\n data:\n transition: 2\n target:\n area_id: &id002\n - den",
"config": []
},
{
"id": "b7b19a14-efe6-48ef-b257-1a1d8478b6b6",
"automation": "- id: b7b19a14-efe6-48ef-b257-1a1d8478b6b6\n alias: Routine | Den | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: *id002",
"config": []
},
{
"id": "f0563edc-f36c-4c35-9ad3-6b7c55bfdfa6",
"automation": "- id: f0563edc-f36c-4c35-9ad3-6b7c55bfdfa6\n alias: Routine | Den | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60\n target:\n area_id: *id002",
"config": []
},
{
"id": "aa8013a8-e86f-4540-9610-154cbbf8c729",
"automation": "- id: aa8013a8-e86f-4540-9610-154cbbf8c729\n alias: Routine | Den | Away\n description: Everyone has left the house, turn off the Den Lights if the time is\n before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.family_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id002",
"config": [
{
"name": "family home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.family_home",
"device_id": null
}
}
]
},
{
"id": "3896b676-61fa-4da6-a12d-5ad00b12de43",
"automation": "- id: 3896b676-61fa-4da6-a12d-5ad00b12de43\n alias: Routine | Driveway | Sunset\n description: Driveway Lights turn on or off\n mode: single\n trigger:\n - trigger: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - trigger: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n - trigger: state\n entity_id:\n - input_boolean.light_reset\n to: 'on'\n id: light_reset\n condition: []\n action:\n - choose:\n - conditions:\n - alias: It's just before sunset or light reset and there is no custom schedule\n set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'False'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.back_door_light\n - light.driveway_security_light\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - service: light.turn_on\n metadata: {}\n data:\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n entity_id:\n - light.back_door_light\n - light.driveway_security_light\n - conditions:\n - alias: It's just before sunset or light reset and a custom light schedule\n is set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'True'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id: script.driveway_custom_light_scene\n data:\n variables:\n scene: \"{% if has_value('input_select.custom_light_scene_selections')\\\n \\ %}\\n {{ states('input_select.custom_light_scene_selections') }}\\n\\\n {% else %}\\n Savanna sunset\\n{% endif %}\\n\"\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 30\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.back_door_light\n - light.driveway_security_light\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.light_reset",
"config": [
{
"name": "custom light scene selections",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.custom_light_scene_selections",
"device_id": null
}
},
{
"name": "custom light schedule sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.custom_light_schedule",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "back door light",
"room": "back door",
"type": "light",
"id": {
"entity_id": "light.back_door_light",
"device_id": null
}
},
{
"name": "driveway security light",
"room": "driveway",
"type": "light",
"id": {
"entity_id": "light.driveway_security_light",
"device_id": null
}
},
{
"name": "Driveway Custom Light Scene Script",
"room": "Driveway",
"type": "script",
"id": {
"entity_id": "script.driveway_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "4db8efe1-3370-499b-b5e6-e3ed4d7a304c",
"automation": "- id: 4db8efe1-3370-499b-b5e6-e3ed4d7a304c\n alias: Routine | Foyer | Sunrise\n description: Turn off the lights 45 minutes after sunrise\n mode: single\n trigger:\n - platform: sun\n event: sunrise\n offset: 00:45:00\n condition: []\n action:\n - service: light.turn_off\n data:\n transition: 2\n target:\n area_id: &id003\n - foyer",
"config": []
},
{
"id": "e5f16484-525e-4e1f-92fc-b73cf9cab8f2",
"automation": "- id: e5f16484-525e-4e1f-92fc-b73cf9cab8f2\n alias: Routine | Foyer | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: *id003",
"config": []
},
{
"id": "cf9c7092-2806-48e7-b4e7-dfb20e8fb3e0",
"automation": "- id: cf9c7092-2806-48e7-b4e7-dfb20e8fb3e0\n alias: Routine | Foyer | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60\n target:\n area_id: *id003",
"config": []
},
{
"id": "a63c2fda-a1b7-4ec5-8ed1-1414c384f8aa",
"automation": "- id: a63c2fda-a1b7-4ec5-8ed1-1414c384f8aa\n alias: Routine | Foyer | Away\n description: Everyone has left the house, turn off the Foyer Lights if the time\n is before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.family_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id003",
"config": [
{
"name": "family home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.family_home",
"device_id": null
}
}
]
},
{
"id": "a132c698-0908-410f-932c-ef3e82437b28",
"automation": "- id: a132c698-0908-410f-932c-ef3e82437b28\n alias: Routine | Front Porch | Sunset\n description: Front Porch Lights turn on or off\n mode: single\n trigger:\n - trigger: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - trigger: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n - trigger: state\n entity_id:\n - input_boolean.light_reset\n to: 'on'\n id: light_reset\n condition: []\n action:\n - choose:\n - conditions:\n - alias: It's just before sunset or light reset and there is no custom schedule\n set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'False'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.front_door_light\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - service: light.turn_on\n metadata: {}\n data:\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n entity_id:\n - light.front_door_light\n - conditions:\n - alias: It's just before sunset or light reset and a custom light schedule\n is set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'True'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id: script.front_porch_custom_light_scene\n data:\n variables:\n scene: \"{% if has_value('input_select.custom_light_scene_selections')\\\n \\ %}\\n {{ states('input_select.custom_light_scene_selections') }}\\n\\\n {% else %}\\n Savanna sunset\\n{% endif %}\\n\"\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 30\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.winter\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_eve\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_day\n state: 'on'\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.front_porch_lights\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.front_door_light\n - light.front_porch_lights\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.light_reset",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "custom light scene selections",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.custom_light_scene_selections",
"device_id": null
}
},
{
"name": "custom light schedule sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.custom_light_schedule",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "front door light",
"room": "front door",
"type": "light",
"id": {
"entity_id": "light.front_door_light",
"device_id": null
}
},
{
"name": "front porch lights",
"room": "front porch",
"type": "light",
"id": {
"entity_id": "light.front_porch_lights",
"device_id": null
}
},
{
"name": "christmas eve sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_eve",
"device_id": null
}
},
{
"name": "christmas day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_day",
"device_id": null
}
},
{
"name": "Front Porch Custom Light Scene Script",
"room": "Front Porch",
"type": "script",
"id": {
"entity_id": "script.front_porch_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "fb86e6f6-e22e-447b-b32f-18bd71266a24",
"automation": "- id: fb86e6f6-e22e-447b-b32f-18bd71266a24\n alias: Routine | Front Yard | Sunset\n description: Front Yard Lights turn on or off\n mode: single\n trigger:\n - trigger: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - trigger: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n - trigger: state\n entity_id:\n - input_boolean.light_reset\n to: 'on'\n id: light_reset\n condition: []\n action:\n - choose:\n - conditions:\n - alias: It's just before sunset or light reset and there is no custom schedule\n set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'False'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.front_yard_bollard_1\n - light.front_yard_bollard_2\n - light.front_yard_bollard_3\n - light.front_yard_bollard_4\n - light.front_yard_spot_1\n - light.front_yard_spot_2\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - service: light.turn_on\n metadata: {}\n data:\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n entity_id:\n - light.front_yard_bollard_1\n - light.front_yard_bollard_2\n - light.front_yard_bollard_3\n - light.front_yard_bollard_4\n - light.front_yard_spot_1\n - light.front_yard_spot_2\n - conditions:\n - alias: It's just before sunset or light reset and a custom light schedule\n is set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'True'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id: script.front_yard_custom_light_scene\n data:\n variables:\n scene: \"{% if has_value('input_select.custom_light_scene_selections')\\\n \\ %}\\n {{ states('input_select.custom_light_scene_selections') }}\\n\\\n {% else %}\\n Savanna sunset\\n{% endif %}\\n\"\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 30\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.winter\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_eve\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_day\n state: 'on'\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.front_yard_christmas_lights\n - light.front_yard_christmas_tree_light\n - light.tp_link_smart_plug_8d86_garage_christmas_lights_1\n - light.tp_link_smart_plug_8d86_garage_christmas_lights_2\n - light.tp_link_smart_plug_938d_living_room_christmas_lights_1\n - light.tp_link_smart_plug_938d_living_room_christmas_lights_2\n - action: script.turn_on\n metadata: {}\n target:\n entity_id: script.front_yard_holiday_custom_light_scene\n data:\n variables:\n scene: \"{% if has_value('input_select.custom_light_scene_selections')\\\n \\ %}\\n {{ states('input_select.custom_light_scene_selections') }}\\n\\\n {% else %}\\n Savanna sunset\\n{% endif %}\\n\"\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 30\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.front_yard_bollard_1\n - light.front_yard_bollard_2\n - light.front_yard_bollard_3\n - light.front_yard_bollard_4\n - light.front_yard_spot_1\n - light.front_yard_spot_2\n - light.front_yard_christmas_lights\n - light.front_yard_christmas_tree_light\n - light.tp_link_smart_plug_8d86_garage_christmas_lights_1\n - light.tp_link_smart_plug_8d86_garage_christmas_lights_2\n - light.tp_link_smart_plug_938d_living_room_christmas_lights_1\n - light.tp_link_smart_plug_938d_living_room_christmas_lights_2\n - light.front_yard_festiva_1\n - light.front_yard_festiva_2\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.light_reset",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "custom light scene selections",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.custom_light_scene_selections",
"device_id": null
}
},
{
"name": "custom light schedule sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.custom_light_schedule",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "front yard bollard 1",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_bollard_1",
"device_id": null
}
},
{
"name": "front yard bollard 2",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_bollard_2",
"device_id": null
}
},
{
"name": "front yard bollard 3",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_bollard_3",
"device_id": null
}
},
{
"name": "front yard bollard 4",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_bollard_4",
"device_id": null
}
},
{
"name": "front yard spot 1",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_spot_1",
"device_id": null
}
},
{
"name": "front yard spot 2",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_spot_2",
"device_id": null
}
},
{
"name": "front yard christmas lights",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_christmas_lights",
"device_id": null
}
},
{
"name": "front yard christmas tree light",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_christmas_tree_light",
"device_id": null
}
},
{
"name": "garage christmas lights 1",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.tp_link_smart_plug_8d86_garage_christmas_lights_1",
"device_id": null
}
},
{
"name": "garage christmas lights 2",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.tp_link_smart_plug_8d86_garage_christmas_lights_2",
"device_id": null
}
},
{
"name": "living room christmas lights 1",
"room": "living room",
"type": "light",
"id": {
"entity_id": "light.tp_link_smart_plug_938d_living_room_christmas_lights_1",
"device_id": null
}
},
{
"name": "living room christmas lights 2",
"room": "living room",
"type": "light",
"id": {
"entity_id": "light.tp_link_smart_plug_938d_living_room_christmas_lights_2",
"device_id": null
}
},
{
"name": "front yard festiva 1",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_festiva_1",
"device_id": null
}
},
{
"name": "front yard festiva 2",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_festiva_2",
"device_id": null
}
},
{
"name": "christmas eve sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_eve",
"device_id": null
}
},
{
"name": "christmas day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_day",
"device_id": null
}
},
{
"name": "Front Yard Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Holiday Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_holiday_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "ecf2ed39-f371-4d3b-812d-2a4b3dc4992d",
"automation": "- id: ecf2ed39-f371-4d3b-812d-2a4b3dc4992d\n alias: Routine | Security Lights | Front Yard\n description: Front Yard Security Lights turn on or off\n mode: single\n trigger:\n - trigger: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - trigger: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - just_before_sunset\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: 70\n target:\n entity_id:\n - light.front_yard_security_light_1\n - light.front_yard_security_light_2\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.front_yard_security_light_1\n - light.front_yard_security_light_2",
"config": [
{
"name": "front yard security light 1",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_security_light_1",
"device_id": null
}
},
{
"name": "front yard security light 2",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_security_light_2",
"device_id": null
}
}
]
},
{
"id": "0743426e-a630-48af-9d91-9728e3ecfff7",
"automation": "- id: 0743426e-a630-48af-9d91-9728e3ecfff7\n alias: Motion Sensor | Security Lights | Front Yard\n description: Front Yard Security Lights Automations\n mode: single\n trigger:\n - trigger: state\n entity_id:\n - binary_sensor.front_yard_sensor_occupancy\n to: 'on'\n id: front_yard_sensor_motion_detected\n - trigger: state\n entity_id:\n - binary_sensor.front_yard_sensor_occupancy\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n id: front_yard_sensor_area_cleared\n condition:\n condition: or\n conditions:\n - condition: time\n after: '23:00:00'\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - fri\n - sat\n - condition: sun\n before: sunrise\n before_offset: 00:15:00\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - front_yard_sensor_motion_detected\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n brightness_pct: 50\n target:\n entity_id:\n - light.front_yard_security_light_1\n - light.front_yard_security_light_2\n - conditions:\n - condition: trigger\n id:\n - front_yard_sensor_area_cleared\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.front_yard_security_light_1\n - light.front_yard_security_light_2",
"config": [
{
"name": "front yard security light 1",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_security_light_1",
"device_id": null
}
},
{
"name": "front yard security light 2",
"room": "front yard",
"type": "light",
"id": {
"entity_id": "light.front_yard_security_light_2",
"device_id": null
}
},
{
"name": "front yard occupancy sensor",
"room": "front yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_yard_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "b8fb99db-5d6f-4bbd-b320-6624e3729e62",
"automation": "- id: b8fb99db-5d6f-4bbd-b320-6624e3729e62\n alias: Routine | Security Lights | Garden\n description: Garden Security Lights turn on or off\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - platform: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - just_before_sunset\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: 70\n target:\n entity_id:\n - light.garden_security_light_1\n - light.garden_security_light_2\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.garden_security_light_1\n - light.garden_security_light_2",
"config": [
{
"name": "garden security light 1",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_security_light_1",
"device_id": null
}
},
{
"name": "garden security light 2",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_security_light_2",
"device_id": null
}
}
]
},
{
"id": "3d9f5be1-782c-4194-a13a-d25ab0477e11",
"automation": "- id: 3d9f5be1-782c-4194-a13a-d25ab0477e11\n alias: Motion Sensor | Security Lights | Garden\n description: Garden Security Lights automations\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.garden_sensor_occupancy\n to: 'on'\n id: garden_sensor_motion_detected\n - platform: state\n entity_id:\n - binary_sensor.garden_sensor_occupancy\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n id: garden_sensor_area_cleared\n condition:\n condition: or\n conditions:\n - condition: time\n after: '23:00:00'\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - fri\n - sat\n - condition: sun\n before: sunrise\n before_offset: 00:15:00\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - garden_sensor_motion_detected\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n brightness_pct: 50\n target:\n entity_id:\n - light.garden_security_light_1\n - light.garden_security_light_2\n - conditions:\n - condition: trigger\n id:\n - garden_sensor_area_cleared\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.garden_security_light_1\n - light.garden_security_light_2",
"config": [
{
"name": "garden security light 1",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_security_light_1",
"device_id": null
}
},
{
"name": "garden security light 2",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_security_light_2",
"device_id": null
}
},
{
"name": "garden occupancy sensor",
"room": "garden",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garden_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "fda5ca95-4c78-417e-b213-797e233d2c00",
"automation": "- id: fda5ca95-4c78-417e-b213-797e233d2c00\n alias: Notification | Family Room | Time to water Sully\n description: It's time to water\n mode: single\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.sully_moisture_sensor_humidity\n below: 4\n conditions: []\n actions:\n - service: notify.parent_devices\n metadata: {}\n data_template:\n title: Sully needs water\n message: The moisture level in Sully's pot has gone below 4%. It's time to water.\n data:\n tag: plants",
"config": [
{
"name": "sully moisture sensor",
"room": "family room",
"type": "sensor",
"id": {
"entity_id": "sensor.sully_moisture_sensor_humidity",
"device_id": null
}
}
]
},
{
"id": "a90fdbe7-42f0-42cf-a3a1-930be7feaf85",
"automation": "- id: a90fdbe7-42f0-42cf-a3a1-930be7feaf85\n alias: Routine | Hallway | Sunrise\n description: Turn off the lights 45 minutes after sunrise\n mode: single\n trigger:\n - platform: time\n at: 08:00:00\n condition: []\n action:\n - service: light.turn_off\n data:\n transition: 2\n target:\n area_id: &id004\n - hallway",
"config": []
},
{
"id": "b957b9e4-e1d2-438e-95f7-e73a286e31e4",
"automation": "- id: b957b9e4-e1d2-438e-95f7-e73a286e31e4\n alias: Routine | Hallway | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: *id004",
"config": []
},
{
"id": "9e20c9f7-4983-4e18-963b-7e61dcd2403b",
"automation": "- id: 9e20c9f7-4983-4e18-963b-7e61dcd2403b\n alias: Routine | Hallway | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60\n target:\n area_id: *id004",
"config": []
},
{
"id": "bbd54d64-7f5d-45cc-9f82-aa9b24f13828",
"automation": "- id: bbd54d64-7f5d-45cc-9f82-aa9b24f13828\n alias: Routine | Hallway | Away\n description: Everyone has left the house, turn off the Hallway Lights if the time\n is before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.family_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id004",
"config": [
{
"name": "family home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.family_home",
"device_id": null
}
}
]
},
{
"id": "938f642d-3e9f-44fa-9e2f-ccecc958e094",
"automation": "- id: 938f642d-3e9f-44fa-9e2f-ccecc958e094\n alias: Routine | Holiday | Inside Holiday Lights\n description: Turn on the Holiday Lights\n trigger:\n - platform: time\n at: 06:00:00\n condition: []\n action:\n - service: switch.turn_on\n data: {}\n target:\n entity_id: switch.holiday_lights\n mode: single",
"config": [
{
"name": "holiday lights switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.holiday_lights",
"device_id": null
}
}
]
},
{
"id": "d0f1d9d3-f4d9-4845-ae37-824244d6d9af",
"automation": "- id: d0f1d9d3-f4d9-4845-ae37-824244d6d9af\n alias: Routine | Holiday | Outside Holiday Lights\n description: Turn on the Outside Holiday Lights before Sunset\n trigger:\n - platform: sun\n event: sunset\n offset: -00:45:00\n enabled: true\n condition: []\n action:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n entity_id: light.outside_holiday_lights\n - service: switch.turn_on\n data: {}\n target:\n entity_id: switch.outside_holiday_switches\n - service: scene.turn_on\n target:\n entity_id: scene.outside_ruby_glow\n metadata: {}\n mode: single",
"config": [
{
"name": "outside holiday lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.outside_holiday_lights",
"device_id": null
}
},
{
"name": "outside holiday switches",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.outside_holiday_switches",
"device_id": null
}
},
{
"name": "Outside Ruby Glow Scene",
"room": "Outside",
"type": "scene",
"id": {
"entity_id": "scene.outside_ruby_glow",
"device_id": null
}
}
]
},
{
"id": "ca4989f4-23c1-48d6-8178-fbad657a07b0",
"automation": "- id: ca4989f4-23c1-48d6-8178-fbad657a07b0\n alias: Routine | House | School Day\n description: Turn on the lights to get ready for school\n mode: single\n trigger:\n - platform: time\n at: 05:45:00\n condition:\n - condition: time\n weekday:\n - mon\n - tue\n - wed\n - thu\n - fri\n action:\n - service: light.turn_on\n data:\n brightness_pct: 100\n target:\n area_id:\n - dining_room\n - family_room\n - foyer\n - kitchen",
"config": []
},
{
"id": "92c8fbbb-3b63-4408-95db-82587a3e704b",
"automation": "- id: 92c8fbbb-3b63-4408-95db-82587a3e704b\n alias: Routine | House | Goodnight\n description: Turn off the House\n mode: single\n trigger:\n - platform: state\n entity_id:\n - input_boolean.good_night\n to: 'on'\n condition: []\n action:\n - service: light.turn_off\n target:\n area_id:\n - back_yard\n - basement\n - bathroom\n - camdyn_s_room\n - den\n - dining_room\n - family_room\n - foyer\n - front_porch\n - front_yard\n - front_yard_holiday\n - garden\n - hallway\n - living_room\n - kitchen\n - master_closet\n - molly_s_room\n - office\n - patio\n - side_yard\n - workshop\n data: {}\n - service: switch.turn_off\n target:\n area_id:\n - bathroom\n - camdyn_s_room\n - front_yard\n - hallway\n - living_room\n - master_bathroom\n - molly_s_room\n - workshop\n data: {}\n - service: light.turn_on\n target:\n entity_id:\n - light.barn_door_light\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 50\n metadata: {}\n - delay: 5\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.good_night",
"config": [
{
"name": "good night boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.good_night",
"device_id": null
}
},
{
"name": "barn door light",
"room": "barn",
"type": "light",
"id": {
"entity_id": "light.barn_door_light",
"device_id": null
}
}
]
},
{
"id": "050e32fe-5a15-4efb-ba1f-e28db0f99b90",
"automation": "- id: 050e32fe-5a15-4efb-ba1f-e28db0f99b90\n alias: Routine | House | Rainy Day\n description: Turn on the lights when the lux goes below 30\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.kitchen_sensor_occupancy\n to: 'on'\n condition:\n - condition: time\n after: 08:00:00\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - fri\n - sat\n - condition: sun\n before: sunset\n - condition: numeric_state\n entity_id: sensor.kitchen_sensor_illuminance\n below: '30'\n action:\n - service: light.turn_on\n metadata: {}\n target:\n area_id:\n - den\n - dining_room\n - family_room\n - hallway\n - foyer\n - kitchen\n - living_room\n data:\n transition: 5\n color_temp_kelvin: 2700\n brightness_pct: 60",
"config": [
{
"name": "kitchen occupancy sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sensor_occupancy",
"device_id": null
}
},
{
"name": "kitchen illuminance sensor",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_sensor_illuminance",
"device_id": null
}
}
]
},
{
"id": "''",
"automation": "- id: ''\n alias: 'Switch | Automation | '\n description: ' turns on or off, dimming capable'\n mode: queued\n max: 10\n trigger:\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_single\n id: _switch_config_single\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_double\n id: _switch_config_double\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_triple\n id: _switch_config_triple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_quadruple\n id: _switch_config_quadruple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_quintuple\n id: _switch_config_quintuple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_release\n id: _switch_config_release\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: config_held\n id: _switch_config_held\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_single\n id: _switch_up_single\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_single\n id: _switch_down_single\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_double\n id: _switch_up_double\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_double\n id: _switch_down_double\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_triple\n id: _switch_up_triple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_triple\n id: _switch_down_triple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_quadruple\n id: _switch_up_quadruple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_quadruple\n id: _switch_down_quadruple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_quintuple\n id: _switch_up_quintuple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_quintuple\n id: _switch_down_quintuple\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_held\n id: _switch_up_held\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_held\n id: _switch_down_held\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_release\n id: _switch_up_release\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_release\n id: _switch_down_release\n - platform: state\n entity_id:\n - light._downlight\n to: 'on'\n id: _downlight_turns_on\n - platform: state\n entity_id:\n - light._downlight\n to: 'off'\n id: _downlight_turns_off\n - platform: state\n entity_id:\n - light._switch\n id: _switch_local_dimming\n enabled: true\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - _switch_up_single\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n kelvin: 2700\n brightness_pct: 100\n target:\n area_id: null\n - conditions:\n - condition: trigger\n id:\n - _switch_down_single\n sequence:\n - service: light.turn_off\n target:\n entity_id: light._downlight\n data: {}\n - conditions:\n - condition: trigger\n id:\n - _switch_up_double\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n kelvin: 2700\n brightness_pct: 100\n target:\n area_id: null\n alias: Light 'Turn on' on to Bright\n - conditions:\n - condition: trigger\n id:\n - _switch_down_double\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n kelvin: 2700\n brightness_pct: 30\n target:\n area_id: null\n alias: Light 'Turn on' on to Nightlight\n - conditions:\n - condition: trigger\n id:\n - _downlight_turns_on\n sequence:\n - service: light.turn_on\n target:\n device_id: null\n data: {}\n - conditions:\n - condition: trigger\n id:\n - _downlight_turns_off\n sequence:\n - service: light.turn_off\n target:\n device_id: null\n data: {}\n - conditions:\n - condition: trigger\n id:\n - _switch_local_dimming\n - condition: template\n value_template: '{{ states.light._switch.last_updated > states.light._downlight.last_changed\n }}'\n sequence:\n - service: light.turn_on\n entity_id: light._downlight\n data:\n transition: 2\n kelvin: 2700\n brightness: '{{ state_attr(''light._switch'', ''brightness'') | default(0,\n true) }}'",
"config": [
{
"name": "Downlight",
"room": null,
"type": "light",
"id": {
"entity_id": "light._downlight",
"device_id": null
}
},
{
"name": "Switch Light",
"room": null,
"type": "light",
"id": {
"entity_id": "light._switch",
"device_id": null
}
}
]
},
{
"id": "cb172f97-ab95-4e69-aaaf-4790685ab87d",
"automation": "- id: cb172f97-ab95-4e69-aaaf-4790685ab87d\n alias: Routine | Kitchen | Sunrise\n description: Turn off the lights 45 minutes after sunrise\n mode: single\n trigger:\n - platform: time\n at: 08:00:00\n condition: []\n action:\n - service: light.turn_off\n data:\n transition: 2\n target:\n area_id: &id005\n - dining_room\n - kitchen",
"config": []
},
{
"id": "e75e2a71-c66d-4db8-bcc2-dd856e373c1f",
"automation": "- id: e75e2a71-c66d-4db8-bcc2-dd856e373c1f\n alias: Routine | Kitchen | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: *id005",
"config": []
},
{
"id": "f53f40a7-08e6-469c-8fe9-779e21ede6c3",
"automation": "- id: f53f40a7-08e6-469c-8fe9-779e21ede6c3\n alias: Routine | Kitchen | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60\n target:\n area_id: *id005",
"config": []
},
{
"id": "03ced7e8-00d7-445a-8efb-5c16815c0bbb",
"automation": "- id: 03ced7e8-00d7-445a-8efb-5c16815c0bbb\n alias: Routine | House | Dinner Time\n description: Turn the lights on in the kitchen to start making dinner\n mode: single\n trigger:\n - platform: time\n at: '16:45:00'\n condition: []\n action:\n - service: light.turn_on\n data:\n brightness_pct: 100\n transition: 900\n target:\n area_id: *id005",
"config": []
},
{
"id": "14bb3ffc-bbfa-404e-9d9c-cdfaa531e5d8",
"automation": "- id: 14bb3ffc-bbfa-404e-9d9c-cdfaa531e5d8\n alias: Routine | Kitchen | Away\n description: Everyone has left the house, turn off the Kitchen Lights if the time\n is before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.family_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id005\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - service: notify.mobile_app_dan_s_phone\n metadata: {}\n data:\n title: Everyone is away\n message: The Kitchen Lights have turned off!",
"config": [
{
"name": "family home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.family_home",
"device_id": null
}
}
]
},
{
"id": "73db59ea-b4ef-4b9e-9990-ee8bf6be994c",
"automation": "- id: 73db59ea-b4ef-4b9e-9990-ee8bf6be994c\n alias: Routine | Living Room | Sunrise\n description: Turn off the lights 45 minutes after sunrise\n mode: single\n trigger:\n - platform: time\n at: 08:00:00\n condition: []\n action:\n - service: light.turn_off\n data:\n transition: 2\n target:\n area_id: &id006\n - living_room",
"config": []
},
{
"id": "0e7b26f8-d2f6-439b-bde6-ca100d8570e7",
"automation": "- id: 0e7b26f8-d2f6-439b-bde6-ca100d8570e7\n alias: Routine | Living Room | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: *id006",
"config": []
},
{
"id": "499a815a-3962-4d7b-9f91-90e0906ec376",
"automation": "- id: 499a815a-3962-4d7b-9f91-90e0906ec376\n alias: Routine | Living Room | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60\n target:\n area_id: *id006",
"config": []
},
{
"id": "98060966-fabb-4b4b-ae63-4b45f1b6b13c",
"automation": "- id: 98060966-fabb-4b4b-ae63-4b45f1b6b13c\n alias: Routine | Living Room | Away\n description: Everyone has left the house, turn off the Living Room Lights if the\n time is before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.family_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id006",
"config": [
{
"name": "family home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.family_home",
"device_id": null
}
}
]
},
{
"id": "23edfdb2-f2f6-4df2-9879-7c83856d1820",
"automation": "- id: 23edfdb2-f2f6-4df2-9879-7c83856d1820\n alias: Motion Sensor | Master Bathroom | Ambient\n description: Master Bathroom Motion Sensor turns on ambient lights, schedules them\n to turn off, and dims them at night\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.master_bathroom_sensor_occupancy_2\n to: 'on'\n id: master_bathroom_sensor_detected\n - platform: state\n entity_id:\n - binary_sensor.master_bathroom_sensor_occupancy_2\n to: 'off'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n id: master_bathroom_sensor_area_cleared\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - master_bathroom_sensor_area_cleared\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.master_bathroom_lightstrip\n data:\n transition: 2\n - conditions:\n - condition: trigger\n id:\n - master_bathroom_sensor_detected\n - condition: state\n entity_id: schedule.daytime\n state: 'on'\n sequence:\n - service: light.turn_on\n target:\n area_id: master_bathroom\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n - conditions:\n - condition: trigger\n id:\n - master_bathroom_sensor_detected\n - condition: state\n entity_id: schedule.daytime\n state: 'off'\n sequence:\n - service: light.turn_on\n target:\n entity_id: light.master_bathroom_lightstrip\n data:\n transition: 2\n brightness_pct: 20\n color_temp_kelvin: 2237",
"config": [
{
"name": "master bathroom occupancy sensor",
"room": "master bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.master_bathroom_sensor_occupancy_2",
"device_id": null
}
},
{
"name": "master bathroom lightstrip",
"room": "master bathroom",
"type": "light",
"id": {
"entity_id": "light.master_bathroom_lightstrip",
"device_id": null
}
},
{
"name": "Daytime Schedule",
"room": null,
"type": "schedule",
"id": {
"entity_id": "schedule.daytime",
"device_id": null
}
}
]
},
{
"id": "f0a25d51-92a9-4918-a033-87211ca59ee1",
"automation": "- id: f0a25d51-92a9-4918-a033-87211ca59ee1\n alias: Routine | Master Bathroom | Away\n description: Turn off the master bathroom lights when the parents are away\n mode: single\n initial_state: true\n trigger:\n platform: state\n entity_id: binary_sensor.parents_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: &id007\n - master_bathroom\n - service: switch.turn_off\n metadata: {}\n data: {}\n target:\n area_id: *id007",
"config": [
{
"name": "parents home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.parents_home",
"device_id": null
}
}
]
},
{
"id": "0fbc2f32-4ac7-432d-a3dc-98dc15f48e5c",
"automation": "- id: 0fbc2f32-4ac7-432d-a3dc-98dc15f48e5c\n alias: Routine | Master Bedroom | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n entity_id: &id008\n - light.master_bedroom_light_1\n - light.master_bedroom_light_2\n - light.master_bedroom_light_switch\n - light.master_bedroom_ceiling_light\n - light.master_bedroom_ceiling_light_switch\n - light.master_bedroom_surround_light_1\n - light.master_bedroom_surround_light_2\n - light.master_bedroom_surround_light_3\n - light.master_bedroom_surround_light_4\n - light.master_bedroom_surround_light_5\n - light.master_bedroom_surround_light_switch",
"config": [
{
"name": "master bedroom light 1",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_light_1",
"device_id": null
}
},
{
"name": "master bedroom light 2",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_light_2",
"device_id": null
}
},
{
"name": "master bedroom light switch",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_light_switch",
"device_id": null
}
},
{
"name": "master bedroom ceiling light",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_light",
"device_id": null
}
},
{
"name": "master bedroom ceiling light switch",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_ceiling_light_switch",
"device_id": null
}
},
{
"name": "master bedroom surround light 1",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_1",
"device_id": null
}
},
{
"name": "master bedroom surround light 2",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_2",
"device_id": null
}
},
{
"name": "master bedroom surround light 3",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_3",
"device_id": null
}
},
{
"name": "master bedroom surround light 4",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_4",
"device_id": null
}
},
{
"name": "master bedroom surround light 5",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_5",
"device_id": null
}
},
{
"name": "master bedroom surround light switch",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_switch",
"device_id": null
}
}
]
},
{
"id": "c03a9f48-2c98-4d19-a10c-64b3bef2a9bd",
"automation": "- id: c03a9f48-2c98-4d19-a10c-64b3bef2a9bd\n alias: Routine | Master Bedroom | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n target:\n entity_id: *id008\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60",
"config": []
},
{
"id": "84be444f-0bc8-44a1-ba92-afa951459267",
"automation": "- id: 84be444f-0bc8-44a1-ba92-afa951459267\n alias: Routine | Master Bedroom | Away\n description: Everyone has left the house, turn off the Master Bedroom Lights if\n the time is before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.parents_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n entity_id: *id008",
"config": [
{
"name": "parents home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.parents_home",
"device_id": null
}
}
]
},
{
"id": "b1d2683a-f4a9-4b73-a915-1550141d2522",
"automation": "- id: b1d2683a-f4a9-4b73-a915-1550141d2522\n alias: Routine | Master Bedroom | Wake Up\n description: Master Bedroom devices turn off when it's morning and Dan and Stephanie\n are out of bed for at least 3 minutes\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.we_are_out_of_bed\n to: 'on'\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition:\n - condition: time\n before: '10:00:00'\n action:\n - service: humidifier.turn_off\n target:\n entity_id: humidifier.master_bedroom_diffuser\n data: {}\n - service: fan.turn_off\n target:\n entity_id: fan.master_bedroom_tower_fan\n data: {}",
"config": [
{
"name": "we are out of bed sensor",
"room": "master bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.we_are_out_of_bed",
"device_id": null
}
},
{
"name": "master bedroom diffuser",
"room": "master bedroom",
"type": "humidifier",
"id": {
"entity_id": "humidifier.master_bedroom_diffuser",
"device_id": null
}
},
{
"name": "master bedroom tower fan",
"room": "master bedroom",
"type": "fan",
"id": {
"entity_id": "fan.master_bedroom_tower_fan",
"device_id": null
}
}
]
},
{
"id": "f4f7be88-33bd-4c61-b246-c74347d14a5e",
"automation": "- id: f4f7be88-33bd-4c61-b246-c74347d14a5e\n alias: Routine | Master Bedroom | Goodnight\n description: Turn off the Master Bedroom\n mode: single\n trigger:\n - platform: state\n entity_id:\n - input_boolean.good_night\n to: 'on'\n condition: []\n action:\n - service: light.turn_off\n target:\n area_id:\n - master_bedroom\n - service: fan.turn_on\n data:\n percentage: 33\n target:\n entity_id: fan.master_bedroom_tower_fan\n metadata: {}",
"config": [
{
"name": "good night boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.good_night",
"device_id": null
}
},
{
"name": "master bedroom tower fan",
"room": "master bedroom",
"type": "fan",
"id": {
"entity_id": "fan.master_bedroom_tower_fan",
"device_id": null
}
}
]
},
{
"id": "152dd72a-4354-41bf-ab8a-ec2c260dba0f",
"automation": "- id: 152dd72a-4354-41bf-ab8a-ec2c260dba0f\n alias: Routine | Master Bedroom | Goodnight when Dan is Home\n description: Turn off the Master Bedroom, but only when Dan is at home\n mode: single\n trigger:\n - platform: state\n entity_id:\n - input_boolean.good_night\n to: 'on'\n condition:\n - condition: state\n entity_id: person.daniel_frey\n state: home\n action:\n - service: scene.turn_on\n target:\n entity_id: scene.turn_on_diffuser\n metadata: {}",
"config": [
{
"name": "good night boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.good_night",
"device_id": null
}
},
{
"name": "daniel frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.daniel_frey",
"device_id": null
}
},
{
"name": "Turn On Diffuser Scene",
"room": null,
"type": "scene",
"id": {
"entity_id": "scene.turn_on_diffuser",
"device_id": null
}
}
]
},
{
"id": "a9565c57-9cd9-4dbc-b38b-4f327fd14458",
"automation": "- id: a9565c57-9cd9-4dbc-b38b-4f327fd14458\n alias: Automation | Master Bedroom | Entertainment Lights\n description: Turn on or off the Entertainment Lights\n mode: single\n triggers:\n - domain: mqtt\n device_id: a2ac8391f7b7364918d3155b0d74381e\n type: action\n subtype: up_double\n trigger: device\n id: up_double\n - domain: mqtt\n device_id: a2ac8391f7b7364918d3155b0d74381e\n type: action\n subtype: down_single\n trigger: device\n id: down_single\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - up_double\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n transition: 4\n color_temp_kelvin: 2700\n brightness_pct: 75\n target:\n entity_id:\n - light.master_bedroom_surround_light_1\n - light.master_bedroom_surround_light_2\n - conditions:\n - condition: trigger\n id:\n - down_single\n sequence:\n - action: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n entity_id:\n - light.master_bedroom_surround_light_1\n - light.master_bedroom_surround_light_2",
"config": [
{
"name": "master bedroom surround light 1",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_1",
"device_id": null
}
},
{
"name": "master bedroom surround light 2",
"room": "master bedroom",
"type": "light",
"id": {
"entity_id": "light.master_bedroom_surround_light_2",
"device_id": null
}
},
{
"name": "master bedroom entertainment switch",
"room": "master bedroom",
"type": "switch",
"id": {
"entity_id": null,
"device_id": "a2ac8391f7b7364918d3155b0d74381e"
}
}
]
},
{
"id": "8e954b7f-6483-495e-918a-651e12b1a501",
"automation": "- id: 8e954b7f-6483-495e-918a-651e12b1a501\n alias: Motion Sensor | Master Closet | Automation\n description: Turn Master Closet Downlight on or off when Master Closet Motion Sensor\n is detected or cleared\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.master_closet_sensor_occupancy\n to: 'on'\n id: master_closet_sensor_motion_detected\n - platform: state\n entity_id:\n - binary_sensor.master_closet_sensor_occupancy\n to: 'off'\n id: master_closet_sensor_area_cleared\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - master_closet_sensor_motion_detected\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: master_closet\n - conditions:\n - condition: trigger\n id:\n - master_closet_sensor_area_cleared\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: master_closet",
"config": [
{
"name": "master closet occupancy sensor",
"room": "master closet",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.master_closet_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "a78f01c0-53af-4703-89d3-c04fb55bd6c5",
"automation": "- id: a78f01c0-53af-4703-89d3-c04fb55bd6c5\n alias: Routine | Molly's Room | Wake Up\n description: Turn on Molly's Room Lights if it's a School Day and not a Holiday\n or Snow Day\n mode: queued\n max: 10\n trigger:\n - platform: time\n at: 05:25:00\n condition:\n - condition: zone\n entity_id: person.molly_frey\n zone: zone.home\n - condition: state\n entity_id: binary_sensor.school_day\n state: 'on'\n - condition: not\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.holiday\n state: 'on'\n - condition: state\n entity_id: binary_sensor.snow_day\n state: 'on'\n action:\n - service: light.turn_on\n target:\n area_id: molly_s_room\n data:\n transition: 300\n color_temp_kelvin: 2700\n brightness_pct: 100",
"config": [
{
"name": "school day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.school_day",
"device_id": null
}
},
{
"name": "holiday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.holiday",
"device_id": null
}
},
{
"name": "snow day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.snow_day",
"device_id": null
}
},
{
"name": "molly frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.molly_frey",
"device_id": null
}
}
]
},
{
"id": "68890773-dafe-4248-824f-83efc7591979",
"automation": "- id: 68890773-dafe-4248-824f-83efc7591979\n alias: Routine | Molly's Room | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition:\n - condition: zone\n entity_id: person.molly_frey\n zone: zone.home\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id:\n - molly_s_room",
"config": [
{
"name": "molly frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.molly_frey",
"device_id": null
}
}
]
},
{
"id": "c1f67ab1-d41b-4073-9a69-4345b4604260",
"automation": "- id: c1f67ab1-d41b-4073-9a69-4345b4604260\n alias: Routine | Molly's Room | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition:\n - condition: zone\n entity_id: person.molly_frey\n zone: zone.home\n action:\n - service: light.turn_on\n metadata: {}\n target:\n area_id:\n - molly_s_room\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60",
"config": [
{
"name": "molly frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.molly_frey",
"device_id": null
}
}
]
},
{
"id": "69139fbb-ad53-4b80-9944-56f12d8aa90f",
"automation": "- id: 69139fbb-ad53-4b80-9944-56f12d8aa90f\n alias: Routine | Molly's Room | Away\n description: Turn off the lights in Molly's Room when Molly is away\n mode: single\n trigger:\n - platform: zone\n entity_id: person.molly_frey\n zone: zone.home\n event: leave\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n area_id: molly_s_room",
"config": [
{
"name": "molly frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.molly_frey",
"device_id": null
}
}
]
},
{
"id": "3da19d05-6cdb-40d0-b324-b8ac8b10031b",
"automation": "- id: 3da19d05-6cdb-40d0-b324-b8ac8b10031b\n alias: Routine | Molly's Room | Arrive Home\n description: Turn on Molly's Room Lights when she arrives home and it's after sunset\n mode: single\n trigger:\n - platform: zone\n entity_id: person.molly_frey\n zone: zone.home\n event: enter\n condition:\n - condition: sun\n after: sunset\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 75\n target:\n area_id: molly_s_room",
"config": [
{
"name": "molly frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.molly_frey",
"device_id": null
}
}
]
},
{
"id": "ea14801e-829f-4b4c-8f2f-fd653116528e",
"automation": "- id: ea14801e-829f-4b4c-8f2f-fd653116528e\n alias: Routine | Office | Workday\n description: It's time to go to work\n mode: single\n trigger:\n - platform: time\n at: 08:10:00\n id: workday_start\n - platform: time\n at: '10:00:00'\n id: workday_mid_morning\n - platform: time\n at: '13:00:00'\n id: workday_lunch\n - platform: time\n at: '14:00:00'\n id: workday_after_lunch\n - platform: time\n at: '15:30:00'\n id: workday_mid_afternoon\n - platform: time\n at: '16:45:00'\n id: workday_evening\n condition:\n - condition: zone\n entity_id: person.daniel_frey\n zone: zone.home\n - condition: state\n entity_id: binary_sensor.work_day\n state: 'on'\n - condition: not\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.work_holiday\n state: 'on'\n - condition: state\n entity_id: binary_sensor.work_travel\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - workday_start\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 1\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: office\n - service: tts.speak\n metadata: {}\n data:\n cache: true\n media_player_entity_id: media_player.office\n message: It's time to start your work day. Have a great day!\n target:\n entity_id: tts.google_en_com\n - conditions:\n - condition: trigger\n id:\n - workday_mid_morning\n sequence:\n - service: tts.speak\n metadata: {}\n data:\n cache: true\n media_player_entity_id: media_player.office\n message: It's time to stand up and stretch. Let's take a break for 10 minutes.\n target:\n entity_id: tts.google_en_com\n - conditions:\n - condition: trigger\n id:\n - workday_lunch\n sequence:\n - service: tts.speak\n metadata: {}\n data:\n cache: true\n media_player_entity_id: media_player.office\n message: It's time for lunch! Remember to wash your hands!\n target:\n entity_id: tts.google_en_com\n - conditions:\n - condition: trigger\n id:\n - workday_after_lunch\n sequence:\n - service: tts.speak\n metadata: {}\n data:\n cache: true\n media_player_entity_id: media_player.office\n message: Hope your having a good day! Wamt to go for a walk?\n target:\n entity_id: tts.google_en_com\n - conditions:\n - condition: trigger\n id:\n - workday_mid_afternoon\n sequence:\n - service: tts.speak\n metadata: {}\n data:\n cache: true\n media_player_entity_id: media_player.office\n message: Let's go grab a glass of water. And why don't you go wash your\n hands?\n target:\n entity_id: tts.google_en_com\n - conditions:\n - condition: trigger\n id:\n - workday_evening\n sequence:\n - service: tts.speak\n metadata: {}\n data:\n cache: true\n media_player_entity_id: media_player.office\n message: Time to start wrapping up your work day and plan for dinner!\n target:\n entity_id: tts.google_en_com",
"config": [
{
"name": "work day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.work_day",
"device_id": null
}
},
{
"name": "work holiday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.work_holiday",
"device_id": null
}
},
{
"name": "work travel sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.work_travel",
"device_id": null
}
},
{
"name": "office media player",
"room": "office",
"type": "media_player",
"id": {
"entity_id": "media_player.office",
"device_id": null
}
},
{
"name": "daniel frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.daniel_frey",
"device_id": null
}
},
{
"name": "Google TTS",
"room": null,
"type": "tts",
"id": {
"entity_id": "tts.google_en_com",
"device_id": null
}
}
]
},
{
"id": "49cb1865-323a-4211-8298-cafcd33ccd9b",
"automation": "- id: 49cb1865-323a-4211-8298-cafcd33ccd9b\n alias: Routine | Office | Close the Office\n description: The Office is closed\n mode: single\n trigger:\n - platform: time\n at: '18:00:00'\n condition: []\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n area_id: office",
"config": []
},
{
"id": "bd94adbb-6d48-41e8-ba41-deb8f9538bd5",
"automation": "- id: bd94adbb-6d48-41e8-ba41-deb8f9538bd5\n alias: Routine | Family Room | Sunrise\n description: Turn off the lights 45 minutes after sunrise\n mode: single\n trigger:\n - platform: time\n at: 08:00:00\n condition: []\n action:\n - service: light.turn_off\n data:\n transition: 2\n target:\n area_id: &id009\n - family_room",
"config": []
},
{
"id": "3f4c0fdf-d9ef-468e-a973-8e7fa82c7483",
"automation": "- id: 3f4c0fdf-d9ef-468e-a973-8e7fa82c7483\n alias: Routine | Family Room | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n area_id: *id009",
"config": []
},
{
"id": "a85932d9-ff4e-486b-a3a1-89b07e84feef",
"automation": "- id: a85932d9-ff4e-486b-a3a1-89b07e84feef\n alias: Routine | Family Room | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60\n target:\n area_id: *id009",
"config": []
},
{
"id": "7c7bcd97-f955-4f9d-b85b-7fb36a0ff198",
"automation": "- id: 7c7bcd97-f955-4f9d-b85b-7fb36a0ff198\n alias: Routine | Family Room | Away\n description: Everyone has left the house, turn off the Family Room Lights if the\n time is before sunset\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.family_home\n from: 'on'\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: sun\n before: sunset\n action:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: *id009\n - service: switch.turn_off\n metadata: {}\n data: {}\n target:\n area_id:\n - family_room\n - family_room_ambient",
"config": [
{
"name": "family home sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.family_home",
"device_id": null
}
}
]
},
{
"id": "33054812-ad0f-4412-af49-9aae78c484bd",
"automation": "- id: 33054812-ad0f-4412-af49-9aae78c484bd\n alias: Routine | Firepit | Sunset\n description: Firepit Lights turn on or off\n mode: single\n trigger:\n - trigger: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - trigger: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n - trigger: state\n entity_id:\n - input_boolean.light_reset\n to: 'on'\n id: light_reset\n condition: []\n action:\n - choose:\n - conditions:\n - alias: It's just before sunset or light reset and there is no custom schedule\n set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'False'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.barn_door_light\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - service: light.turn_on\n metadata: {}\n data:\n color_temp_kelvin: 2700\n brightness_pct: 100\n target:\n entity_id:\n - light.barn_door_light\n - conditions:\n - alias: It's just before sunset or light reset and a custom light schedule\n is set\n and:\n - condition: state\n entity_id: sensor.custom_light_schedule\n state: 'True'\n - or:\n - condition: trigger\n id:\n - just_before_sunset\n - condition: trigger\n id:\n - light_reset\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id: script.firepit_custom_light_scene\n data:\n variables:\n scene: \"{% if has_value('input_select.custom_light_scene_selections')\\\n \\ %}\\n {{ states('input_select.custom_light_scene_selections') }}\\n\\\n {% else %}\\n Savanna sunset\\n{% endif %}\\n\"\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 30\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.barn_door_light\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.light_reset",
"config": [
{
"name": "custom light scene selections",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.custom_light_scene_selections",
"device_id": null
}
},
{
"name": "custom light schedule sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.custom_light_schedule",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "barn door light",
"room": "barn",
"type": "light",
"id": {
"entity_id": "light.barn_door_light",
"device_id": null
}
},
{
"name": "Firepit Custom Light Scene Script",
"room": "Firepit",
"type": "script",
"id": {
"entity_id": "script.firepit_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "a54f6e03-4ce2-4fe0-8cb3-923cba043e23",
"automation": "- id: a54f6e03-4ce2-4fe0-8cb3-923cba043e23\n alias: Notification | Mail Box | Mailbox Opened\n description: Send a notification when the mailbox is opened\n mode: single\n trigger:\n - platform: state\n entity_id: input_boolean.mailbox_guard_motion\n to: 'on'\n condition: []\n action:\n - service: notify.parent_devices\n data:\n title: Mailbox Opened!\n message: The mailbox was opened.\n data:\n url: /lovelace/home\n persistent: true\n importance: high\n channel: MailBox\n tag: mailbox\n image: /media/local/notify/mailbox.jpg\n actions:\n - action: received\n title: I checked the mailbox\n - service: input_number.set_value\n data:\n entity_id: input_number.mailbox_guard_count\n value: '{{ (states.input_number.mailbox_guard_count.state | int) + 1 }}'\n - service: input_boolean.turn_off\n data:\n entity_id: input_boolean.mailbox_guard_motion",
"config": [
{
"name": "mailbox guard motion boolean",
"room": "mailbox",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.mailbox_guard_motion",
"device_id": null
}
},
{
"name": "mailbox guard count",
"room": "mailbox",
"type": "input_number",
"id": {
"entity_id": "input_number.mailbox_guard_count",
"device_id": null
}
}
]
},
{
"id": "95dc4665-c395-4a9a-b877-df95b7d54664",
"automation": "- id: 95dc4665-c395-4a9a-b877-df95b7d54664\n alias: Notification | Mail Box | Low Battery\n description: Send a notification the mailbox sensor battery is low\n mode: single\n trigger:\n - platform: state\n entity_id: input_boolean.mailbox_guard_low_battery\n to: 'on'\n condition: []\n action:\n - service: notify.parent_devices\n data:\n message: Mailbox Guard Low Battery!\n - service: input_boolean.turn_off\n data:\n entity_id: input_boolean.mailbox_guard_low_battery",
"config": [
{
"name": "mailbox guard low battery boolean",
"room": "mailbox",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.mailbox_guard_low_battery",
"device_id": null
}
}
]
},
{
"id": "b4dca479-7cdc-41a8-adb9-6c4b3a31d1cb",
"automation": "- id: b4dca479-7cdc-41a8-adb9-6c4b3a31d1cb\n alias: Automation | Workshop | Turn lights on or off when door lock changes\n description: Turn the Workshop lights on or off when the door lock changes\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.workshop_lock\n to: 'on'\n id: workshop_opened\n - trigger: state\n entity_id:\n - input_boolean.workshop_lock\n to: 'off'\n id: workshop_closed\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - workshop_opened\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n transition: 2\n brightness_pct: 100\n target:\n area_id: workshop\n - conditions:\n - condition: trigger\n id:\n - workshop_closed\n sequence:\n - action: light.turn_off\n metadata: {}\n data:\n transition: 2\n target:\n area_id: workshop",
"config": [
{
"name": "workshop lock boolean",
"room": "workshop",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.workshop_lock",
"device_id": null
}
}
]
},
{
"id": "d1e5d21c-a46d-48ed-b2e0-9a35d1d2ad24",
"automation": "- id: d1e5d21c-a46d-48ed-b2e0-9a35d1d2ad24\n alias: Routine | Patio | Sunset\n description: Turn on the lights 30 minutes before sunset\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:30:00\n condition: []\n action:\n - service: light.turn_on\n target: &id010\n area_id:\n - patio\n entity_id:\n - light.patio_light_switch\n data:\n transition: 2\n color_temp_kelvin: 2700\n brightness_pct: 100",
"config": [
{
"name": "patio light switch",
"room": "patio",
"type": "light",
"id": {
"entity_id": "light.patio_light_switch",
"device_id": null
}
}
]
},
{
"id": "1ab71119-81b3-4b1c-ae7d-803c79446bd1",
"automation": "- id: 1ab71119-81b3-4b1c-ae7d-803c79446bd1\n alias: Routine | Patio | Relax\n description: It's time to relax\n mode: single\n trigger:\n - platform: time\n at: '20:15:00'\n condition: []\n action:\n - service: light.turn_on\n metadata: {}\n target: *id010\n data:\n transition: 5\n color_temp_kelvin: 2237\n brightness_pct: 60",
"config": []
},
{
"id": "''",
"automation": "- id: ''\n alias: 'Switch | Automation | '\n description: ' Switch turns Lights on or off, dimming available'\n mode: queued\n max: 10\n trigger:\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: on_press\n id: _button_on_press\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: up_press\n id: _button_up_press\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: down_press_release\n id: _button_down_press\n - platform: device\n domain: mqtt\n device_id: null\n type: action\n subtype: off_press\n id: _button_off_press\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - _button_on_press\n sequence:\n - service: light.turn_on\n target:\n area_id: null\n data:\n transition: 1\n kelvin: 2700\n brightness_pct: 100\n - conditions:\n - condition: trigger\n id:\n - _button_off_press\n sequence:\n - service: light.turn_off\n target:\n area_id: null\n data:\n transition: 1\n - conditions:\n - condition: trigger\n id:\n - _button_up_press\n sequence:\n - service: light.turn_on\n target:\n entity_id: light._light_1\n data:\n brightness_step_pct: 10\n kelvin: 2700\n - conditions:\n - condition: trigger\n id:\n - _button_down_press\n sequence:\n - service: light.turn_on\n target:\n entity_id: light._light_1\n data:\n brightness_step_pct: -10\n kelvin: 2700",
"config": [
{
"name": "Light 1",
"room": null,
"type": "light",
"id": {
"entity_id": "light._light_1",
"device_id": null
}
}
]
},
{
"id": "eb376f46-cbe0-49de-8bc3-2f1ba8e695a6",
"automation": "- id: eb376f46-cbe0-49de-8bc3-2f1ba8e695a6\n alias: Routine | Security Lights | Side Yard\n description: Side Yard Security Lights turn on or off\n mode: single\n trigger:\n - platform: sun\n event: sunset\n offset: -00:45\n id: just_before_sunset\n - platform: sun\n event: sunrise\n offset: 00:20:00\n id: just_after_sunrise\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - just_before_sunset\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: 70\n target:\n entity_id:\n - light.side_yard_security_light_1\n - light.side_yard_security_light_2\n - light.side_yard_security_light_3\n - light.side_yard_security_light_4\n - conditions:\n - condition: trigger\n id:\n - just_after_sunrise\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.side_yard_security_light_1\n - light.side_yard_security_light_2\n - light.side_yard_security_light_3\n - light.side_yard_security_light_4",
"config": [
{
"name": "side yard security light 1",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_1",
"device_id": null
}
},
{
"name": "side yard security light 2",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_2",
"device_id": null
}
},
{
"name": "side yard security light 3",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_3",
"device_id": null
}
},
{
"name": "side yard security light 4",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_4",
"device_id": null
}
}
]
},
{
"id": "94a804a6-9105-42db-84bc-745b571aeba3",
"automation": "- id: 94a804a6-9105-42db-84bc-745b571aeba3\n alias: Motion Sensor | Security Lights | Side Yard\n description: Side Yard Security Lights Automations\n mode: single\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.side_yard_sensor_occupancy\n to: 'on'\n id: side_yard_sensor_motion_detected\n - platform: state\n entity_id:\n - binary_sensor.side_yard_sensor_occupancy\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n id: side_yard_sensor_area_cleared\n condition:\n condition: or\n conditions:\n - condition: time\n after: '23:00:00'\n weekday:\n - sun\n - mon\n - tue\n - wed\n - thu\n - fri\n - sat\n - condition: sun\n before: sunrise\n before_offset: 00:15:00\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - side_yard_sensor_motion_detected\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n transition: 2\n brightness_pct: 50\n target:\n entity_id:\n - light.side_yard_security_light_1\n - light.side_yard_security_light_2\n - light.side_yard_security_light_3\n - light.side_yard_security_light_4\n - conditions:\n - condition: trigger\n id:\n - side_yard_sensor_area_cleared\n sequence:\n - service: light.turn_off\n metadata: {}\n data:\n transition: 4\n target:\n entity_id:\n - light.side_yard_security_light_1\n - light.side_yard_security_light_2\n - light.side_yard_security_light_3\n - light.side_yard_security_light_4",
"config": [
{
"name": "side yard security light 1",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_1",
"device_id": null
}
},
{
"name": "side yard security light 2",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_2",
"device_id": null
}
},
{
"name": "side yard security light 3",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_3",
"device_id": null
}
},
{
"name": "side yard security light 4",
"room": "side yard",
"type": "light",
"id": {
"entity_id": "light.side_yard_security_light_4",
"device_id": null
}
},
{
"name": "side yard occupancy sensor",
"room": "side yard",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.side_yard_sensor_occupancy",
"device_id": null
}
}
]
},
{
"id": "f302181e-c4ea-4549-92b1-972cb39e689b",
"automation": "- id: f302181e-c4ea-4549-92b1-972cb39e689b\n alias: Game Time | Philadelphia Eagles\n description: 'Game Time: The Philadelphia Eagles are on'\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - calendar.philadelphia_eagles\n to: 'on'\n id: game_started\n - trigger: state\n entity_id:\n - calendar.philadelphia_eagles\n to: 'off'\n id: game_ended\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - game_started\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.driveway_custom_light_scene\n - script.firepit_custom_light_scene\n - script.front_porch_custom_light_scene\n - script.front_yard_custom_light_scene\n - script.patio_custom_light_scene\n data: &id011\n variables:\n scene: 'Special: My scene'\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 45\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n my_scene:\n c:\n - - 0.217\n - 0.302\n - - 0.304\n - 0.325\n b: 0.6\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.winter\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_eve\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_day\n state: 'on'\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.front_yard_holiday_custom_light_scene\n data: *id011\n - conditions:\n - condition: trigger\n id:\n - game_ended\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.light_reset",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "philadelphia eagles calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.philadelphia_eagles",
"device_id": null
}
},
{
"name": "christmas eve sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_eve",
"device_id": null
}
},
{
"name": "christmas day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_day",
"device_id": null
}
},
{
"name": "Driveway Custom Light Scene Script",
"room": "Driveway",
"type": "script",
"id": {
"entity_id": "script.driveway_custom_light_scene",
"device_id": null
}
},
{
"name": "Firepit Custom Light Scene Script",
"room": "Firepit",
"type": "script",
"id": {
"entity_id": "script.firepit_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Porch Custom Light Scene Script",
"room": "Front Porch",
"type": "script",
"id": {
"entity_id": "script.front_porch_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Holiday Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_holiday_custom_light_scene",
"device_id": null
}
},
{
"name": "Patio Custom Light Scene Script",
"room": "Patio",
"type": "script",
"id": {
"entity_id": "script.patio_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "738a8a9c-9792-4b41-819b-ea4cca648a8b",
"automation": "- id: 738a8a9c-9792-4b41-819b-ea4cca648a8b\n alias: Game Time | Philadelphia Flyers\n description: 'Game Time: The Philadelphia Flyers are on'\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - calendar.philadelphia_flyers\n to: 'on'\n id: game_started\n - trigger: state\n entity_id:\n - calendar.philadelphia_flyers\n to: 'off'\n id: game_ended\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - game_started\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.driveway_custom_light_scene\n - script.firepit_custom_light_scene\n - script.front_porch_custom_light_scene\n - script.front_yard_custom_light_scene\n - script.patio_custom_light_scene\n data: &id012\n variables:\n scene: 'Special: My scene'\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 45\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n my_scene:\n c:\n - - 0.599\n - 0.362\n - - 0.313\n - 0.329\n b: 0.6\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.winter\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_eve\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_day\n state: 'on'\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.front_yard_holiday_custom_light_scene\n data: *id012\n - conditions:\n - condition: trigger\n id:\n - game_ended\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.light_reset",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "philadelphia flyers calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.philadelphia_flyers",
"device_id": null
}
},
{
"name": "christmas eve sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_eve",
"device_id": null
}
},
{
"name": "christmas day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_day",
"device_id": null
}
},
{
"name": "Driveway Custom Light Scene Script",
"room": "Driveway",
"type": "script",
"id": {
"entity_id": "script.driveway_custom_light_scene",
"device_id": null
}
},
{
"name": "Firepit Custom Light Scene Script",
"room": "Firepit",
"type": "script",
"id": {
"entity_id": "script.firepit_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Porch Custom Light Scene Script",
"room": "Front Porch",
"type": "script",
"id": {
"entity_id": "script.front_porch_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Holiday Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_holiday_custom_light_scene",
"device_id": null
}
},
{
"name": "Patio Custom Light Scene Script",
"room": "Patio",
"type": "script",
"id": {
"entity_id": "script.patio_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "02d2b12a-ca52-4b67-901c-b24a760282a1",
"automation": "- id: 02d2b12a-ca52-4b67-901c-b24a760282a1\n alias: Game Time | Penn St Nittany Lions\n description: 'Game Time: Penn St Nittany Lions are on'\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - calendar.penn_state_nittany_lions_football\n to: 'on'\n id: game_started\n - trigger: state\n entity_id:\n - calendar.penn_state_nittany_lions_football\n to: 'off'\n id: game_ended\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - game_started\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.driveway_custom_light_scene\n - script.firepit_custom_light_scene\n - script.front_porch_custom_light_scene\n - script.front_yard_custom_light_scene\n - script.patio_custom_light_scene\n data: &id013\n variables:\n scene: 'Special: My scene'\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 45\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n my_scene:\n c:\n - - 0.18\n - 0.175\n - - 0.304\n - 0.325\n b: 0.6\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.winter\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_eve\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_day\n state: 'on'\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.front_yard_holiday_custom_light_scene\n data: *id013\n - conditions:\n - condition: trigger\n id:\n - game_ended\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.light_reset",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "penn state nittany lions calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.penn_state_nittany_lions_football",
"device_id": null
}
},
{
"name": "christmas eve sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_eve",
"device_id": null
}
},
{
"name": "christmas day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_day",
"device_id": null
}
},
{
"name": "Driveway Custom Light Scene Script",
"room": "Driveway",
"type": "script",
"id": {
"entity_id": "script.driveway_custom_light_scene",
"device_id": null
}
},
{
"name": "Firepit Custom Light Scene Script",
"room": "Firepit",
"type": "script",
"id": {
"entity_id": "script.firepit_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Porch Custom Light Scene Script",
"room": "Front Porch",
"type": "script",
"id": {
"entity_id": "script.front_porch_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Holiday Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_holiday_custom_light_scene",
"device_id": null
}
},
{
"name": "Patio Custom Light Scene Script",
"room": "Patio",
"type": "script",
"id": {
"entity_id": "script.patio_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "14f666a9-0e2e-4a87-adf1-57e0fc29231a",
"automation": "- id: 14f666a9-0e2e-4a87-adf1-57e0fc29231a\n alias: Game Time | Philadelphia Phillies\n description: 'Game Time: The Philadelphia Phillies are on'\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - calendar.philadelphia_phillies\n to: 'on'\n id: game_started\n - trigger: state\n entity_id:\n - calendar.philadelphia_phillies\n to: 'off'\n id: game_ended\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - game_started\n sequence:\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.driveway_custom_light_scene\n - script.firepit_custom_light_scene\n - script.front_porch_custom_light_scene\n - script.front_yard_custom_light_scene\n - script.patio_custom_light_scene\n data: &id014\n variables:\n scene: 'Special: My scene'\n repeat_delay:\n hours: 0\n minutes: 0\n seconds: 45\n onlyonlights: false\n use_scene_brightness: false\n brightness: 100\n my_scene:\n c:\n - - 0.609\n - 0.321\n - - 0.17\n - 0.133\n - - 0.313\n - 0.329\n b: 0.6\n - condition: or\n conditions:\n - condition: state\n entity_id: binary_sensor.winter\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_eve\n state: 'on'\n - condition: state\n entity_id: binary_sensor.christmas_day\n state: 'on'\n - action: script.turn_on\n metadata: {}\n target:\n entity_id:\n - script.front_yard_holiday_custom_light_scene\n data: *id014\n - conditions:\n - condition: trigger\n id:\n - game_ended\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.light_reset",
"config": [
{
"name": "winter sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.winter",
"device_id": null
}
},
{
"name": "christmas sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas",
"device_id": null
}
},
{
"name": "light reset boolean",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.light_reset",
"device_id": null
}
},
{
"name": "philadelphia phillies calendar",
"room": null,
"type": "calendar",
"id": {
"entity_id": "calendar.philadelphia_phillies",
"device_id": null
}
},
{
"name": "christmas eve sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_eve",
"device_id": null
}
},
{
"name": "christmas day sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.christmas_day",
"device_id": null
}
},
{
"name": "Driveway Custom Light Scene Script",
"room": "Driveway",
"type": "script",
"id": {
"entity_id": "script.driveway_custom_light_scene",
"device_id": null
}
},
{
"name": "Firepit Custom Light Scene Script",
"room": "Firepit",
"type": "script",
"id": {
"entity_id": "script.firepit_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Porch Custom Light Scene Script",
"room": "Front Porch",
"type": "script",
"id": {
"entity_id": "script.front_porch_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_custom_light_scene",
"device_id": null
}
},
{
"name": "Front Yard Holiday Custom Light Scene Script",
"room": "Front Yard",
"type": "script",
"id": {
"entity_id": "script.front_yard_holiday_custom_light_scene",
"device_id": null
}
},
{
"name": "Patio Custom Light Scene Script",
"room": "Patio",
"type": "script",
"id": {
"entity_id": "script.patio_custom_light_scene",
"device_id": null
}
}
]
},
{
"id": "673495f1-92b3-41f8-a363-b55b95034589",
"automation": "- id: 673495f1-92b3-41f8-a363-b55b95034589\n alias: Notification | People | The Girls are on the move\n description: The Girls have left or arrived at a zone\n mode: queued\n max: 10\n trigger:\n - platform: state\n entity_id:\n - person.camdyn_frey\n - person.molly_frey\n condition:\n - condition: template\n value_template: '{{ trigger.from_state.state != trigger.to_state.state }}'\n action:\n - service: notify.parent_devices\n metadata: {}\n data_template:\n title: '{{ trigger.to_state.attributes.friendly_name }} is on the Move'\n message: '{{ trigger.to_state.attributes.friendly_name }} {% if trigger.to_state.state\n == ''not_home'' %}has left {{trigger.from_state.state }} {% else %}arrived\n at {{ trigger.to_state.state }} {% endif %}\n\n '\n data:\n tag: location",
"config": [
{
"name": "camdyn frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.camdyn_frey",
"device_id": null
}
},
{
"name": "molly frey person",
"room": null,
"type": "person",
"id": {
"entity_id": "person.molly_frey",
"device_id": null
}
}
]
},
{
"id": "a63879a8-3229-47fb-a7b5-30b640e7c07a",
"automation": "- id: a63879a8-3229-47fb-a7b5-30b640e7c07a\n alias: Notification | Utility | Sump Pump Offline\n description: Notify Parent Devices when the Sump Pump is online or offline\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - switch.basement_sump_pump\n to: unavailable\n conditions: []\n actions:\n - action: notify.parent_devices\n metadata: {}\n data_template:\n title: Sump Pump Offline\n message: 'The Sump Pump is offline. Check the GFI Outlet!\n\n '\n data:\n tag: utility",
"config": [
{
"name": "sump pump switch",
"room": "basement",
"type": "switch",
"id": {
"entity_id": "switch.basement_sump_pump",
"device_id": null
}
}
]
},
{
"id": "0bf71b7a-c2eb-4cc4-a537-250a5ebba41a",
"automation": "- id: 0bf71b7a-c2eb-4cc4-a537-250a5ebba41a\n alias: Notification | Utility | Sump Pump Running\n description: Notify Parent Devices when the Sump Pump is running\n mode: single\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.basement_sump_pump_power\n above: 2\n conditions: []\n actions:\n - action: notify.parent_devices\n metadata: {}\n data_template:\n title: Sump Pump Running\n message: 'The Sump Pump is running\n\n '\n data:\n tag: utility\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.sump_pump_triggered",
"config": [
{
"name": "sump pump power sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_sump_pump_power",
"device_id": null
}
},
{
"name": "sump pump triggered boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.sump_pump_triggered",
"device_id": null
}
}
]
},
{
"id": "afe14c2e-4225-4580-9f99-2889b8ca1eb9",
"automation": "- id: afe14c2e-4225-4580-9f99-2889b8ca1eb9\n alias: Notification | Utility | Sump Pump Stopped\n description: Notify Parent Devices when the Sump Pump has finished\n mode: single\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.basement_sump_pump_power\n below: 1\n for:\n minutes: 1\n conditions:\n - condition: state\n entity_id: input_boolean.sump_pump_triggered\n state: 'on'\n actions:\n - action: notify.parent_devices\n metadata: {}\n data_template:\n title: Sump Pump Finished\n message: 'The Sump Pump has finished running\n\n '\n data:\n tag: utility\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.sump_pump_triggered",
"config": [
{
"name": "sump pump power sensor",
"room": "basement",
"type": "sensor",
"id": {
"entity_id": "sensor.basement_sump_pump_power",
"device_id": null
}
},
{
"name": "sump pump triggered boolean",
"room": "basement",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.sump_pump_triggered",
"device_id": null
}
}
]
},
{
"id": "9b6de636-370c-4e4f-9059-23a03de6b41c",
"automation": "- id: 9b6de636-370c-4e4f-9059-23a03de6b41c\n alias: Notification | Moisture Sensor | Water Leak Detected\n description: Send a notifcation to the Family if water is detected in any area\n mode: queued\n max: 10\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.basement_water_leak_sensor_water_leak\n to: 'on'\n id: basement_water_leak_sensor_wet\n - platform: state\n entity_id:\n - binary_sensor.kitchen_sink_water_leak_sensor_water_leak\n to: 'on'\n id: kitchen_sink_water_leak_sensor_wet\n - platform: state\n entity_id:\n - binary_sensor.bathroom_sink_water_leak_sensor_water_leak\n to: 'on'\n id: bathroom_sink_water_leak_sensor_wet\n - platform: state\n entity_id:\n - binary_sensor.bathroom_toilet_water_leak_sensor_water_leak\n to: 'on'\n id: bathroom_toilet_water_leak_sensor_wet\n - platform: state\n entity_id:\n - binary_sensor.master_bathroom_sink_water_leak_sensor_water_leak\n to: 'on'\n id: master_bathroom_sink_water_leak_sensor_wet\n - platform: state\n entity_id:\n - binary_sensor.master_bathroom_toilet_water_leak_sensor_water_leak\n to: 'on'\n id: master_bathroom_toilet_water_leak_sensor_wet\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - basement_water_leak_sensor_wet\n - kitchen_sink_water_leak_sensor_wet\n - bathroom_sink_water_leak_sensor_wet\n - bathroom_toilet_water_leak_sensor_wet\n - master_bathroom_sink_water_leak_sensor_wet\n - master_bathroom_toilet_water_leak_sensor_wet\n sequence:\n - service: notify.family_devices\n metadata: {}\n data_template:\n title: Water Leak Detected!\n message: '{{ trigger.to_state.attributes.friendly_name }} has detected a\n water leak!'\n data:\n tag: water-leak-detected",
"config": [
{
"name": "basement water leak sensor",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_water_leak_sensor_water_leak",
"device_id": null
}
},
{
"name": "kitchen sink water leak sensor",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_sink_water_leak_sensor_water_leak",
"device_id": null
}
},
{
"name": "bathroom sink water leak sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_sink_water_leak_sensor_water_leak",
"device_id": null
}
},
{
"name": "bathroom toilet water leak sensor",
"room": "bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bathroom_toilet_water_leak_sensor_water_leak",
"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_leak",
"device_id": null
}
},
{
"name": "master bathroom toilet water leak sensor",
"room": "master bathroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.master_bathroom_toilet_water_leak_sensor_water_leak",
"device_id": null
}
}
]
},
{
"id": "f7763561-7ede-44e9-9a8b-520d085f7c51",
"automation": "- id: f7763561-7ede-44e9-9a8b-520d085f7c51\n alias: Event | GitHub | Push\n trigger:\n - platform: webhook\n webhook_id: env_var HASS_DEPLOY_CONFIG_WEBHOOK_ID\n local_only: false\n actions:\n - action: shell_command.deploy_config\n - action: homeassistant.reload_all",
"config": []
},
{
"id": "71502fe4-85f4-4a16-840f-6d2ed3c49625",
"automation": "- id: 71502fe4-85f4-4a16-840f-6d2ed3c49625\n alias: Notification | House | Window Open\n description: Send a notification when a window is open\n mode: single\n trigger:\n - platform: state\n entity_id: group.parents\n to: not_home\n condition:\n - condition: state\n entity_id:\n - binary_sensor.basement_window_sensor_1_contact\n - binary_sensor.basement_window_sensor_2_contact\n match: any\n state: 'on'\n action:\n - service: notify.mobile_app_dan_s_phone\n data_template:\n title: A Window is Open!\n message: '{{ trigger.to_state.attributes.friendly_name }} is open!'",
"config": [
{
"name": "basement window sensor 1",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_window_sensor_1_contact",
"device_id": null
}
},
{
"name": "basement window sensor 2",
"room": "basement",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.basement_window_sensor_2_contact",
"device_id": null
}
},
{
"name": "Parents Group",
"room": null,
"type": "group",
"id": {
"entity_id": "group.parents",
"device_id": null
}
}
]
}
]