AutomationDataset/tetsuo13/automation-descriptions.json

392 lines
35 KiB
JSON

[
{
"id": "alarm_triggered_armed_away",
"result": {
"structured": "TRIGGER: When alarm control panel [alarm_control_panel.alarm] changes state to triggered. CONDITIONS: None. ACTIONS: Send a high-priority notification titled 'Alarm Triggered!' with message 'The alarm was triggered' to mobile_apps, with notification group 'alarm' and icon 'mdi:shield-home-outline'.",
"natural_language": {
"trigger": "When the alarm control panel [alarm_control_panel.alarm] enters the triggered state.",
"conditions": "There are no conditions; the automation runs immediately when triggered.",
"action": "Sends a high-priority notification to mobile devices with the title 'Alarm Triggered!' and the message 'The alarm was triggered', grouping it under the 'alarm' category and using a shield icon."
},
"human_like": "Sends a mobile notification when the home alarm is triggered while armed away.",
"complexity": "low"
}
},
{
"id": "alarm_away_door_alarm",
"result": {
"structured": "TRIGGER: When kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3] opens (on) OR When front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7] opens (on) OR When laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5] opens (on) OR When office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open] opens (on). CONDITIONS: alarm control panel [alarm_control_panel.alarm] is armed_away. ACTIONS: Trigger alarm control panel [alarm_control_panel.alarm], Send a high-priority notification to mobile apps with title 'Door Alarm Triggered!' and a message containing the location name, Send an email notification with title 'Door Alarm Triggered' and a message containing the location name.",
"natural_language": {
"trigger": "When any of the monitored doors or windows opens, specifically the kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3], the front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7], the laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5], or the office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open].",
"conditions": "The alarm control panel [alarm_control_panel.alarm] must be in the 'armed_away' state.",
"action": "Triggers the alarm control panel [alarm_control_panel.alarm], sends a high-priority push notification to mobile devices indicating which door triggered the alarm, and sends an email with the same information."
},
"human_like": "Triggers the house alarm and sends alerts if a door or window is opened while the alarm is set to 'away' mode.",
"complexity": "medium"
}
},
{
"id": "bedtime_routine",
"result": {
"structured": "TRIGGER: At 22:30:00. CONDITIONS: None. ACTIONS: Execute script.bedtime.",
"natural_language": {
"trigger": "At 10:30 PM every day.",
"conditions": "There are no conditions that need to be met.",
"action": "Runs the script named script.bedtime."
},
"human_like": "Starts the bedtime routine automatically at 10:30 PM each night.",
"complexity": "low"
}
},
{
"id": "announce_door_opened",
"result": {
"structured": "TRIGGER: When kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3] becomes open (on) OR When front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7] becomes open (on) OR When laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5] becomes open (on) OR When office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open] becomes open (on). CONDITIONS: halloween month sensor [binary_sensor.halloween_month] is off AND thanksgiving month sensor [binary_sensor.thanksgiving_month] is off AND christmas month sensor [binary_sensor.christmas_month] is off AND birthday sensor [binary_sensor.today_is_someones_birthday] is off. ACTIONS: Run script script.sonos_say with message '{{ location_name }} door open' after a 3-second delay.",
"natural_language": {
"trigger": "When any of the monitored doors or windows opens, specifically the kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3], the front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7], the laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5], or the office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open].",
"conditions": "The automation only runs if it is not a holiday or special occasion. This means the halloween month sensor [binary_sensor.halloween_month], the thanksgiving month sensor [binary_sensor.thanksgiving_month], the christmas month sensor [binary_sensor.christmas_month], and the birthday sensor [binary_sensor.today_is_someones_birthday] must all be off.",
"action": "After a 3-second delay, the system will announce which door was opened by using the script script.sonos_say to say the message '[Location] door open', where the location name is determined by which sensor triggered the automation."
},
"human_like": "Announces when a door or window is opened, but stays quiet during holidays and birthdays.",
"complexity": "medium"
}
},
{
"id": "announce_door_closed",
"result": {
"structured": "TRIGGER: When kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3] changes to closed (off) OR When front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7] changes to closed (off) OR When laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5] changes to closed (off) OR When office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open] changes to closed (off). CONDITIONS: halloween month sensor [binary_sensor.halloween_month] is off AND thanksgiving month sensor [binary_sensor.thanksgiving_month] is off AND christmas month sensor [binary_sensor.christmas_month] is off AND birthday sensor [binary_sensor.today_is_someones_birthday] is off. ACTIONS: Execute script sonos_say with a message containing the location name (from trigger variable) followed by 'door closed' after a 3-second delay.",
"natural_language": {
"trigger": "When any of the monitored doors or windows close: the kitchen door, the front door, the laundry door, or the office door.",
"conditions": "The automation only runs if it is not currently a holiday month (Halloween, Thanksgiving, or Christmas) and today is not someone's birthday.",
"action": "After a 3-second delay, a voice announcement is played via Sonos stating which door has closed, using the location name associated with the specific sensor that triggered the event."
},
"human_like": "Announces when a door is closed, but only when it's not a holiday or someone's birthday.",
"complexity": "medium"
}
},
{
"id": "announce_door_opened_event",
"result": {
"structured": "TRIGGER: When any of the following door/window sensors changes to open (on): office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open] OR front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7] OR kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3] OR laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5]. CONDITIONS: None. ACTIONS: Choose an audio file to play based on the following conditions: IF birthday sensor [binary_sensor.today_is_someones_birthday] is on, THEN play 'audio/birthday01.mp3' with a 16-second delay. ELSE IF halloween month sensor [binary_sensor.halloween_month] is on, THEN play 'audio/ghost01.mp3' with an 8-second delay. ELSE IF thanksgiving month sensor [binary_sensor.thanksgiving_month] is on, THEN play 'audio/turkey01.mp3' with an 8-second delay. ELSE IF christmas month sensor [binary_sensor.christmas_month] is on, THEN play 'audio/christmas01.mp3' with an 8-second delay.",
"natural_language": {
"trigger": "When any of the monitored doors or windows opens, specifically the office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open], front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7], kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3], or laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5].",
"conditions": "There are no global conditions that must be met for the automation to run. The action selection depends on the state of specific holiday or event sensors.",
"action": "Plays a festive audio announcement on a Sonos system when a door opens. The specific sound is chosen based on the current holiday or event: a birthday sound if it's someone's birthday, a Halloween ghost sound if it's October, a turkey sound if it's Thanksgiving month, or a Christmas sound if it's December. Each sound plays after a short delay."
},
"human_like": "Plays a holiday-themed sound effect when a door is opened, choosing the sound based on the current time of year or special events like birthdays.",
"complexity": "medium"
}
},
{
"id": "announce_door_closed_event",
"result": {
"structured": "TRIGGER: When any of the following door/window sensors change state to closed (off): office door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open], front door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_7], kitchen door window sensor [binary_sensor.z_wave_door_window_sensor_window_door_is_open_3], laundry door window sensor [binary_sensor.z_wave_door_window_sensor_access_control_window_door_is_open_5]. CONDITIONS: None. ACTIONS: Choose one action based on the following exclusive conditions: IF birthday sensor [binary_sensor.today_is_someones_birthday] is on THEN run script.sonos_play_file with audio_url audio/birthday01.mp3 and delay 16 seconds. ELSE IF halloween month sensor [binary_sensor.halloween_month] is on THEN run script.sonos_play_file with audio_url audio/howl01.mp3 and delay 8 seconds. ELSE IF thanksgiving month sensor [binary_sensor.thanksgiving_month] is on THEN run script.sonos_play_file with audio_url audio/turkey01.mp3 and delay 8 seconds. ELSE IF christmas month sensor [binary_sensor.christmas_month] is on THEN run script.sonos_play_file with audio_url audio/christmas01.mp3 and delay 8 seconds.",
"natural_language": {
"trigger": "When any of the monitored doors or windows (office, front, kitchen, or laundry) is closed, as detected by their respective sensors.",
"conditions": "There are no conditions that must be met before the action runs; the automation proceeds directly to the action selection.",
"action": "Depending on the current holiday or special day, a specific sound is played on the Sonos system. If it's someone's birthday, a birthday audio clip plays after a 16-second delay. If it's Halloween month, a howling sound plays after an 8-second delay. If it's Thanksgiving month, a turkey sound plays after an 8-second delay. If it's Christmas month, a Christmas audio clip plays after an 8-second delay. The conditions are checked in order, and only the first one that is true will be executed."
},
"human_like": "Plays a festive sound when a door or window is closed, choosing the sound based on the current holiday or special occasion.",
"complexity": "medium"
}
},
{
"id": "turn_off_air_purifier_weekdays",
"result": {
"structured": "TRIGGER: When the time is 07:00:00. CONDITIONS: The current weekday is Monday OR Tuesday OR Wednesday OR Thursday OR Friday. ACTIONS: Execute the script.air_purifier.",
"natural_language": {
"trigger": "At exactly 7:00 AM.",
"conditions": "If today is a weekday (Monday through Friday).",
"action": "Runs the script.air_purifier."
},
"human_like": "Turns off the air purifier automatically at 7 AM on weekdays.",
"complexity": "low"
}
},
{
"id": "turn_off_air_purifier_weekends",
"result": {
"structured": "TRIGGER: At 09:00:00. CONDITIONS: Day is Saturday OR Sunday. ACTIONS: Execute script.air_purifier.",
"natural_language": {
"trigger": "At 9:00 AM.",
"conditions": "If the current day is a Saturday or a Sunday.",
"action": "Runs the script.air_purifier."
},
"human_like": "Turns off the air purifier at 9 AM on weekends.",
"complexity": "low"
}
},
{
"id": "motion_turn_off_guest_bathroom_fan_when_no_motion_detected",
"result": {
"structured": "TRIGGER: When motion sensor [binary_sensor.4_in_1_sensor_motion_detection] changes from on to off AND remains off for 5 minutes. CONDITIONS: guest bathroom fan switch [switch.double_switch_1] is on. ACTIONS: Turn off guest bathroom fan switch [switch.double_switch_1].",
"natural_language": {
"trigger": "When the motion sensor [binary_sensor.4_in_1_sensor_motion_detection] stops detecting motion and remains inactive for five minutes.",
"conditions": "The guest bathroom fan switch [switch.double_switch_1] must currently be on.",
"action": "Turns off the guest bathroom fan switch [switch.double_switch_1]."
},
"human_like": "Automatically turns off the guest bathroom fan five minutes after motion is no longer detected, but only if the fan is currently running.",
"complexity": "low"
}
},
{
"id": "turn_off_main_bathroom_fan_after_period_of_time",
"result": {
"structured": "TRIGGER: When main bathroom fan switch [switch.double_switch_1_2] remains on for 20 minutes. CONDITIONS: None. ACTIONS: Turn off main bathroom fan switch [switch.double_switch_1_2].",
"natural_language": {
"trigger": "When the main bathroom fan switch [switch.double_switch_1_2] has been in the 'on' state for a continuous period of 20 minutes.",
"conditions": "There are no additional conditions that must be met.",
"action": "Turns off the main bathroom fan switch [switch.double_switch_1_2]."
},
"human_like": "Automatically turns off the main bathroom fan 20 minutes after it was switched on.",
"complexity": "low"
}
},
{
"id": "turn_on_light_to_wake_us_up",
"result": {
"structured": "TRIGGER: At 06:00:00. CONDITIONS: Day is Monday OR Tuesday OR Wednesday OR Thursday OR Friday. ACTIONS: Turn on lee bedside lamp [light.hue_white_lamp_1] to full brightness (255) with a slow fade-in transition over 1800 seconds.",
"natural_language": {
"trigger": "The automation is triggered at 6:00 AM.",
"conditions": "The automation only runs if the current day is a weekday (Monday, Tuesday, Wednesday, Thursday, or Friday).",
"action": "It turns on the lee bedside lamp [light.hue_white_lamp_1] to its maximum brightness, fading it in slowly over a period of 30 minutes (1800 seconds) to simulate a sunrise."
},
"human_like": "Gradually turns on a bedside lamp on weekday mornings to gently wake you up with a simulated sunrise.",
"complexity": "low"
}
},
{
"id": "turn_off_lights_before_work",
"result": {
"structured": "TRIGGER: When sun [sun.sun] elevation rises above 6.0 degrees. CONDITIONS: Time is on Monday OR Tuesday OR Wednesday OR Thursday OR Friday. ACTIONS: Turn off lee bedside lamp [light.hue_white_lamp_1].",
"natural_language": {
"trigger": "When the sun [sun.sun] reaches an elevation above 6.0 degrees, indicating it is after sunrise.",
"conditions": "The automation only runs on weekdays: Monday, Tuesday, Wednesday, Thursday, or Friday.",
"action": "Turns off the lee bedside lamp [light.hue_white_lamp_1]."
},
"human_like": "Turns off the bedside lamp on weekday mornings after sunrise.",
"complexity": "low"
}
},
{
"id": "Turn On Lights Before Sunset",
"result": {
"structured": "TRIGGER: When the sun sets with an offset of -1 hour and 15 minutes (i.e., 1 hour 15 minutes before sunset). CONDITIONS: None. ACTIONS: Turn on lee bedside lamp [light.hue_white_lamp_1] and andrei bedside lamp [light.hue_white_lamp_2] to full brightness (255) with a transition time of 1500 seconds.",
"natural_language": {
"trigger": "The automation triggers 1 hour and 15 minutes before the sun sets.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "It turns on both lee bedside lamp [light.hue_white_lamp_1] and andrei bedside lamp [light.hue_white_lamp_2] to their maximum brightness, fading them in over a period of 1500 seconds."
},
"human_like": "Gradually turns on the bedside lamps to full brightness in the evening, starting well before sunset.",
"complexity": "low"
}
},
{
"id": "turn_off_andrei_s_bedside_by_9_00pm",
"result": {
"structured": "TRIGGER: When the time is 20:30:00. CONDITIONS: None. ACTIONS: Turn off lee bedside lamp [light.hue_white_lamp_1] with a transition time of 1800 seconds.",
"natural_language": {
"trigger": "At 8:30 PM.",
"conditions": "There are no conditions.",
"action": "Turns off the lee bedside lamp [light.hue_white_lamp_1] gradually over 30 minutes."
},
"human_like": "Turns off Andrei's bedside lamp at 8:30 PM with a slow fade-out.",
"complexity": "low"
}
},
{
"id": "turn_on_night_light_at_sunset",
"result": {
"structured": "TRIGGER: When the sun sets, 30 minutes before the actual sunset event. CONDITIONS: None. ACTIONS: Turn on night light [light.controller_rgb_44_key_ir_cde6d9] with brightness set to 13.",
"natural_language": {
"trigger": "The automation triggers 30 minutes before the sun sets.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "Turns on the night light [light.controller_rgb_44_key_ir_cde6d9] at a low brightness level of 13."
},
"human_like": "Turns on a night light at a low brightness 30 minutes before sunset.",
"complexity": "low"
}
},
{
"id": "turn_off_night_light_after_sunrise",
"result": {
"structured": "TRIGGER: 15 minutes after sunrise. CONDITIONS: None. ACTIONS: Turn off night light [light.controller_rgb_44_key_ir_cde6d9].",
"natural_language": {
"trigger": "Fifteen minutes after the sun rises.",
"conditions": "There are no conditions that need to be met.",
"action": "Turns off the night light [light.controller_rgb_44_key_ir_cde6d9]."
},
"human_like": "Turns off the night light a short while after sunrise.",
"complexity": "low"
}
},
{
"id": "Turn On Dining Room Lamp Before Sunset",
"result": {
"structured": "TRIGGER: When the sun sets, 1 hour before the event. CONDITIONS: None. ACTIONS: Turn on dining room lamp [switch.tp_link_smart_plug_ac23].",
"natural_language": {
"trigger": "One hour before the sun sets.",
"conditions": "There are no additional conditions.",
"action": "Turns on the dining room lamp [switch.tp_link_smart_plug_ac23]."
},
"human_like": "Turns on the dining room lamp one hour before sunset.",
"complexity": "low"
}
},
{
"id": "Turn Off Dining Room Lamp",
"result": {
"structured": "TRIGGER: At 22:30:00. CONDITIONS: None. ACTIONS: Turn off dining room lamp [switch.tp_link_smart_plug_ac23].",
"natural_language": {
"trigger": "Every day at 10:30 PM.",
"conditions": "There are no additional conditions that must be met.",
"action": "Turns off the dining room lamp [switch.tp_link_smart_plug_ac23]."
},
"human_like": "Automatically turns off the dining room lamp at 10:30 PM each night.",
"complexity": "low"
}
},
{
"id": "Toggle Live Sign When Busy in Teams",
"result": {
"structured": "TRIGGER: When teams on call sensor [binary_sensor.teams_on_call] changes state. CONDITIONS: None. ACTIONS: Turn the teams live sign [switch.tp_link_smart_plug_d6d2] on or off, matching the new state of the trigger.",
"natural_language": {
"trigger": "Whenever the state of the teams on call sensor [binary_sensor.teams_on_call] changes.",
"conditions": "There are no conditions that must be met.",
"action": "Sets the teams live sign [switch.tp_link_smart_plug_d6d2] to the same state as the sensor, turning it on if the sensor is on, or off if the sensor is off."
},
"human_like": "Turns a physical sign on or off to match your Microsoft Teams call status.",
"complexity": "low"
}
},
{
"id": "turn_on_both_living_room_bookshelf_lamps_from_single_switch",
"result": {
"structured": "TRIGGER: When living room bookshelf lamp 1 [switch.tp_link_smart_plug_ac7b] changes state. CONDITIONS: None. ACTIONS: Set living room bookshelf lamp 2 [switch.tp_link_smart_plug_1106] to the same state (on or off) that living room bookshelf lamp 1 [switch.tp_link_smart_plug_ac7b] changed to.",
"natural_language": {
"trigger": "Whenever the state of the living room bookshelf lamp 1 [switch.tp_link_smart_plug_ac7b] changes, whether it is turned on or off.",
"conditions": "There are no additional conditions that must be met.",
"action": "The automation will turn the living room bookshelf lamp 2 [switch.tp_link_smart_plug_1106] on or off to match the new state of the first lamp."
},
"human_like": "Keeps both living room bookshelf lamps in sync, so toggling one lamp automatically toggles the other to match.",
"complexity": "low"
}
},
{
"id": "motion_turn_on_guest_bathroom_when_motion_detected_daytime",
"result": {
"structured": "TRIGGER: When motion sensor [binary_sensor.4_in_1_sensor_motion_detection] changes from off to on. CONDITIONS: guest bathroom light [light.double_switch] is off AND the current time is between 06:00:00 and 22:15:00. ACTIONS: Turn on guest bathroom light [light.double_switch] with brightness set to 100%.",
"natural_language": {
"trigger": "When the motion sensor [binary_sensor.4_in_1_sensor_motion_detection] first detects motion.",
"conditions": "The guest bathroom light [light.double_switch] must be off, and the time must be between 6:00 AM and 10:15 PM.",
"action": "Turns on the guest bathroom light [light.double_switch] to full brightness."
},
"human_like": "Turns on the guest bathroom light when motion is detected during the daytime, but only if the light is already off.",
"complexity": "low"
}
},
{
"id": "motion_turn_on_guest_bathroom_when_motion_detected_night",
"result": {
"structured": "TRIGGER: When motion sensor [binary_sensor.4_in_1_sensor_motion_detection] changes from off to on. CONDITIONS: guest bathroom light [light.double_switch] is off AND current time is between 22:15:00 and 06:15:00. ACTIONS: Turn on guest bathroom light [light.double_switch] with brightness set to 21%.",
"natural_language": {
"trigger": "When the motion sensor [binary_sensor.4_in_1_sensor_motion_detection] first detects motion.",
"conditions": "The guest bathroom light [light.double_switch] must be off, and the current time must be between 10:15 PM and 6:15 AM.",
"action": "Turn on the guest bathroom light [light.double_switch] to a low brightness of 21%."
},
"human_like": "Turns on the guest bathroom light at a low brightness when motion is detected at night, but only if the light is currently off.",
"complexity": "low"
}
},
{
"id": "motion_turn_off_guest_bathroom_when_no_motion_detected",
"result": {
"structured": "TRIGGER: When motion sensor [binary_sensor.4_in_1_sensor_motion_detection] changes from motion detected (on) to no motion (off) AND remains in no motion state for 3 minutes. CONDITIONS: guest bathroom light [light.double_switch] is on. ACTIONS: Turn off guest bathroom light [light.double_switch].",
"natural_language": {
"trigger": "When the motion sensor [binary_sensor.4_in_1_sensor_motion_detection] stops detecting motion and stays in the 'no motion' state for three minutes.",
"conditions": "The guest bathroom light [light.double_switch] must be on.",
"action": "Turns off the guest bathroom light [light.double_switch]."
},
"human_like": "Automatically turns off the guest bathroom light a few minutes after motion is no longer detected.",
"complexity": "low"
}
},
{
"id": "motion_send_camera_snapshot_notification_on_motion",
"result": {
"structured": "TRIGGER: When office motion alarm [binary_sensor.office_motion_alarm] turns on OR When laundry motion alarm [binary_sensor.laundry_motion_alarm] turns on OR When front door motion sensor [binary_sensor.front_door_smart_motion_human] turns on. CONDITIONS: None. ACTIONS: Wait 4 seconds, then take a snapshot from the camera associated with the triggering motion sensor (office camera [camera.office_main], laundry camera [camera.laundry_main], or front door camera [camera.front_door_main]) and save it to a timestamped file, then send a notification to mobile apps with the title 'Camera Motion Detected' and the snapshot image attached.",
"natural_language": {
"trigger": "When motion is detected by the office motion alarm [binary_sensor.office_motion_alarm], the laundry motion alarm [binary_sensor.laundry_motion_alarm], or the front door motion sensor [binary_sensor.front_door_smart_motion_human].",
"conditions": "There are no additional conditions that must be met.",
"action": "After a 4-second delay, the automation takes a snapshot from the camera linked to the motion sensor that triggered the automation. The snapshot is saved with a timestamped filename. Finally, it sends a push notification to mobile devices with the title 'Camera Motion Detected' and includes the snapshot image in the notification."
},
"human_like": "Sends a mobile notification with a camera snapshot when motion is detected in the office, laundry, or at the front door.",
"complexity": "medium"
}
},
{
"id": "laundry_flooding",
"result": {
"structured": "TRIGGER: When laundry flood sensor [binary_sensor.flood_sensor_water_leak_state] changes from off to on AND remains on for 15 seconds. CONDITIONS: None. ACTIONS: Send an email notification with title 'Laundry room is flooding' and message 'You should probably check it out.'; Execute script sonos_say with message 'Crikey! We've sprunga leak in the laundry room! I said crikey! We've sprunga leak in the laundry room!' after a 15-second delay; Send a mobile app notification with message 'The laundry room is flooding'.",
"natural_language": {
"trigger": "When the laundry flood sensor [binary_sensor.flood_sensor_water_leak_state] detects a water leak, changing from a dry (off) to a wet (on) state, and that wet state persists for 15 seconds.",
"conditions": "There are no additional conditions that must be met.",
"action": "It sends an email alert titled 'Laundry room is flooding' with a message suggesting to check it out. After a 15-second delay, it uses a Sonos speaker to announce a leak warning. Simultaneously, it sends a push notification to mobile devices stating that the laundry room is flooding."
},
"human_like": "Sends alerts and makes an announcement if a water leak is detected in the laundry room.",
"complexity": "low"
}
},
{
"id": "low_battery_notification",
"result": {
"structured": "TRIGGER: When flood sensor battery [binary_sensor.flood_sensor_low_battery_level] OR door window sensor battery 1 [binary_sensor.z_wave_door_window_sensor_low_battery_level] OR door window sensor battery 2 [binary_sensor.z_wave_door_window_sensor_low_battery_level_2] OR door window sensor battery 4 [binary_sensor.z_wave_door_window_sensor_low_battery_level_4] OR door window sensor battery 5 [binary_sensor.z_wave_door_window_sensor_low_battery_level_5] changes from off to on AND remains on for 1 hour. OR When motion sensor battery [sensor.4_in_1_sensor_battery_level] is below 11% AND remains below for 8 hours. OR When workshop smoke alarm battery [sensor.zcombo_g_smoke_co_alarm_battery_level] OR laundry smoke alarm battery [sensor.zcombo_g_smoke_co_alarm_battery_level_2] OR hallway smoke alarm battery [sensor.zcombo_g_smoke_co_alarm_battery_level_3] is below 78% AND remains below for 8 hours. CONDITIONS: None. ACTIONS: Send a mobile notification with the message 'The [device friendly name] is Low' and a tag 'bettery' in group 'battery'. Send an email with title 'Low Battery Detected' and message 'The [device friendly name] is low. You should probably check it out.'.",
"natural_language": {
"trigger": "The automation triggers in three possible ways. First, if any of the binary battery sensors for the flood sensor or door/window sensors changes from 'off' to 'on' (indicating a low battery state) and stays that way for one hour. Second, if the motion sensor battery level drops below 11% and stays below that level for eight hours. Third, if any of the smoke/CO alarm battery levels drop below 78% and stay below that level for eight hours.",
"conditions": "There are no additional conditions that must be met for the actions to run.",
"action": "When triggered, the automation sends a notification to mobile apps, including the friendly name of the device that triggered it, and also sends an email alert with the same device information."
},
"human_like": "Sends mobile and email alerts when various battery-powered devices in the home report a low battery condition.",
"complexity": "medium"
}
},
{
"id": "smoke_alarm_alert",
"result": {
"structured": "TRIGGER: When workshop smoke detector [binary_sensor.zcombo_g_smoke_co_alarm_smoke_alarm_smoke_detected] remains on for 15 seconds OR When workshop carbon monoxide detector [binary_sensor.zcombo_g_smoke_co_alarm_co_alarm_carbon_monoxide_detected] remains on for 15 seconds OR When laundry smoke detector [binary_sensor.zcombo_g_smoke_co_alarm_smoke_alarm_smoke_detected_2] remains on for 15 seconds OR When laundry carbon monoxide detector [binary_sensor.zcombo_g_smoke_co_alarm_co_alarm_carbon_monoxide_detected_2] remains on for 15 seconds OR When hallway smoke detector [binary_sensor.zcombo_g_smoke_co_alarm_smoke_alarm_smoke_detected_3] remains on for 15 seconds OR When hallway carbon monoxide detector [binary_sensor.zcombo_g_smoke_co_alarm_co_alarm_carbon_monoxide_detected_3] remains on for 15 seconds. CONDITIONS: None. ACTIONS: Send an email notification with title 'Alert! {{ type_detected }} detected in {{ location_detected }} room' and message '{{ type_detected }} was detected in the {{ location_detected }} room! Investigate immediately and evacuate!', then trigger the script sonos_say with the message '{{ type_detected }} was detected in the {{ location_detected }} room! Investigate immediately and evacuate!' after a 6-second delay, and send a mobile app notification with the message 'Alert! {{ type_detected }} detected in {{ location_detected }} room! Investigate immediately and evacuate!'.",
"natural_language": {
"trigger": "When any of the smoke or carbon monoxide detectors in the workshop, laundry, or hallway detects a hazard and remains in the 'on' state for at least 15 seconds. The specific detector that triggers the automation sets the type of hazard (smoke or carbon monoxide) and the location (workshop, laundry, or hallway).",
"conditions": "There are no additional conditions that must be met for the automation to run.",
"action": "The automation sends out three alerts: an email, a spoken announcement via a Sonos system after a short delay, and a notification to mobile apps. Each alert specifies the type of hazard and the room where it was detected, urging immediate investigation and evacuation."
},
"human_like": "Sends urgent alerts via email, voice, and mobile notifications when smoke or carbon monoxide is detected in the workshop, laundry, or hallway.",
"complexity": "medium"
}
},
{
"id": "smoke_alarm_turn_on_lights",
"result": {
"structured": "TRIGGER: When any of the following binary sensors remains in the 'on' state for 15 seconds: workshop smoke detector [binary_sensor.zcombo_g_smoke_co_alarm_smoke_alarm_smoke_detected] OR workshop carbon monoxide detector [binary_sensor.zcombo_g_smoke_co_alarm_co_alarm_carbon_monoxide_detected] OR laundry smoke detector [binary_sensor.zcombo_g_smoke_co_alarm_smoke_alarm_smoke_detected_2] OR laundry carbon monoxide detector [binary_sensor.zcombo_g_smoke_co_alarm_co_alarm_carbon_monoxide_detected_2] OR hallway smoke detector [binary_sensor.zcombo_g_smoke_co_alarm_smoke_alarm_smoke_detected_3] OR hallway carbon monoxide detector [binary_sensor.zcombo_g_smoke_co_alarm_co_alarm_carbon_monoxide_detected_3]. CONDITIONS: None. ACTIONS: Turn on the following lights and switches: color lamp [light.hue_color_lamp_1], lee bedside lamp [light.hue_white_lamp_1], andrei bedside lamp [light.hue_white_lamp_2], guest bathroom light [light.double_switch], guest bathroom light 2 [light.double_switch_2], living room bookshelf lamps [switch.living_room_bookshelf_lamps], in wall paddle switch [switch.in_wall_paddle_switch_qfsw_500s_2].",
"natural_language": {
"trigger": "When any smoke or carbon monoxide detector (workshop smoke detector, workshop carbon monoxide detector, laundry smoke detector, laundry carbon monoxide detector, hallway smoke detector, or hallway carbon monoxide detector) detects smoke or carbon monoxide and remains in the detected state for at least 15 seconds.",
"conditions": "There are no conditions that need to be met.",
"action": "Turn on multiple lights and switches, including the color lamp, lee bedside lamp, andrei bedside lamp, both guest bathroom lights, the living room bookshelf lamps, and an in-wall paddle switch."
},
"human_like": "Turns on several lights throughout the house if any smoke or carbon monoxide alarm is triggered for 15 seconds, helping to illuminate escape routes during an emergency.",
"complexity": "low"
}
},
{
"id": "system_clean_up_camera_snapshots_directory_periodically",
"result": {
"structured": "TRIGGER: At 05:27:18 daily. CONDITIONS: None. ACTIONS: Execute shell command clean_camera_snapshots with argument days_threshold set to 3.",
"natural_language": {
"trigger": "Every day at 5:27:18 AM.",
"conditions": "There are no conditions for this automation.",
"action": "Runs the shell command named clean_camera_snapshots, which is configured to delete files older than 3 days."
},
"human_like": "Automatically deletes old camera snapshot files every morning to free up storage space.",
"complexity": "low"
}
}
]