AutomationDataset/dsellers1/automation-descriptions.json

340 lines
60 KiB
JSON

[
{
"id": "'1591135786183'",
"result": {
"structured": "TRIGGER: When Home Assistant starts (event: start) OR When Home Assistant shuts down (event: shutdown). CONDITIONS: None. ACTIONS: IF trigger is Startup THEN turn on automation override [input_boolean.automation_override], apply automation shutdown scene [scene.automation_shutdown], AND turn off automation override [input_boolean.automation_override]. IF trigger is Shutdown THEN turn on automation override [input_boolean.automation_override], create a snapshot scene named automation_shutdown from hallway light [light.hallway], turn on hallway light [light.hallway] with color blue and full brightness, AND turn off automation override [input_boolean.automation_override].",
"natural_language": {
"trigger": "When Home Assistant starts up or when Home Assistant shuts down.",
"conditions": "There are no conditions for this automation.",
"action": "On startup, it temporarily enables the automation override [input_boolean.automation_override], restores the hallway light to a previously saved state by applying the automation shutdown scene [scene.automation_shutdown], and then disables the override. On shutdown, it temporarily enables the automation override [input_boolean.automation_override], saves the current state of the hallway light [light.hallway] into a scene called 'automation_shutdown', turns the hallway light on to a bright blue color, and then disables the override."
},
"human_like": "Manages the hallway light during Home Assistant restarts, saving its state before shutdown and restoring it on startup.",
"complexity": "medium"
}
},
{
"id": "'1614322694397'",
"result": {
"structured": "TRIGGER: When S22 Ultra next alarm [sensor.s22_ultra_next_alarm] changes state. CONDITIONS: None. ACTIONS: Activate a sunrise effect on bedroom lights [light.bedroom_lights] using a blueprint with a minimum color temperature (mireds: 0) and a manual fallback time of 05:30:00.",
"natural_language": {
"trigger": "Whenever the S22 Ultra next alarm [sensor.s22_ultra_next_alarm] updates its state.",
"conditions": "There are no additional conditions that must be met.",
"action": "Gradually turns on the bedroom lights [light.bedroom_lights] with a sunrise effect, using a predefined blueprint. The effect uses the alarm time from the sensor, or a default time of 5:30 AM if needed, and sets the light color to a very cool white."
},
"human_like": "Gradually brightens the bedroom lights to simulate a sunrise, triggered by your phone's next alarm.",
"complexity": "low"
}
},
{
"id": "'1693377513197'",
"result": {
"structured": "TRIGGER: When the time pattern matches every 15 minutes (minutes: /15). CONDITIONS: None. ACTIONS: Download file from URL 'https://s.w-x.co/staticmaps/wu/wu/wxtype1200_cur/usday/animate.png' to local filename 'WU-animated.png' with overwrite enabled, then download file from URL 'https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/cgl/GEOCOLOR/GOES16-CGL-GEOCOLOR-600x600.gif' to local filename 'CGL-Geocolor.gif' with overwrite enabled, then download file from URL 'https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/cgl/Sandwich/GOES16-CGL-Sandwich-600x600.gif' to local filename 'CGL-Sandwich.gif' with overwrite enabled, then wait for 30 seconds.",
"natural_language": {
"trigger": "The automation runs every 15 minutes, on the minute marks divisible by 15 (e.g., 0, 15, 30, 45).",
"conditions": "There are no conditions; the automation runs every time the trigger fires.",
"action": "It downloads three satellite animation files: a US weather map animation from Weather Underground, a geocolor satellite image loop for the CGL sector from GOES-16, and a 'Sandwich' product satellite image loop for the CGL sector from GOES-16. Each download overwrites any existing file with the same name. After the three downloads are initiated, it pauses for 30 seconds before the automation completes."
},
"human_like": "Downloads the latest satellite weather animations from NOAA and Weather Underground every 15 minutes.",
"complexity": "low"
}
},
{
"id": "'1694571017571'",
"result": {
"structured": "TRIGGER: When office lights [light.office_lights] turns on (from off to on) OR When office lights [light.office_lights] turns off (from on to off) OR When office motion detector [binary_sensor.office_motion_detector] detects motion (from off to on) OR When office motion detector [binary_sensor.office_motion_detector] clears motion (from on to off) OR When timer auto office lights timer [timer.automation_auto_office_lights] finishes OR When auto office lights automation [input_boolean.automation_auto_office_lights] turns on (from off to on) OR When auto office lights automation [input_boolean.automation_auto_office_lights] turns off (from on to off). CONDITIONS: (auto office lights automation [input_boolean.automation_auto_office_lights] is on) OR (auto office lights automation [input_boolean.automation_auto_office_lights] is off AND the time since it was last changed is less than 10 seconds). ACTIONS: Choose based on trigger: 1. If triggered by office lights [light.office_lights] turning on AND auto office lights timer [timer.automation_auto_office_lights] is not active AND Office Motion Detector Motion [binary_sensor.office_motion_detector_motion] is not 'Detected', then start auto office lights timer [timer.automation_auto_office_lights] with duration from auto office lights duration [input_number.automation_auto_office_lights_duration] (minutes converted to seconds). 2. If triggered by office lights [light.office_lights] turning off, then cancel auto office lights timer [timer.automation_auto_office_lights]. 3. If triggered by office motion detector [binary_sensor.office_motion_detector] detecting motion, then: If office lights [light.office_lights] is off, turn on office lights [light.office_lights]; If fire office screen [light.fire_office_screen] is off, turn on fire office screen [light.fire_office_screen]; If auto office lights timer [timer.automation_auto_office_lights] is active, cancel it. 4. If triggered by office motion detector [binary_sensor.office_motion_detector] clearing motion AND office lights [light.office_lights] is on, then start auto office lights timer [timer.automation_auto_office_lights] with duration from auto office lights duration [input_number.automation_auto_office_lights_duration] (minutes converted to seconds). 5. If triggered by auto office lights timer [timer.automation_auto_office_lights] finishing, then turn off office lights [light.office_lights] and fire office screen [light.fire_office_screen]. 6. If triggered by auto office lights automation [input_boolean.automation_auto_office_lights] turning on AND office lights [light.office_lights] is on, then start auto office lights timer [timer.automation_auto_office_lights] (duration unspecified). 7. If triggered by auto office lights automation [input_boolean.automation_auto_office_lights] turning off AND office lights [light.office_lights] is on, then cancel auto office lights timer [timer.automation_auto_office_lights].",
"natural_language": {
"trigger": "The automation can be triggered by several events: when the office lights turn on or off; when the office motion detector starts or stops detecting motion; when the auto office lights timer finishes; or when the auto office lights automation toggle is switched on or off.",
"conditions": "The automation only runs if the auto office lights automation is enabled (set to 'on'), or if it was just disabled (set to 'off') less than 10 seconds ago.",
"action": "Depending on which trigger occurred: 1. If the lights were manually turned on and no motion is currently detected, a timer is started to eventually turn them off. 2. If the lights are manually turned off, any running timer is cancelled. 3. If motion is detected, the lights and the office screen are turned on if they are off, and any running timer is cancelled. 4. If motion stops and the lights are on, a timer is started to turn them off after a set duration. 5. When the timer finishes, both the office lights and the office screen are turned off. 6. If the automation is enabled while the lights are on, a timer is started. 7. If the automation is disabled while the lights are on, the timer is cancelled."
},
"human_like": "Automatically manages the office lights and screen based on motion and manual control, turning them on when motion is detected and off after a period of inactivity, with a toggle to enable or disable the auto-off feature.",
"complexity": "high"
}
},
{
"id": "'1694661463984'",
"result": {
"structured": "TRIGGER: When hallway light [light.hallway] turns on (from off to on) OR When hallway light [light.hallway] turns off (from on to off) OR When hallway closet sensor [binary_sensor.hallway_closet] opens (from off to on) OR When hallway closet sensor [binary_sensor.hallway_closet] closes (from on to off) OR When auto hallway lights timer [timer.automation_auto_hallway_lights] finishes. CONDITIONS: (auto hallway lights automation [input_boolean.automation_auto_hallway_lights] is on) OR (auto hallway lights automation [input_boolean.automation_auto_hallway_lights] is off AND has been off for less than 10 seconds). ACTIONS: Choose based on trigger: 1. If triggered by hallway light turning on AND problem sensor [sensor.problem] is OK, start auto hallway lights timer [timer.automation_auto_hallway_lights] for a duration equal to (auto hallway lights duration [input_number.automation_auto_hallway_lights_duration] state in minutes) * 60 seconds. 2. If triggered by hallway light turning off, cancel auto hallway lights timer [timer.automation_auto_hallway_lights]. If problem sensor [sensor.problem] is Problem, turn on hallway light [light.hallway] with color red. 3. If triggered by hallway closet sensor opening, turn on hallway light [light.hallway] with color white. If problem sensor [sensor.problem] is OK, start auto hallway lights timer [timer.automation_auto_hallway_lights] with default duration. 4. If triggered by hallway closet sensor closing, turn off hallway light [light.hallway] and cancel auto hallway lights timer [timer.automation_auto_hallway_lights]. If problem sensor [sensor.problem] is OK, turn off hallway light [light.hallway]. If problem sensor [sensor.problem] is Problem, turn on hallway light [light.hallway] with color red. 5. If triggered by timer finishing, turn off hallway light [light.hallway].",
"natural_language": {
"trigger": "The automation can be triggered in five ways: when the hallway light [light.hallway] is turned on, when it is turned off, when the hallway closet sensor [binary_sensor.hallway_closet] detects the door opening, when it detects the door closing, or when the auto hallway lights timer [timer.automation_auto_hallway_lights] finishes its countdown.",
"conditions": "The automation only runs if the auto hallway lights automation [input_boolean.automation_auto_hallway_lights] is enabled (on), or if it was disabled less than 10 seconds ago.",
"action": "The actions depend on which trigger occurred. If the light turns on and there is no problem, a timer is started based on a user-defined duration. If the light turns off, the timer is cancelled, and if a problem is detected, the light is turned back on in red. Opening the closet door turns the light on in white and starts the timer if there's no problem. Closing the closet door turns the light off and cancels the timer; if a problem exists, the light is turned on in red instead. Finally, when the timer finishes, the light is turned off."
},
"human_like": "Automatically manages the hallway light based on manual use, closet door activity, and a timer, with special behavior for when a system problem is detected.",
"complexity": "high"
}
},
{
"id": "'1694662516837'",
"result": {
"structured": "TRIGGER: When kitchen lights [light.kitchen_lights] turns on OR When kitchen lights [light.kitchen_lights] turns off OR When kitchen motion detector [binary_sensor.kitchen_motion_detector] detects motion (on) OR When kitchen motion detector [binary_sensor.kitchen_motion_detector] clears motion (off) OR When timer auto kitchen lights timer [timer.automation_auto_kitchen_lights] finishes OR When auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turns on OR When auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turns off OR When the remaining time of auto kitchen lights timer [timer.automation_auto_kitchen_lights] OR tester timer [timer.tester] becomes 1:00. CONDITIONS: (auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] is on) OR (auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] is off AND it has been off for less than 10 seconds). ACTIONS: Based on the triggering event: 1) If kitchen lights [light.kitchen_lights] turned on, start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for a duration defined by auto kitchen lights duration [input_number.automation_auto_kitchen_lights_duration] in minutes. 2) If kitchen lights [light.kitchen_lights] turned off, cancel auto kitchen lights timer [timer.automation_auto_kitchen_lights]. 3) If motion is detected: a) If mini pc plex [media_player.mini_pc_plex] is playing a movie AND kitchen lights [light.kitchen_lights] are off, turn on stove light [light.stove] at 50% brightness and start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for 300 seconds. b) If kitchen lights [light.kitchen_lights] are off, turn them on. c) If auto kitchen lights timer [timer.automation_auto_kitchen_lights] is active AND kitchen lights [light.kitchen_lights] are on, restart the timer. 4) If motion is cleared AND kitchen lights [light.kitchen_lights] are on, start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for a duration defined by auto kitchen lights duration [input_number.automation_auto_kitchen_lights_duration] in minutes. 5) If the timer finished, turn off kitchen lights [light.kitchen_lights]. 6) If auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turned on AND kitchen lights [light.kitchen_lights] are on, start auto kitchen lights timer [timer.automation_auto_kitchen_lights]. 7) If auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turned off AND kitchen lights [light.kitchen_lights] are on, cancel auto kitchen lights timer [timer.automation_auto_kitchen_lights]. 8) If the remaining time of the timers becomes 1:00 AND kitchen motion detector [binary_sensor.kitchen_motion_detector] is on (condition disabled), start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for 5 minutes.",
"natural_language": {
"trigger": "The automation can be triggered by several events: the kitchen lights turning on or off, the kitchen motion detector detecting or clearing motion, the auto kitchen lights timer finishing, the auto kitchen lights automation switch being turned on or off, or when the remaining time on the auto kitchen lights timer or tester timer reaches one minute.",
"conditions": "The automation only runs if the auto kitchen lights automation switch is on, or if it was turned off less than ten seconds ago.",
"action": "Depending on what triggered the automation: 1) If the kitchen lights turned on, it starts a timer for a user-defined duration. 2) If the kitchen lights turned off, it cancels the timer. 3) If motion is detected, it checks several scenarios: if a movie is playing on Plex and the kitchen lights are off, it turns on the stove light at half brightness and starts a 5-minute timer. If the kitchen lights are simply off, it turns them on. If the lights are on and the timer is already running, it restarts the timer. 4) If motion clears and the kitchen lights are on, it starts the timer for a user-defined duration. 5) If the timer finishes, it turns off the kitchen lights. 6) If the automation is turned on while the kitchen lights are on, it starts the timer. 7) If the automation is turned off while the kitchen lights are on, it cancels the timer. 8) If the timer's remaining time hits one minute and motion is detected (though this condition is disabled), it starts a 5-minute timer."
},
"human_like": "Automatically manages the kitchen lights based on motion, light state, and a timer, with special logic for when a movie is playing to provide dimmed lighting.",
"complexity": "high"
}
},
{
"id": "'1694666178669'",
"result": {
"structured": "TRIGGER: When S25 Ultra device tracker [device_tracker.s25_ultra] changes from not_home to home OR When S25 Ultra device tracker [device_tracker.s25_ultra] changes from home to not_home. CONDITIONS: guest mode [input_boolean.guest_mode] is off. ACTIONS: If the trigger is arriving_home, then: Turn on fire living room screen [light.fire_living_room_screen] AND Turn on fire computer desk screen [light.fire_computer_desk_screen]. IF living room motion detector illuminance [sensor.living_room_motion_detector_illuminance] is below 5, THEN Turn on living room lights [light.living_room_lights]. IF bedroom motion detector illuminance [sensor.bedroom_motion_detector_illuminance] is below 5, THEN Turn on bedroom lights [light.bedroom_lights]. IF xbox media player [media_player.xbox] is off AND guest mode [input_boolean.guest_mode] is off, THEN Turn on xbox media player [media_player.xbox]. If the trigger is leaving_home, then: Turn off fire living room screen [light.fire_living_room_screen], fire computer desk screen [light.fire_computer_desk_screen], fire office screen [light.fire_office_screen], fire bedside screen [light.fire_bedside_screen], and all lights [light.all_lights] with a 10-second transition.",
"natural_language": {
"trigger": "When the S25 Ultra device tracker [device_tracker.s25_ultra] arrives home (changes from not_home to home) or when it leaves home (changes from home to not_home).",
"conditions": "The automation only runs if guest mode [input_boolean.guest_mode] is turned off.",
"action": "Depending on whether you are arriving or leaving, different actions occur. When arriving home, the fire living room screen [light.fire_living_room_screen] and fire computer desk screen [light.fire_computer_desk_screen] are turned on. If the living room is dark (illuminance below 5), the living room lights [light.living_room_lights] are turned on. If the bedroom is dark (illuminance below 5), the bedroom lights [light.bedroom_lights] are turned on. Finally, if the Xbox [media_player.xbox] is off and guest mode is still off, the Xbox is turned on. When leaving home, the automation turns off all tablet screens (fire living room screen [light.fire_living_room_screen], fire computer desk screen [light.fire_computer_desk_screen], fire office screen [light.fire_office_screen], fire bedside screen [light.fire_bedside_screen]) and all lights [light.all_lights] with a 10-second fade-out."
},
"human_like": "Automatically turns on lights, screens, and the Xbox when you arrive home, and turns everything off when you leave, provided guest mode is disabled.",
"complexity": "medium"
}
},
{
"id": "'1694734074409'",
"result": {
"structured": "TRIGGER: When bathroom lights [light.bathroom_lights] turns on OR When bathroom lights [light.bathroom_lights] turns off OR When bathroom motion detector [binary_sensor.bathroom_motion_detector] detects motion (on) OR When bathroom motion detector [binary_sensor.bathroom_motion_detector] stops detecting motion (off) OR When bathroom door sensor [binary_sensor.bathroom_door] opens (on) OR When bathroom door sensor [binary_sensor.bathroom_door] closes (off) OR When auto bathroom lights timer [timer.automation_auto_bathroom_lights] finishes OR When auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is enabled (off to on) OR When auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is disabled (on to off) OR When bathroom alexa [media_player.bathroom_alexa] starts playing OR When bathroom alexa [media_player.bathroom_alexa] stops playing (from playing to paused). CONDITIONS: (auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is on) OR (auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is off AND it was turned off less than 10 seconds ago). ACTIONS: Choose based on trigger: IF trigger is light_off_to_on OR door_opened THEN start auto bathroom lights timer [timer.automation_auto_bathroom_lights] with duration from auto bathroom lights duration [input_number.automation_auto_bathroom_lights_duration] (minutes converted to seconds). IF trigger is light_on_to_off THEN cancel auto bathroom lights timer [timer.automation_auto_bathroom_lights]. IF trigger is motion_detected THEN turn on bathroom lights [light.bathroom_lights]. IF trigger is motion_cleared THEN IF bathroom door sensor [binary_sensor.bathroom_door] is open THEN start auto bathroom lights timer [timer.automation_auto_bathroom_lights] with duration from auto bathroom lights duration [input_number.automation_auto_bathroom_lights_duration] (minutes converted to seconds). IF trigger is timer_finished THEN turn off bathroom lights [light.bathroom_lights]. IF trigger is door_closed OR alexa_starts_playing THEN IF bathroom lights [light.bathroom_lights] is off THEN turn on bathroom lights [light.bathroom_lights] AND cancel auto bathroom lights timer [timer.automation_auto_bathroom_lights]. IF trigger is toggle_automation_off_to_on THEN IF bathroom lights [light.bathroom_lights] is on THEN start auto bathroom lights timer [timer.automation_auto_bathroom_lights] AND send a random notification via alexa media bathroom [notify.alexa_media_bathroom]. IF trigger is toggle_automation_on_to_off THEN IF bathroom lights [light.bathroom_lights] is on THEN cancel auto bathroom lights timer [timer.automation_auto_bathroom_lights] AND send a random notification via alexa media bathroom [notify.alexa_media_bathroom]. IF trigger is alexa_stops_playing AND bathroom door sensor [binary_sensor.bathroom_door] is open THEN start auto bathroom lights timer [timer.automation_auto_bathroom_lights].",
"natural_language": {
"trigger": "The automation can be triggered by several events: when the bathroom lights [light.bathroom_lights] turn on or off; when the bathroom motion detector [binary_sensor.bathroom_motion_detector] detects motion or when motion stops; when the bathroom door sensor [binary_sensor.bathroom_door] opens or closes; when the auto bathroom lights timer [timer.automation_auto_bathroom_lights] finishes; when the auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is enabled or disabled; or when the bathroom alexa [media_player.bathroom_alexa] starts or stops playing music.",
"conditions": "The automation only runs if the auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is enabled, or if it was disabled less than 10 seconds ago.",
"action": "Depending on what triggered the automation, different actions occur. If the lights turn on or the door opens, a timer is started. If the lights turn off, the timer is cancelled. If motion is detected, the lights turn on. If motion stops and the door is open, the timer is started. When the timer finishes, the lights turn off. If the door closes or music starts playing, the lights are turned on (if they were off) and the timer is cancelled. If the automation is enabled while the lights are on, the timer is started and a notification is sent. If the automation is disabled while the lights are on, the timer is cancelled and a notification is sent. If music stops playing and the door is open, the timer is started."
},
"human_like": "Automatically manages the bathroom lights based on motion, door status, and music playback, using a timer to turn them off after a set duration.",
"complexity": "high"
}
},
{
"id": "'1696213571336'",
"result": {
"structured": "TRIGGER: When unraid sensor [binary_sensor.unraid] changes from on to off AND remains off for 5 minutes. CONDITIONS: None. ACTIONS: Send a notification to mobile app S22 Ultra [notify.mobile_app_s22_ultra] with title 'Unraid Down' and message containing the current time from time sensor [sensor.time] and the name and state of the triggering entity.",
"natural_language": {
"trigger": "When the unraid sensor [binary_sensor.unraid] changes from being on to being off and stays off for a continuous period of five minutes.",
"conditions": "There are no conditions that need to be met.",
"action": "Sends a push notification to the mobile app S22 Ultra [notify.mobile_app_s22_ultra]. The notification has the title 'Unraid Down' and a message that includes the current time from the time sensor [sensor.time], followed by the name and new state of the unraid sensor."
},
"human_like": "Sends a phone notification if the Unraid server has been offline for five minutes.",
"complexity": "low"
}
},
{
"id": "'1697598219834'",
"result": {
"structured": "TRIGGER: Every hour (on the hour). CONDITIONS: None. ACTIONS: Set text entity [text.text] to value 'temp', then wait 1 second, then set text entity [text.text] to value 'smoke'.",
"natural_language": {
"trigger": "The automation runs every hour, on the hour.",
"conditions": "There are no conditions that must be met.",
"action": "It first sets the text entity [text.text] to the value 'temp'. After a one-second delay, it then sets the same text entity [text.text] to the value 'smoke'."
},
"human_like": "Changes the value of a text field every hour, first to 'temp' and then to 'smoke' after a brief delay.",
"complexity": "low"
}
},
{
"id": "'1698360200348'",
"result": {
"structured": "TRIGGER: At 18:56:00 daily. CONDITIONS: None. ACTIONS: Show a pop-up on browser mod device [device_id:6b3c1fe87e30630ffd8d05915f1350ac] with title 'Test', which is dismissable and will auto-close. The pop-up content is a button card displaying the state of person derek [person.derek] with the label 'Variables work for me.'.",
"natural_language": {
"trigger": "Every day at 6:56 PM.",
"conditions": "There are no conditions.",
"action": "Displays a pop-up notification on the browser mod device [device_id:6b3c1fe87e30630ffd8d05915f1350ac]. The pop-up has the title 'Test', can be dismissed by the user, and will close automatically. Its content is a button card showing the status of person derek [person.derek] with the label text 'Variables work for me.'."
},
"human_like": "Shows a daily pop-up notification on a specific browser device at 6:56 PM, displaying Derek's status.",
"complexity": "low"
}
},
{
"id": "'1701031425363'",
"result": {
"structured": "TRIGGER: When problem sensor [sensor.problem] changes from OK to Problem AND remains for 1 minute OR When problem sensor [sensor.problem] changes from Problem to OK AND remains for 0 seconds OR When problem sensor [sensor.problem] changes from Problem to OK AND remains for 1 minute OR Every hour (time pattern). CONDITIONS: None. ACTIONS: Choose based on trigger: If trigger is Problem Detected, then turn on automation override [input_boolean.automation_override], turn on hallway light [light.hallway] to red at 100% brightness, wait 10 seconds, turn off automation override [input_boolean.automation_override], turn on hallway light [light.hallway] to red at 100% brightness again, then send specific notifications if sensor.problem attributes are not OK: If freezer attribute is not OK, send notification to mobile app S25 Ultra [notify.mobile_app_s25_ultra] with freezer temperature. If refrigerator attribute is not OK, send notification to mobile app S25 Ultra [notify.mobile_app_s25_ultra] with refrigerator temperature. If freezer attribute is not OK, send notification to mobile app S25 Ultra [notify.mobile_app_s25_ultra] about Unraid. If freezer attribute is not OK, send notification to mobile app S25 Ultra [notify.mobile_app_s25_ultra] about internet. If trigger is Problem Resolved, then turn off hallway light [light.hallway] and send notification to mobile app S25 Ultra [notify.mobile_app_s25_ultra] that problem is resolved. If trigger is Hourly Check, then if problem sensor [sensor.problem] is OK AND auto hallway lights automation entity [automation.auto_hallway_lights] is on AND hallway light [light.hallway] rgb_color attribute is empty, then turn off hallway light [light.hallway].",
"natural_language": {
"trigger": "The automation triggers when the problem sensor [sensor.problem] changes from 'OK' to 'Problem' and stays that way for one minute, or when it changes from 'Problem' back to 'OK' (either immediately or after staying 'OK' for one minute). It also triggers every hour on a scheduled basis.",
"conditions": "There are no conditions that must be met for the automation to run; it proceeds directly to actions based on which trigger fired.",
"action": "Depending on which trigger occurred: If a problem is detected, it temporarily enables an automation override, flashes the hallway light [light.hallway] red, and then sends detailed notifications to a mobile device [notify.mobile_app_s25_ultra] about specific issues like freezer temperature, refrigerator temperature, Unraid server status, or internet connectivity, based on the attributes of the problem sensor. If the problem is resolved, it turns off the hallway light and sends an 'all clear' notification. On the hourly check, if the system is OK and the hallway light is in an unexpected state, it turns the light off."
},
"human_like": "This automation acts as a system watchdog, alerting you via phone notifications and a red hallway light when a problem is detected, and clearing the alert when the issue is resolved. It also performs a regular check to ensure the hallway light is off when no problems exist.",
"complexity": "high"
}
},
{
"id": "'1703210723141'",
"result": {
"structured": "TRIGGER: When weather home [weather.home] OR openweathermap [weather.openweathermap] OR nodered all lights to rgb [switch.nodered_all_lights_to_rgb] becomes unavailable OR at midnight (00:00:00). CONDITIONS: None. ACTIONS: If the trigger was nodered all lights to rgb [switch.nodered_all_lights_to_rgb] becoming unavailable, then disable the switch entity, wait 30 seconds, and restart the Node-RED addon. Otherwise, reload the configuration entry for the entity that triggered the automation.",
"natural_language": {
"trigger": "The automation triggers either when any of the monitored entities (weather home [weather.home], openweathermap [weather.openweathermap], or nodered all lights to rgb [switch.nodered_all_lights_to_rgb]) becomes unavailable, or at midnight every day.",
"conditions": "There are no conditions that must be met for the actions to run.",
"action": "If the trigger was the nodered all lights to rgb [switch.nodered_all_lights_to_rgb] switch becoming unavailable, the automation will temporarily disable that switch, wait 30 seconds, and then restart the Node-RED addon. For any other trigger (either a weather entity becoming unavailable or the midnight timer), it will reload the configuration entry for the specific entity that triggered the event."
},
"human_like": "Automatically restarts integrations or Node-RED when they become unavailable, and performs a daily check at midnight to ensure everything is working.",
"complexity": "medium"
}
},
{
"id": "'1703380210771'",
"result": {
"structured": "TRIGGER: When bedroom motion detector device [673bdd66fe132d43df8b13aee55b7ae8] detects motion OR When bedroom motion detector device [673bdd66fe132d43df8b13aee55b7ae8] stops detecting motion for 15 minutes OR When Fire Bedside Battery Level [sensor.fire_bedside_battery_level] rises above 90% OR When Fire Bedside Battery Level [sensor.fire_bedside_battery_level] falls below 30% OR When bedroom motion detector illuminance [sensor.bedroom_motion_detector_illuminance] changes state OR When Fire Bedside Battery Level [sensor.fire_bedside_battery_level] becomes unavailable. CONDITIONS: None. ACTIONS: IF trigger is motion detected THEN (IF fire bedside device [de242ee287ce83011d0ca4eb361012d9] is off THEN set fire bedside screen brightness number [number.fire_bedside_screen_brightness] based on bedroom motion detector illuminance [sensor.bedroom_motion_detector_illuminance] (255 if >= 3, 64 if == 2, 5 if < 2) AND turn on fire bedside device [de242ee287ce83011d0ca4eb361012d9]) AND (IF fire computer desk device [9cd917b994ea278c02ec86321e38095e] is off THEN turn on fire computer desk device [9cd917b994ea278c02ec86321e38095e]). IF trigger is motion cleared for 15 minutes THEN turn off fire bedside switch [a4e05baf4e06649648d37f8a77dcc6f5] AND turn off fire computer desk switch [ea82e8163847666357471dd83d5f2225]. IF trigger is battery high (above 90%) THEN turn off bedroom charger switch [726650d4664cfd7c03ccf4471357cb6d]. IF trigger is battery low (below 30%) OR battery unavailable THEN turn on bedroom charger switch [726650d4664cfd7c03ccf4471357cb6d]. IF trigger is illuminance change THEN (IF bedroom motion detector illuminance device [56bfec006fdfda57e84d44e5d3aab121] is above 8 lux THEN set fire bedside screen brightness [62e2d269ff6eb1c7c3d2f378be57c0ef] to 255 AND set fire computer desk screen brightness [fc3a51cdad17a3b8d7ebbcbf1b8cbca9] to 255) OR (IF bedroom motion detector illuminance device [56bfec006fdfda57e84d44e5d3aab121] is above 3 lux AND below 8 lux THEN set fire bedside screen brightness [62e2d269ff6eb1c7c3d2f378be57c0ef] to 128 AND set fire computer desk screen brightness [fc3a51cdad17a3b8d7ebbcbf1b8cbca9] to 128) OR (IF bedroom motion detector illuminance device [56bfec006fdfda57e84d44e5d3aab121] is above 0 lux AND below 4 lux THEN set fire bedside screen brightness [62e2d269ff6eb1c7c3d2f378be57c0ef] to 5 AND set fire computer desk screen brightness [fc3a51cdad17a3b8d7ebbcbf1b8cbca9] to 5).",
"natural_language": {
"trigger": "The automation can be triggered in several ways: when motion is detected by the bedroom motion detector device [673bdd66fe132d43df8b13aee55b7ae8]; when motion has not been detected by the same device for 15 minutes; when the Fire Bedside Battery Level [sensor.fire_bedside_battery_level] rises above 90%; when the Fire Bedside Battery Level [sensor.fire_bedside_battery_level] falls below 30%; when the bedroom motion detector illuminance [sensor.bedroom_motion_detector_illuminance] changes; or when the Fire Bedside Battery Level [sensor.fire_bedside_battery_level] becomes unavailable.",
"conditions": "There are no conditions that must be met for the automation to run; it will execute based solely on the triggers.",
"action": "Depending on which trigger activated the automation, different actions are performed. If motion is detected, it turns on the fire bedside device [de242ee287ce83011d0ca4eb361012d9] and the fire computer desk device [9cd917b994ea278c02ec86321e38095e] if they are off, and sets the fire bedside screen brightness number [number.fire_bedside_screen_brightness] based on the current light level. If motion has been absent for 15 minutes, it turns off the fire bedside switch [a4e05baf4e06649648d37f8a77dcc6f5] and the fire computer desk switch [ea82e8163847666357471dd83d5f2225]. If the bedside battery level is high, it turns off the bedroom charger switch [726650d4664cfd7c03ccf4471357cb6d]. If the battery level is low or unavailable, it turns on the bedroom charger switch [726650d4664cfd7c03ccf4471357cb6d]. If the light level changes, it adjusts the screen brightness of both the fire bedside screen brightness [62e2d269ff6eb1c7c3d2f378be57c0ef] and the fire computer desk screen brightness [fc3a51cdad17a3b8d7ebbcbf1b8cbca9] to a value appropriate for the new brightness (bright, dim, or dark)."
},
"human_like": "This automation manages bedroom and office tablets by turning screens on with motion, off after inactivity, adjusting brightness based on room light, and controlling charging based on battery level.",
"complexity": "high"
}
},
{
"id": "'1703463429418'",
"result": {
"structured": "TRIGGER: When office motion detector device [ee217a8385eb18bff6776aabc310021e] starts detecting motion OR When office motion detector device [ee217a8385eb18bff6776aabc310021e] stops detecting motion and remains clear for 10 minutes OR When fire office battery level [d6cfab278a60c8a074e13aa7365380f8] is above 90% OR When fire office battery level [d6cfab278a60c8a074e13aa7365380f8] is below 30% OR When fire office screen [light.fire_office_screen] becomes unavailable and remains unavailable for 15 seconds. CONDITIONS: None. ACTIONS: IF trigger is motion detected THEN IF fire office switch [9c21c738ad4179440e14bf4cae43cb0d] is off THEN turn on fire office switch [9c21c738ad4179440e14bf4cae43cb0d]. IF trigger is motion cleared for 10 minutes THEN turn off fire office switch [9c21c738ad4179440e14bf4cae43cb0d]. IF trigger is battery level above 90% THEN turn off office charger switch [bd1d2e736255ff1d5c74f813b70b49e1]. IF trigger is battery level below 30% OR fire office screen [light.fire_office_screen] is unavailable for 15 seconds THEN turn on office charger switch [bd1d2e736255ff1d5c74f813b70b49e1].",
"natural_language": {
"trigger": "This automation can be triggered in several ways: when the office motion detector device [ee217a8385eb18bff6776aabc310021e] first detects motion; when the same motion detector reports no motion for a continuous period of 10 minutes; when the fire office battery level [d6cfab278a60c8a074e13aa7365380f8] rises above 90%; when that battery level falls below 30%; or when the fire office screen [light.fire_office_screen] becomes unavailable and stays that way for 15 seconds.",
"conditions": "There are no conditions that must be met for this automation to run; it will execute based solely on the triggers.",
"action": "Depending on which trigger fired, different actions are taken. If motion is initially detected, the automation checks if the fire office switch [9c21c738ad4179440e14bf4cae43cb0d] is off, and if so, turns it on. If motion has been absent for 10 minutes, it turns that same switch off. If the battery level is reported as high (above 90%), it turns off the office charger switch [bd1d2e736255ff1d5c74f813b70b49e1]. If the battery level is low (below 30%) or if the tablet screen becomes unavailable for 15 seconds, it turns on the office charger switch [bd1d2e736255ff1d5c74f813b70b49e1]."
},
"human_like": "Manages an office tablet by turning its screen on when motion is detected and off after a period of inactivity, and controls its charger based on battery level or connectivity issues.",
"complexity": "medium"
}
},
{
"id": "'1703467113239'",
"result": {
"structured": "TRIGGER: When a lovelace_updated event occurs OR When Home Assistant starts OR When Home Assistant shuts down. CONDITIONS: None. ACTIONS: If the trigger is lovelace_updated OR HA_started, then wait 10 seconds, press the buttons fire office load start url [button.fire_office_load_start_url], fire computer desk load start url [button.fire_computer_desk_load_start_url], fire living room load start url [button.fire_living_room_load_start_url], and fire bedside load start url [button.fire_bedside_load_start_url], then if mini pc browser path [sensor.mini_pc_browser_path] is /lovelace-yaml/0, refresh the browser mod device [device_id: 6b3c1fe87e30630ffd8d05915f1350ac], otherwise navigate it to '/lovelace-yaml/0 '. If the trigger is HA_shutdown, then turn on the lights fire bedside screen [light.fire_bedside_screen], fire computer desk screen [light.fire_computer_desk_screen], fire living room screen [light.fire_living_room_screen], and fire office screen [light.fire_office_screen], load the URL http://10.10.10.6:81/restarting.html on the fire bedside device [device_id: d5b9cae0114b1c1b101a436665dc491f], navigate the browser mod device [device_id: 6b3c1fe87e30630ffd8d05915f1350ac] to http://10.10.10.6:81/restarting.html, and wait 3 seconds.",
"natural_language": {
"trigger": "The automation runs when the Lovelace dashboard is updated, when Home Assistant starts up, or when Home Assistant shuts down.",
"conditions": "There are no conditions; the actions run immediately when triggered.",
"action": "If the trigger is a Lovelace update or Home Assistant start, it waits 10 seconds, then presses the 'load start URL' buttons for the office, computer desk, living room, and bedside tablets. It then checks the current browser path of the mini PC. If the path is '/lovelace-yaml/0', it refreshes the browser mod device; otherwise, it navigates that device to '/lovelace-yaml/0 '. If the trigger is a Home Assistant shutdown, it turns on the screen backlight lights for all tablets, loads a 'restarting' webpage on the bedside tablet, navigates the browser mod device to the same webpage, and waits 3 seconds."
},
"human_like": "Manages tablet displays by reloading dashboard URLs after updates or startup, and shows a restarting page during Home Assistant shutdown.",
"complexity": "medium"
}
},
{
"id": "'1704122467342'",
"result": {
"structured": "TRIGGER: When living room motion detector device [df33ece661e5b95570527bb241e5be81] detects motion (id: detected) OR When living room motion detector device [df33ece661e5b95570527bb241e5be81] stops detecting motion (id: clear) AND remains in that state for 5 minutes OR When fire living room battery level [ce248c5fc411aae21d76463203cb359c] battery level rises above 90% (id: battery_high) OR When fire living room battery level [ce248c5fc411aae21d76463203cb359c] battery level falls below 30% (id: battery_low) OR When fire living room screen [light.fire_living_room_screen] becomes unavailable for 15 seconds (id: unavailable). CONDITIONS: None. ACTIONS: IF trigger id is detected THEN set fire living room screen brightness [number.fire_living_room_screen_brightness] to 255 if living room motion detector illuminance [sensor.living_room_motion_detector_illuminance] >= 3, to 64 if illuminance == 2, or to 5 if illuminance < 2 AND IF fire living room device [69995a9c5c39d075e7e9aa4bdf4e2cef] is off THEN turn on fire living room device [69995a9c5c39d075e7e9aa4bdf4e2cef] AND turn on apolosign calendar screen [switch.apolosign_calendar_screen]. IF trigger id is clear THEN turn off fire living room device [69995a9c5c39d075e7e9aa4bdf4e2cef] AND turn off apolosign calendar screen [switch.apolosign_calendar_screen]. IF trigger id is battery_high THEN turn off living room charger switch [d344f9f59d99072efe0d123914814532]. IF trigger id is battery_low OR unavailable THEN turn on living room charger switch [d344f9f59d99072efe0d123914814532].",
"natural_language": {
"trigger": "The automation can be triggered in five ways: when motion is detected by the living room motion detector device [df33ece661e5b95570527bb241e5be81]; when motion has not been detected by the same device for five minutes; when the battery level of the fire living room battery level [ce248c5fc411aae21d76463203cb359c] rises above 90%; when that same battery level falls below 30%; or when the fire living room screen [light.fire_living_room_screen] becomes unavailable for 15 seconds.",
"conditions": "There are no conditions that must be met for the automation to run; it executes based solely on the trigger.",
"action": "Depending on which trigger fired, different actions are taken. If motion is detected, the screen brightness for the fire living room screen brightness [number.fire_living_room_screen_brightness] is set based on the current illuminance level from the living room motion detector illuminance [sensor.living_room_motion_detector_illuminance]. If the main screen device is off, it is turned on along with the apolosign calendar screen [switch.apolosign_calendar_screen]. If motion has been absent for five minutes, the screen device and the calendar screen are turned off. If the battery level is high, the living room charger switch [d344f9f59d99072efe0d123914814532] is turned off. If the battery level is low or the screen becomes unavailable, the charger switch is turned on."
},
"human_like": "This automation manages a tablet in the living room, turning its screen on with adaptive brightness when motion is detected, turning it off after a period of inactivity, and controlling its charger based on battery level and connectivity.",
"complexity": "high"
}
},
{
"id": "'1705890738770'",
"result": {
"structured": "TRIGGER: When NFC tag with ID 831fa5ca-0fa6-4924-85c7-7e8fea316839 is scanned. CONDITIONS: None. ACTIONS: If the trigger was 'emptied_litter_box', then reset the counter empty litter box counter [counter.task_empty_litter_box].",
"natural_language": {
"trigger": "When a specific NFC tag (with ID 831fa5ca-0fa6-4924-85c7-7e8fea316839) is scanned.",
"conditions": "There are no conditions for this automation.",
"action": "If the scanned tag is identified as 'emptied_litter_box', the automation resets the empty litter box counter [counter.task_empty_litter_box] to zero."
},
"human_like": "Resets the litter box task counter when a specific NFC tag is scanned.",
"complexity": "low"
}
},
{
"id": "'1705892421952'",
"result": {
"structured": "TRIGGER: When a tag is scanned (tag_id is empty string). CONDITIONS: None. ACTIONS: If empty litter box counter [counter.task_empty_litter_box] value is greater than empty litter box duration [input_number.task_empty_litter_box_duration] value, then send a mobile notification via mobile app S22 Ultra [notify.mobile_app_s22_ultra] with title 'Overdue' and message 'Litter box'.",
"natural_language": {
"trigger": "Whenever a tag is scanned.",
"conditions": "There are no conditions that must be met before the action is evaluated.",
"action": "The automation checks if the value of the empty litter box counter [counter.task_empty_litter_box] is greater than the value of the empty litter box duration [input_number.task_empty_litter_box_duration]. If this is true, it sends a notification to the mobile app S22 Ultra [notify.mobile_app_s22_ultra] with the title 'Overdue' and the message 'Litter box'."
},
"human_like": "Sends a notification when the litter box task is overdue, triggered by scanning a tag.",
"complexity": "low"
}
},
{
"id": "'1709100898227'",
"result": {
"structured": "TRIGGER: When living room light 1 [light.living_room1] OR living room light 2 [light.living_room2] changes state from off to on. CONDITIONS: The triggered entity's state changed from off to on AND the triggered entity is a member of the all lights [light.all_lights] group, excluding any group entities. ACTIONS: None.",
"natural_language": {
"trigger": "When either the living room light 1 [light.living_room1] or the living room light 2 [light.living_room2] is turned on.",
"conditions": "The light must have actually changed from an off state to an on state, and the light must be a member of the 'all lights' group, but not be a group entity itself.",
"action": "No action is performed."
},
"human_like": "This automation monitors when specific living room lights are turned on, but it doesn't actually do anything when they are.",
"complexity": "medium"
}
},
{
"id": "'1711865497073'",
"result": {
"structured": "TRIGGER: None. CONDITIONS: None. ACTIONS: Execute python_script.hass_entities to set the icon attribute of living room light 1 [light.living_room1] to 'mdi:phone'.",
"natural_language": {
"trigger": "This automation has no trigger; it must be run manually.",
"conditions": "This automation has no conditions.",
"action": "Runs a Python script to change the icon for the living room light 1 [light.living_room1] to a phone symbol."
},
"human_like": "Manually changes the icon for the living room light to a phone symbol using a script.",
"complexity": "low"
}
},
{
"id": "'1717384051188'",
"result": {
"structured": "TRIGGER: When a webhook with ID '-plex-skip-ending-credits' is received via a POST or PUT request, and the request is local only. CONDITIONS: None. ACTIONS: None.",
"natural_language": {
"trigger": "The automation is triggered when a local webhook request with the specific ID '-plex-skip-ending-credits' is received, accepting only POST or PUT HTTP methods.",
"conditions": "There are no conditions that need to be met.",
"action": "No action is performed."
},
"human_like": "Listens for a specific local webhook request but does nothing when it's received.",
"complexity": "low"
}
},
{
"id": "'1729400732412'",
"result": {
"structured": "TRIGGER: When media_series_title attribute of xbox plex media player [media_player.xbox_plex] changes to Manifest. CONDITIONS: None. ACTIONS: Turn on living room lights [light.living_room_lights] with brightness set to 20 percent.",
"natural_language": {
"trigger": "When the currently playing series title on the xbox plex media player [media_player.xbox_plex] changes to 'Manifest'.",
"conditions": "There are no conditions that must be met.",
"action": "Turns on the living room lights [light.living_room_lights] at 20% brightness."
},
"human_like": "Turns the living room lights on to a dim level when you start watching the series 'Manifest' on Plex.",
"complexity": "low"
}
},
{
"id": "'1737974858229'",
"result": {
"structured": "TRIGGER: When the template expression evaluates to true, specifically when the current month is January, May, or August AND the current day is the 27th AND the current hour is 5 AND the current minute is 48. CONDITIONS: None. ACTIONS: Create a persistent notification with the title 'Template automation test' and the message 'This is a test of the template automation.'.",
"natural_language": {
"trigger": "The automation triggers at exactly 5:48 AM on the 27th day of January, May, or August.",
"conditions": "There are no conditions to check; the automation runs immediately when the trigger occurs.",
"action": "Creates a persistent notification with the title 'Template automation test' and the message 'This is a test of the template automation.'"
},
"human_like": "Sends a test notification at 5:48 AM on the 27th of January, May, and August.",
"complexity": "medium"
}
},
{
"id": "Auto Bathroom Lights",
"result": {
"structured": "TRIGGER: When bathroom lights [light.bathroom_lights] turns on OR when bathroom lights [light.bathroom_lights] turns off OR when bathroom motion detector [binary_sensor.bathroom_motion_detector] detects motion (on) OR when bathroom motion detector [binary_sensor.bathroom_motion_detector] clears motion (off) OR when bathroom door sensor [binary_sensor.bathroom_door] opens (on) OR when bathroom door sensor [binary_sensor.bathroom_door] closes (off) OR when auto bathroom lights timer [timer.automation_auto_bathroom_lights] finishes OR when auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] turns on OR when auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] turns off OR when bathroom alexa [media_player.bathroom_alexa] starts playing OR when bathroom alexa [media_player.bathroom_alexa] stops playing (from playing to paused). CONDITIONS: (auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is on) OR (auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is off AND the time since it was last changed is less than 10 seconds). ACTIONS: (If triggered by bathroom lights [light.bathroom_lights] turning on OR bathroom door sensor [binary_sensor.bathroom_door] opening, start auto bathroom lights timer [timer.automation_auto_bathroom_lights] with duration from auto bathroom lights duration [input_number.automation_auto_bathroom_lights_duration]) OR (If triggered by bathroom lights [light.bathroom_lights] turning off, cancel auto bathroom lights timer [timer.automation_auto_bathroom_lights]) OR (If triggered by bathroom motion detector [binary_sensor.bathroom_motion_detector] detecting motion, turn on bathroom lights [light.bathroom_lights]) OR (If triggered by bathroom motion detector [binary_sensor.bathroom_motion_detector] clearing motion AND bathroom door sensor [binary_sensor.bathroom_door] is open, start auto bathroom lights timer [timer.automation_auto_bathroom_lights] with duration from auto bathroom lights duration [input_number.automation_auto_bathroom_lights_duration]) OR (If triggered by auto bathroom lights timer [timer.automation_auto_bathroom_lights] finishing, turn off bathroom lights [light.bathroom_lights]) OR (If triggered by bathroom door sensor [binary_sensor.bathroom_door] closing OR bathroom alexa [media_player.bathroom_alexa] starting playing, if bathroom lights [light.bathroom_lights] is off then turn it on, and cancel auto bathroom lights timer [timer.automation_auto_bathroom_lights]) OR (If triggered by auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] turning on AND bathroom lights [light.bathroom_lights] is on, start auto bathroom lights timer [timer.automation_auto_bathroom_lights] AND send a random notification via alexa media bathroom [notify.alexa_media_bathroom]) OR (If triggered by auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] turning off AND bathroom lights [light.bathroom_lights] is on, cancel auto bathroom lights timer [timer.automation_auto_bathroom_lights] AND send a random notification via alexa media bathroom [notify.alexa_media_bathroom]) OR (If triggered by bathroom alexa [media_player.bathroom_alexa] stopping playing AND bathroom door sensor [binary_sensor.bathroom_door] is open, start auto bathroom lights timer [timer.automation_auto_bathroom_lights]).",
"natural_language": {
"trigger": "The automation can be triggered by many events: the bathroom lights [light.bathroom_lights] turning on or off; the bathroom motion detector [binary_sensor.bathroom_motion_detector] detecting or clearing motion; the bathroom door sensor [binary_sensor.bathroom_door] opening or closing; the auto bathroom lights timer [timer.automation_auto_bathroom_lights] finishing; the auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] toggle being turned on or off; or the bathroom alexa [media_player.bathroom_alexa] starting or stopping playback.",
"conditions": "The automation only runs if the auto bathroom lights automation [input_boolean.automation_auto_bathroom_lights] is enabled, or if it was disabled less than 10 seconds ago.",
"action": "Depending on what triggered it, the automation will perform one of several actions: start a timer when the lights come on or the door opens; cancel the timer when the lights go off; turn the lights on when motion is detected; start the timer when motion clears and the door is open; turn the lights off when the timer finishes; turn the lights on (if they are off) and cancel the timer when the door closes or music starts; start the timer and send an Alexa notification when the automation is enabled while the lights are on; cancel the timer and send an Alexa notification when the automation is disabled while the lights are on; or start the timer when music stops and the door is open."
},
"human_like": "Automatically manages the bathroom lights based on motion, door status, music playback, and a manual toggle, using a timer to turn the lights off after a period of inactivity.",
"complexity": "high"
}
},
{
"id": "Auto Kitchen Lights",
"result": {
"structured": "TRIGGER: When kitchen lights [light.kitchen_lights] turns on OR When kitchen lights [light.kitchen_lights] turns off OR When kitchen motion detector [binary_sensor.kitchen_motion_detector] detects motion (on) OR When kitchen motion detector [binary_sensor.kitchen_motion_detector] clears motion (off) OR When timer auto kitchen lights [timer.automation_auto_kitchen_lights] finishes OR When auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turns on OR When auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turns off OR When auto kitchen lights timer [timer.automation_auto_kitchen_lights] OR tester timer [timer.tester] attribute 'remaining' becomes '1:00'. CONDITIONS: (auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] is on) OR (auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] is off AND the time since it last changed is less than 10 seconds). ACTIONS: Based on the trigger: 1. If kitchen lights turned on, start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for a duration from auto kitchen lights duration [input_number.automation_auto_kitchen_lights_duration] (minutes converted to seconds). 2. If kitchen lights turned off, cancel auto kitchen lights timer [timer.automation_auto_kitchen_lights]. 3. If motion detected, then: A. If mini pc plex [media_player.mini_pc_plex] is playing a movie AND kitchen lights [light.kitchen_lights] are off, turn on stove light [light.stove] at 50% brightness and start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for 300 seconds. B. If kitchen lights [light.kitchen_lights] are off, turn on kitchen lights [light.kitchen_lights]. C. If auto kitchen lights timer [timer.automation_auto_kitchen_lights] is active AND kitchen lights [light.kitchen_lights] are on, restart auto kitchen lights timer [timer.automation_auto_kitchen_lights] (using its previous duration). 4. If motion cleared AND kitchen lights [light.kitchen_lights] are on, start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for a duration from auto kitchen lights duration [input_number.automation_auto_kitchen_lights_duration] (minutes converted to seconds). 5. If timer finished, turn off kitchen lights [light.kitchen_lights]. 6. If auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turned on AND kitchen lights [light.kitchen_lights] are on, start auto kitchen lights timer [timer.automation_auto_kitchen_lights] (using its previous duration). 7. If auto kitchen lights automation [input_boolean.automation_auto_kitchen_lights] turned off AND kitchen lights [light.kitchen_lights] are on, cancel auto kitchen lights timer [timer.automation_auto_kitchen_lights]. 8. If timer remaining is '1:00' AND kitchen motion detector [binary_sensor.kitchen_motion_detector] is on (condition disabled), start auto kitchen lights timer [timer.automation_auto_kitchen_lights] for 5 minutes.",
"natural_language": {
"trigger": "The automation can be triggered by several events: the kitchen lights turning on or off, the kitchen motion detector detecting or clearing motion, the auto kitchen lights timer finishing, the auto kitchen lights automation toggle being switched on or off, or when the remaining time on either the auto kitchen lights timer or the tester timer reaches one minute.",
"conditions": "The automation only runs if the auto kitchen lights automation toggle is currently on, or if it was turned off less than ten seconds ago.",
"action": "Depending on which trigger occurred, the automation performs different actions. If the kitchen lights turn on, it starts a timer based on a configured duration. If they turn off, it cancels that timer. If motion is detected, it checks several scenarios: if a movie is playing on Plex and the kitchen lights are off, it turns on the stove light at half brightness and starts a five-minute timer; if the kitchen lights are simply off, it turns them on; if the lights are on and the timer is already running, it restarts the timer. If motion clears and the kitchen lights are on, it starts the timer based on the configured duration. If the timer finishes, it turns off the kitchen lights. If the automation toggle is turned on while the kitchen lights are on, it starts the timer. If the automation toggle is turned off while the kitchen lights are on, it cancels the timer. Finally, if a timer's remaining time reaches one minute and motion is detected (though this condition is disabled), it would start a five-minute timer."
},
"human_like": "This automation manages the kitchen lights based on motion, manual control, and media playback, using a timer to automatically turn them off after a period of inactivity.",
"complexity": "high"
}
}
]