[ { "id": "d84b108c-44e8-4df9-ba5d-2cb83f38dee9", "result": { "structured": "TRIGGER: When away mode [input_boolean.away_mode] turns on OR When away mode [input_boolean.away_mode] turns off OR Every 5 minutes (time pattern) OR When people home [binary_sensor.people_home] turns on. CONDITIONS: auto security arming mode [input_boolean.auto_security_arming_mode] is on. ACTIONS: Choose based on trigger and conditions: 1. IF (trigger is Away mode turned on) AND (security alarm [alarm_control_panel.security_alarm] is NOT armed_away) THEN arm security alarm [alarm_control_panel.security_alarm] to away. 2. IF (trigger is Away mode turned off) AND (security alarm [alarm_control_panel.security_alarm] is armed_away) THEN arm security alarm [alarm_control_panel.security_alarm] to home. 3. IF (trigger is Night time check) AND (probably sleeping [binary_sensor.probably_sleeping] is on) AND (security alarm [alarm_control_panel.security_alarm] is NOT armed_night) THEN arm security alarm [alarm_control_panel.security_alarm] to night. 4. IF (trigger is Night time check) AND (probably sleeping [binary_sensor.probably_sleeping] is off) AND (security alarm [alarm_control_panel.security_alarm] is armed_night) THEN arm security alarm [alarm_control_panel.security_alarm] to home. 5. IF (trigger is People are home) AND (security alarm [alarm_control_panel.security_alarm] is NOT armed_home) THEN arm security alarm [alarm_control_panel.security_alarm] to home.", "natural_language": { "trigger": "The automation can be triggered in four ways: when the away mode [input_boolean.away_mode] is turned on, when it is turned off, every five minutes on a scheduled check, or when the people home [binary_sensor.people_home] sensor indicates someone has arrived home.", "conditions": "The automation only runs if the auto security arming mode [input_boolean.auto_security_arming_mode] is switched on.", "action": "Depending on which trigger fired and the current state of the alarm, the system will adjust the security alarm [alarm_control_panel.security_alarm]. If away mode is turned on and the alarm is not already armed away, it arms the alarm in away mode. If away mode is turned off and the alarm is armed away, it switches the alarm to home mode. During the scheduled five-minute checks, if the probably sleeping [binary_sensor.probably_sleeping] sensor is on and the alarm is not armed for night, it arms the alarm in night mode. If, during the same check, the probably sleeping sensor is off and the alarm is armed for night, it switches the alarm back to home mode. Finally, if the people home sensor turns on and the alarm is not already armed for home, it arms the alarm in home mode." }, "human_like": "Automatically adjusts the home security alarm to away, night, or home modes based on whether you've left, are sleeping, or have returned, but only when the auto-arming feature is enabled.", "complexity": "medium" } }, { "id": "3619ec5b-8463-449a-8bf0-5bac911b1ee4", "result": { "structured": "TRIGGER: When the state of any of the following doors changes: garage door contact [binary_sensor.garage_door_contact], entrance door contact [binary_sensor.entrance_door_contact], storage door1 contact [binary_sensor.storage_door1_contact], or storage door2 contact [binary_sensor.storage_door2_contact]. CONDITIONS: None. ACTIONS: Set a variable 'entity_tag' to a unique identifier for the triggering door. Then, choose an action based on the door's state: IF the door is open (on), send a persistent notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with a title indicating the door is open, a message showing the current time from time sensor [sensor.time], and a tag for later clearing. IF the door is closed (off), send a notification to the same service to clear the previously sent notification using the same tag.", "natural_language": { "trigger": "Whenever the state of the garage door contact [binary_sensor.garage_door_contact], entrance door contact [binary_sensor.entrance_door_contact], storage door1 contact [binary_sensor.storage_door1_contact], or storage door2 contact [binary_sensor.storage_door2_contact] changes.", "conditions": "There are no conditions that must be met for the actions to run.", "action": "The automation first creates a unique identifier tag for the specific door that triggered it. If the door is now open, it sends a persistent notification to my phone (mobile app pixel 7 [notify.mobile_app_pixel_7]) stating which door is open and the current time. If the door is now closed, it sends a command to clear that specific persistent notification from my phone." }, "human_like": "Sends a persistent phone notification when a monitored door opens and clears it when the door closes.", "complexity": "medium" } }, { "id": "f8700e07-1e98-4c0e-bc76-72cb293811d9", "result": { "structured": "TRIGGER: When any entity's state changes (state_changed event). CONDITIONS: The new state is 'unavailable' OR the old state is 'unavailable'. ACTIONS: If the new state is 'unavailable' AND the entity is not in the excluded list, send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with a unique tag. If the old state is 'unavailable' AND the entity is not in the excluded list, clear the notification sent to mobile app pixel 7 [notify.mobile_app_pixel_7] using the same unique tag.", "natural_language": { "trigger": "The automation triggers whenever any entity in the system changes its state.", "conditions": "The automation only proceeds if the state change involves the entity becoming 'unavailable' or recovering from being 'unavailable'. It also checks that the entity is not on a predefined exclusion list of entities (like lunch_light1, bedroom_light1, etc.) that should not generate notifications.", "action": "If the entity has just become unavailable and is not excluded, a notification is sent to the mobile app pixel 7 [notify.mobile_app_pixel_7] with a title and message. If the entity was previously unavailable and has now recovered to a normal state, the automation clears the corresponding notification from the mobile app." }, "human_like": "Sends a phone notification when a device or sensor becomes unavailable, and clears the alert when it comes back online, ignoring a specific list of devices.", "complexity": "medium" } }, { "id": "659d017f-b25c-447d-8651-488e1a8c3c54", "result": { "structured": "TRIGGER: When kitchen door contact [binary_sensor.kitchen_door_contact] changes state. CONDITIONS: None. ACTIONS: If the new state of kitchen door contact [binary_sensor.kitchen_door_contact] is 'on', then turn on kitchen powerplug [switch.kitchen_powerplug]. If the new state of kitchen door contact [binary_sensor.kitchen_door_contact] is 'off', then turn off kitchen powerplug [switch.kitchen_powerplug].", "natural_language": { "trigger": "Whenever the kitchen door contact [binary_sensor.kitchen_door_contact] changes its state.", "conditions": "There are no additional conditions that must be met.", "action": "If the door contact becomes open (on), the kitchen powerplug [switch.kitchen_powerplug] is turned on. If the door contact becomes closed (off), the kitchen powerplug [switch.kitchen_powerplug] is turned off." }, "human_like": "Automatically turns the kitchen power plug on or off based on whether the kitchen door is open or closed.", "complexity": "low" } }, { "id": "0f2f1eeb-b028-470e-b835-cf2a0fb23a1d", "result": { "structured": "TRIGGER: When any entity's state changes (event_type: state_changed). CONDITIONS: The changed entity's entity_id matches the regular expression pattern '^sensor\\.[a-z0-9_]+_(?:door|window|temp|co2meter)_temperature' AND the new state value (converted to integer, default 0) is greater than or equal to the value of maybe fire temperature [input_number.maybe_fire_temperature]. ACTIONS: Send a high-priority notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with title 'Possible fire detected' and a message containing the triggering entity_id. Then, send a command to the VoIP addon to call a SIP URI and deliver a TTS message stating which sensor is getting hot.", "natural_language": { "trigger": "Whenever the state of any entity in the system changes.", "conditions": "The entity that changed must be a temperature sensor, specifically one whose entity_id matches a pattern for sensors related to doors, windows, temperature, or CO2 meters. Furthermore, the new temperature reading from that sensor must be at or above the threshold value set in the maybe fire temperature [input_number.maybe_fire_temperature] input.", "action": "Sends an urgent notification to a mobile device, and also triggers a VoIP phone call with a text-to-speech warning about the specific sensor that is overheating." }, "human_like": "Monitors temperature sensors and sends urgent alerts via phone notification and a VoIP call if any sensor reading exceeds a dangerous threshold, indicating a possible fire.", "complexity": "medium" } }, { "id": "77d67d99-e18d-4b2f-b4ea-c17b2facc68e", "result": { "structured": "TRIGGER: When the state of garage door contact [binary_sensor.garage_door_contact] changes. CONDITIONS: (The previous state of garage door contact [binary_sensor.garage_door_contact] was closed (off) AND the new state is open (on)) AND watch garage activities [input_boolean.watch_garage_activities] is on. ACTIONS: Set the value of last security alarm entity [input_text.last_security_alarm_entity] to the friendly name of garage door contact [binary_sensor.garage_door_contact] AND trigger the security alarm [alarm_control_panel.security_alarm].", "natural_language": { "trigger": "Whenever the state of the garage door contact [binary_sensor.garage_door_contact] changes.", "conditions": "The change must be from a closed (off) state to an open (on) state, and the watch garage activities [input_boolean.watch_garage_activities] input boolean must be turned on.", "action": "First, it records the friendly name of the triggering entity (the garage door contact) into the last security alarm entity [input_text.last_security_alarm_entity]. Then, it triggers the main security alarm [alarm_control_panel.security_alarm]." }, "human_like": "Triggers the security alarm when the garage door opens while garage activity monitoring is enabled.", "complexity": "low" } }, { "id": "20f819ae-a995-4690-b73f-ecab935f5405", "result": { "structured": "TRIGGER: When the time reaches wakeup time workday [input_datetime.wakeup_time_workday] OR When the time reaches wakeup time [input_datetime.wakeup_time]. CONDITIONS: bedroom lights [light.bedroom_lights] is off AND away mode [input_boolean.away_mode] is off AND no wakeup mode [input_boolean.no_wakeup_mode] is off. ACTIONS: If the trigger is Work AND must work today [binary_sensor.must_work_today] is on, then turn on bedroom lights [light.bedroom_lights] to 1% brightness, then turn on bedroom lights [light.bedroom_lights] to wakeup brightness [input_number.wakeup_brightness] percent over a transition of transition_seconds (calculated from wakeup transition minutes [input_number.wakeup_transition_minutes]) seconds. If the trigger is No Work AND must work today [binary_sensor.must_work_today] is off, then turn on bedroom lights [light.bedroom_lights] to 1% brightness, then turn on bedroom lights [light.bedroom_lights] to wakeup brightness [input_number.wakeup_brightness] percent over a transition of transition_seconds (calculated from wakeup transition minutes [input_number.wakeup_transition_minutes]) seconds.", "natural_language": { "trigger": "The automation triggers at a specific time. It uses two possible times: the workday wake-up time set in wakeup time workday [input_datetime.wakeup_time_workday] or the regular wake-up time set in wakeup time [input_datetime.wakeup_time].", "conditions": "The automation only runs if the bedroom lights [light.bedroom_lights] are currently off, the away mode [input_boolean.away_mode] is turned off, and the no wakeup mode [input_boolean.no_wakeup_mode] is also turned off.", "action": "Depending on the trigger and the work status, the lights are turned on gradually. If it's a workday (triggered by the workday time and must work today [binary_sensor.must_work_today] is on), the lights are first turned on to a minimal 1% brightness, then slowly brightened to the target level defined by wakeup brightness [input_number.wakeup_brightness] over a duration defined by wakeup transition minutes [input_number.wakeup_transition_minutes]. The same process occurs for non-workdays (triggered by the regular time and must work today [binary_sensor.must_work_today] is off)." }, "human_like": "This automation acts as a gentle sunrise alarm, slowly brightening the bedroom lights at your scheduled wake-up time, adjusting for workdays and days off.", "complexity": "medium" } }, { "id": "6b0f392f-9afd-4db4-bde7-f961f5391ada", "result": { "structured": "TRIGGER: When bath1 temp humidity [sensor.bath1_temp_humidity] changes state. CONDITIONS: The computed list of bathroom sensors with humidity greater than or equal to the high humidity threshold (from bathroom setting humidity high [input_number.bathroom_setting_humidity_high]) is not empty AND probably sleeping [binary_sensor.probably_sleeping] is off. ACTIONS: 1. Define variables for notification action IDs. 2. Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] listing sensors with high humidity. 3. Wait for a notification action response (Option One, Option Two, or Option Three) for up to 1 hour. 4. Based on the selected action, delay for 15 minutes, 1 hour, or 3 hours (note: the third choose condition incorrectly references 'Option Two' instead of 'Option Three' for the 3-hour delay).", "natural_language": { "trigger": "When the humidity reading from the bath1 temp humidity [sensor.bath1_temp_humidity] sensor changes.", "conditions": "If at least one bathroom humidity sensor (currently only bath1 temp humidity [sensor.bath1_temp_humidity]) reports a humidity level equal to or above the high humidity threshold set by bathroom setting humidity high [input_number.bathroom_setting_humidity_high], and the system detects that you are probably sleeping [binary_sensor.probably_sleeping] is off.", "action": "The automation first prepares unique identifiers for notification actions. It then sends a notification to your mobile app pixel 7 [notify.mobile_app_pray_7] alerting you about the high humidity sensors and providing three options to snooze the alert for 15 minutes, 1 hour, or 3 hours. It waits for you to select one of these options from the notification for up to one hour. If you choose the 15-minute option, it delays for 15 minutes. If you choose the 1-hour option, it delays for 1 hour. If you choose the 3-hour option, it delays for 3 hours (though there is a potential logic error where the 3-hour delay is incorrectly linked to the same condition as the 1-hour option)." }, "human_like": "Alerts you when bathroom humidity gets too high (unless you're likely sleeping) and lets you snooze the notification for a chosen period.", "complexity": "medium" } }, { "id": "b3cc80e4-4039-4052-81c9-f8c25b6bc07a", "result": { "structured": "TRIGGER: When garage temp humidity [sensor.garage_temp_humidity] changes state. CONDITIONS: The computed list of sensors with humidity greater than or equal to the high humidity threshold (from garage setting humidity high [input_number.garage_setting_humidity_high], default 80) is not empty. ACTIONS: Set variables for notification action IDs. Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] listing sensors with high humidity. Wait for a notification action selection (Option One, Option Two, or Option Three) for up to 1 hour. If Option One is selected, delay for 15 minutes. If Option Two is selected, delay for 1 hour. If Option Two is selected (duplicate condition), delay for 3 hours.", "natural_language": { "trigger": "When the garage temp humidity [sensor.garage_temp_humidity] sensor reports a new humidity reading.", "conditions": "Only if, after checking the garage temp humidity [sensor.garage_temp_humidity] sensor, its humidity value is at or above the high humidity threshold set by garage setting humidity high [input_number.garage_setting_humidity_high] (defaulting to 80%).", "action": "The automation prepares unique identifiers for notification actions, then sends a notification to the mobile app pixel 7 [notify.mobile_app_pixel_7] alerting about the high humidity and providing three snooze options (15 minutes, 1 hour, 3 hours). It then waits for the user to tap one of these options in the notification for up to one hour. Based on the user's choice, it introduces a corresponding delay: 15 minutes for 'Option One', 1 hour for 'Option Two', or 3 hours for the second 'Option Two' condition (which appears to be a duplicate)." }, "human_like": "Sends a phone notification when garage humidity is too high, allowing you to snooze the alert for 15 minutes, 1 hour, or 3 hours.", "complexity": "medium" } }, { "id": "68229927-07bf-4342-800b-20a291ce5ed5", "result": { "structured": "TRIGGER: When vordereingang ding 2 [binary_sensor.vordereingang_ding_2] turns on. CONDITIONS: None. ACTIONS: Turn on wohnzimmer play ding sound [switch.wohnzimmer_play_ding_sound].", "natural_language": { "trigger": "When the vordereingang ding 2 [binary_sensor.vordereingang_ding_2] is activated (turns on).", "conditions": "There are no conditions that must be met.", "action": "Activates the chime by turning on the wohnzimmer play ding sound [switch.wohnzimmer_play_ding_sound] switch." }, "human_like": "Plays a chime sound in the living room when someone presses the intercom at the front entrance.", "complexity": "low" } }, { "id": "cc881516-1e51-4b9c-9542-c4b261ac98c9", "result": { "structured": "TRIGGER: When any state change event occurs. CONDITIONS: (The entity that changed state matches the regex pattern '^binary_sensor\\.[a-z0-9_]+_(?:door|window)[0-9]*_contact' AND its previous state was closed (off) AND its new state is open (on)) AND (security alarm [alarm_control_panel.security_alarm] is armed_away OR (security alarm [alarm_control_panel.security_alarm] is armed_night AND the area of the triggering entity is NOT in the list of excluded areas provided by skip security in areas [sensor.skip_security_in_areas])). ACTIONS: Set the value of last security alarm entity [input_text.last_security_alarm_entity] to the friendly name of the triggering entity, then trigger the security alarm [alarm_control_panel.security_alarm].", "natural_language": { "trigger": "Whenever any entity in the system changes its state.", "conditions": "The automation checks if the entity that changed is a door or window contact sensor (identified by its entity ID pattern) and that it transitioned from a closed (off) to an open (on) state. It also requires that the security alarm [alarm_control_panel.security_alarm] is either set to 'armed away' mode, or if it is set to 'armed night' mode, the area where the triggering sensor is located must not be in the list of excluded areas provided by the sensor skip security in areas [sensor.skip_security_in_areas].", "action": "First, it records the friendly name of the sensor that caused the trigger into the text field last security alarm entity [input_text.last_security_alarm_entity]. Then, it triggers the main security alarm [alarm_control_panel.security_alarm]." }, "human_like": "Triggers the security alarm when a door or window is opened while the house is armed for away or night, helping to detect potential intrusions.", "complexity": "medium" } }, { "id": "20f51e6a-1018-4ce5-bd7d-9e702ad1b3be", "result": { "structured": "TRIGGER: When people home [binary_sensor.people_home] becomes 'off' (not home) AND remains so for 30 seconds. CONDITIONS: everything closed [binary_sensor.everything_closed] is 'off' (not everything is closed). ACTIONS: Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with title 'Door or window still open' and a message listing the states of open windows [sensor.open_windows] and open doors [sensor.open_doors].", "natural_language": { "trigger": "When the system detects that people home [binary_sensor.people_home] has changed to 'off', indicating nobody is home, and this state persists for 30 seconds.", "conditions": "If the sensor everything closed [binary_sensor.everything_closed] reports 'off', meaning that not all doors and windows are closed.", "action": "Sends a notification to the mobile app pixel 7 [notify.mobile_app_pixel_7] with a warning title and a message that lists the currently open windows and doors, using data from the open windows [sensor.open_windows] and open doors [sensor.open_doors] sensors." }, "human_like": "Sends an alert to your phone if you leave the house and any doors or windows are still open.", "complexity": "low" } }, { "id": "6467257e-8844-4d73-8ea2-cebb140f9a3e", "result": { "structured": "TRIGGER: When all lights [light.all_lights] turn on and remain on for a duration equal to the value of light reminder time [input_number.light_reminder_time] minutes. CONDITIONS: light reminder [input_boolean.light_reminder] is on. ACTIONS: Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with a list of lights from turned on lights [sensor.turned_on_lights] and offer action buttons to delay further notifications for 15 minutes, 1 hour, or 3 hours. Then, wait for one of these actions to be pressed within 1 hour. If an action is pressed, delay for the corresponding time (15 minutes, 1 hour, or 3 hours). After the delay, repeat the notification sequence until all lights [light.all_lights] are off.", "natural_language": { "trigger": "When the group of all lights [light.all_lights] has been turned on and stayed on for a specific number of minutes, which is determined by the value set in the light reminder time [input_number.light_reminder_time] input.", "conditions": "The automation only runs if the light reminder [input_boolean.light_reminder] is switched on.", "action": "Sends a notification to the mobile app pixel 7 [notify.mobile_app_pixel_7] with a title and a message listing the currently turned on lights from the sensor turned on lights [sensor.turned_on_lights]. The notification includes three action buttons to snooze the reminder for 15 minutes, 1 hour, or 3 hours. The automation then waits for up to one hour for a button press. If a button is pressed, it pauses for the selected duration before sending the notification again. This loop of sending a notification and waiting for a response continues until the group of all lights [light.all_lights] is turned off." }, "human_like": "Sends a reminder to your phone if you leave lights on for too long, allowing you to snooze the alert for a set period.", "complexity": "high" } }, { "id": "e150671f-893e-426d-99c6-9f4e9eaf4d80", "result": { "structured": "TRIGGER: When disk use percent [sensor.disk_use_percent] remains above low disc space threshold [input_number.low_disc_space_threshold] for 5 minutes. CONDITIONS: None. ACTIONS: Set variables action_cooldown15, action_cooldown60, and action_cooldown300. Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with title 'Low disc space detected!' and message 'There is almost no more available disc space for homeassistant.', including interactive actions for 15 minutes, 1 hour, and 3 hours. Wait for a user response via a mobile app notification action for up to 1 hour. If the user selects the 15-minute action, delay for 15 minutes. If the user selects the 1-hour action, delay for 1 hour. If the user selects the 3-hour action, delay for 3 hours.", "natural_language": { "trigger": "When the disk use percent [sensor.disk_use_percent] stays above the low disc space threshold [input_number.low_disc_space_threshold] for at least five minutes.", "conditions": "There are no additional conditions.", "action": "Sends a notification to the mobile app pixel 7 [notify.mobile_app_pixel_7] warning about low disc space, offering options to snooze the alert for 15 minutes, 1 hour, or 3 hours. The automation then waits for the user to select one of these options from the notification for up to one hour. Based on the user's choice, it delays for the corresponding amount of time before potentially allowing the automation to run again." }, "human_like": "Sends a low disc space alert to a mobile phone and allows the user to snooze the notification for a chosen duration.", "complexity": "medium" } }, { "id": "68229927-07bf-4342-800b-20a291ce5ed6", "result": { "structured": "TRIGGER: When vordereingang intercom unlock [event.vordereingang_intercom_unlock] changes state. CONDITIONS: None. ACTIONS: Turn off wohnzimmer siren [siren.wohnzimmer_siren].", "natural_language": { "trigger": "When the vordereingang intercom unlock [event.vordereingang_intercom_unlock] event occurs.", "conditions": "There are no additional conditions that must be met.", "action": "Silences the living room chime by turning off the wohnzimmer siren [siren.wohnzimmer_siren]." }, "human_like": "Mutes the living room chime when the front door intercom is unlocked.", "complexity": "low" } }, { "id": "66c3956a-4dd6-4af0-8e5d-45354b8af18a", "result": { "structured": "TRIGGER: When bath1 window contact [binary_sensor.bath1_window_contact] changes state. CONDITIONS: None. ACTIONS: If the new state of bath1 window contact [binary_sensor.bath1_window_contact] is 'on', then turn off bath1 powerplug [switch.bath1_powerplug].", "natural_language": { "trigger": "Whenever the state of the bath1 window contact [binary_sensor.bath1_window_contact] changes.", "conditions": "There are no additional conditions.", "action": "If the window contact reports that the window is open (state 'on'), the automation turns off the bath1 powerplug [switch.bath1_powerplug]." }, "human_like": "Turns off a power plug in the bathroom when the window is opened, likely for safety or energy saving.", "complexity": "low" } }, { "id": "40c147c1-b3a1-4214-b002-7bf7d4af65d0", "result": { "structured": "TRIGGER: When office1 door contact [binary_sensor.office1_door_contact] changes from closed (off) to open (on) OR When office1 door contact [binary_sensor.office1_door_contact] changes from open (on) to closed (off) OR When need light [binary_sensor.need_light] changes from off to on OR When need light [binary_sensor.need_light] changes from on to off OR When any device in the list [device_tracker.daniel_tower, device_tracker.t2978124] changes from not_home to home OR When office1 chair action [sensor.office1_chair_action] changes state. CONDITIONS: office1 manage lights [input_boolean.office1_manage_lights] is on. ACTIONS: Choose from the following conditional actions: 1. IF (Trigger is Device turned on) AND (office1 device on lights off [input_boolean.office1_device_on_lights_off] is on) AND (office1 light [light.office1_light] is on) THEN Turn off office1 light [light.office1_light]. 2. IF (Trigger is Chair movement) AND (office1 when sitting lights off [input_boolean.office1_when_sitting_lights_off] is on) AND (office1 light [light.office1_light] is on) AND (Any device in the list [device_tracker.daniel_tower, device_tracker.t2978124] is home) THEN Turn off office1 light [light.office1_light]. 3. IF (Trigger is Door opened) AND (need light [binary_sensor.need_light] is on) THEN Turn on office1 light [light.office1_light]. 4. IF (Trigger is Door closed) AND (office1 light [light.office1_light] is on) AND (All devices in the list [device_tracker.daniel_tower, device_tracker.t2978124] are not_home) AND (Any device in the list was last reachable less than 120 seconds ago) THEN Turn off office1 light [light.office1_light]. 5. IF (Trigger is Door closed) AND (office1 light [light.office1_light] is on) AND (All devices in the list [device_tracker.daniel_tower, device_tracker.t2978124] are not_home) THEN Wait 120 seconds, THEN IF (All devices in the list are still not_home) THEN Turn off office1 light [light.office1_light]. 6. IF (Trigger is Door closed) AND (office1 light [light.office1_light] is on) AND (Any device in the list [device_tracker.daniel_tower, device_tracker.t2978124] is home) THEN Turn off office1 light [light.office1_light].", "natural_language": { "trigger": "The automation is triggered by several events: the office door opening or closing, the system determining that light is needed or no longer needed, a tracked device (daniel tower [device_tracker.daniel_tower] or t2978124 [device_tracker.t2978124]) arriving home, or movement detected by the office chair sensor [sensor.office1_chair_action].", "conditions": "The automation only runs if the master control switch, office1 manage lights [input_boolean.office1_manage_lights], is turned on.", "action": "Depending on the trigger and other conditions, the automation will adjust the office light. If a device arrives home and a specific setting is enabled, it turns the light off. If chair movement is detected while a device is home and another setting is enabled, it also turns the light off. If the door opens and the system indicates light is needed, it turns the light on. When the door closes, it checks the status of tracked devices. If all devices are away and have been for less than two minutes, it turns the light off immediately. If all devices are away, it waits two minutes and then turns the light off if they are still away. If any device is home when the door closes, it turns the light off." }, "human_like": "This automation intelligently controls the office light based on door activity, chair movement, device presence, and ambient light needs, aiming to save energy when the room is unoccupied.", "complexity": "high" } }, { "id": "9dd7eb2d-79ee-43f9-955d-d5e70d2ea3df", "result": { "structured": "TRIGGER: When office1 button1 action [sensor.office1_button1_action] changes to 'on' OR when office1 button1 action [sensor.office1_button1_action] changes to 'off' OR when office1 button1 action [sensor.office1_button1_action] changes to 'arrow_left_click' OR when office1 button1 action [sensor.office1_button1_action] changes to 'arrow_right_click'. CONDITIONS: (Trigger is 'Button1 on' AND office1 light [light.office1_light] is off) OR (Trigger is 'Button1 off' AND office1 light [light.office1_light] is on) OR (Trigger is 'Button1 left' AND office1 light [light.office1_light] is on) OR (Trigger is 'Button1 right'). ACTIONS: If conditions for 'Button1 on' are met, turn on office1 light [light.office1_light] to 100% brightness with a 1-second transition. If conditions for 'Button1 off' are met, turn off office1 light [light.office1_light] with a 1-second transition. If conditions for 'Button1 left' are met, decrease the brightness of office1 light [light.office1_light] by 20% with a 1-second transition. If conditions for 'Button1 right' are met, increase the brightness of office1 light [light.office1_light] by 20% with a 1-second transition.", "natural_language": { "trigger": "When the office1 button1 action [sensor.office1_button1_action] reports a button press, specifically an 'on', 'off', 'arrow_left_click', or 'arrow_right_click' action.", "conditions": "For the 'on' action, the office1 light [light.office1_light] must be off. For the 'off' action, the office1 light [light.office1_light] must be on. For the 'arrow_left_click' action, the office1 light [light.office1_light] must be on. The 'arrow_right_click' action has no additional condition.", "action": "If the 'on' button is pressed and the light is off, the light is turned on to full brightness. If the 'off' button is pressed and the light is on, the light is turned off. If the left arrow button is pressed and the light is on, the brightness is decreased by 20%. If the right arrow button is pressed, the brightness is increased by 20%. All actions use a 1-second transition time." }, "human_like": "Controls the office light with a button, allowing you to turn it on/off and adjust brightness up or down.", "complexity": "medium" } }, { "id": "45fc0aae-094e-4298-a033-fd155b30fd65", "result": { "structured": "TRIGGER: When office1 button2 action [sensor.office1_button2_action] changes to 'on' OR when office1 button2 action [sensor.office1_button2_action] changes to 'off' OR when office1 button2 action [sensor.office1_button2_action] changes to 'arrow_left_click' OR when office1 button2 action [sensor.office1_button2_action] changes to 'arrow_right_click'. CONDITIONS: (Trigger is 'Button2 on' AND office1 light2 [light.office1_light2] is off) OR (Trigger is 'Button2 off' AND office1 light2 [light.office1_light2] is on) OR (Trigger is 'Button2 left' AND office1 light2 [light.office1_light2] is on) OR (Trigger is 'Button2 right'). ACTIONS: If conditions met, execute corresponding sequence: Turn on office1 light2 [light.office1_light2] to 100% brightness with 1s transition OR Turn off office1 light2 [light.office1_light2] with 1s transition OR Decrease brightness of office1 light2 [light.office1_light2] by 20% with 1s transition OR Increase brightness of office1 light2 [light.office1_light2] by 20% with 1s transition.", "natural_language": { "trigger": "When the office1 button2 action [sensor.office1_button2_action] reports a button press, specifically for the 'on', 'off', 'arrow_left_click', or 'arrow_right_click' actions.", "conditions": "The automation checks which button was pressed and the current state of the office1 light2 [light.office1_light2]. The 'on' action only proceeds if the light is off. The 'off' and 'left' actions only proceed if the light is on. The 'right' action has no additional state condition.", "action": "Depending on the button press: if 'on' and the light is off, the light is turned on to full brightness. If 'off' and the light is on, the light is turned off. If 'left' and the light is on, the brightness is decreased by 20%. If 'right', the brightness is increased by 20%. All actions use a 1-second transition." }, "human_like": "Controls the office light using a button, allowing you to turn it on/off and adjust brightness up or down with dedicated button presses.", "complexity": "medium" } }, { "id": "379f4de2-2c0d-412e-a1e4-0626b5713ece", "result": { "structured": "TRIGGER: When office2 button action [sensor.office2_button_action] changes to 'single' OR when office2 button action [sensor.office2_button_action] changes to 'double' OR when office2 button action [sensor.office2_button_action] changes to 'triple'. CONDITIONS: None. ACTIONS: Choose based on trigger: IF trigger is Single Click THEN toggle office2 light [light.office2_light] and set brightness to 100%. IF trigger is Double Click THEN turn on office2 light [light.office2_light] and set brightness to 50%. IF trigger is Triple Click THEN turn on office2 light [light.office2_light] and set brightness to 25%.", "natural_language": { "trigger": "When the button in the office is pressed, triggering a single, double, or triple click action as reported by the sensor office2 button action [sensor.office2_button_action].", "conditions": "There are no additional conditions for this automation.", "action": "Depending on the type of button press, the automation performs a different action on the office light. A single click toggles the light on or off at full brightness. A double click turns the light on at 50% brightness. A triple click turns the light on at 25% brightness." }, "human_like": "Controls the office light with button presses: single click toggles it, double click sets it to half brightness, and triple click sets it to quarter brightness.", "complexity": "medium" } }, { "id": "ae1ed701-d3b1-49d3-b12b-1c63db33ca90", "result": { "structured": "TRIGGER: When away mode [input_boolean.away_mode] changes from off to on OR when away mode [input_boolean.away_mode] changes from on to off OR when people home [binary_sensor.people_home] changes from off to on. CONDITIONS: None. ACTIONS: Choose one action based on conditions: 1. If the trigger was Away mode turned on AND fritz box 6660 cable call deflection 2 [switch.fritz_box_6660_cable_call_deflection_2] is off, then turn on fritz box 6660 cable call deflection 2 [switch.fritz_box_6660_cable_call_deflection_2]. 2. If the trigger was Away mode turned off AND fritz box 6660 cable call deflection 2 [switch.fritz_box_6660_cable_call_deflection_2] is on, then turn off fritz box 6660 cable call deflection 2 [switch.fritz_box_6660_cable_call_deflection_2]. 3. If the trigger was People are home AND fritz box 6660 cable call deflection 2 [switch.fritz_box_6660_cable_call_deflection_2] is on, then turn off fritz box 6660 cable call deflection 2 [switch.fritz_box_6660_cable_call_deflection_2].", "natural_language": { "trigger": "The automation can start when the away mode [input_boolean.away_mode] is turned on, when it is turned off, or when the people home [binary_sensor.people_home] sensor indicates someone has arrived home.", "conditions": "There are no global conditions. The specific action taken depends on which trigger occurred and the current state of the call deflection switch.", "action": "Depending on the trigger and the switch's state, the automation will either turn on or off the call deflection. If away mode is turned on and the deflection is off, it turns the deflection on. If away mode is turned off and the deflection is on, it turns the deflection off. If someone arrives home and the deflection is on, it also turns the deflection off." }, "human_like": "Manages call forwarding to your mobile phone by turning it on when you leave (away mode) and turning it off when you return home or disable away mode.", "complexity": "medium" } }, { "id": "68229927-07bf-4342-800b-20a291ce5ed4", "result": { "structured": "TRIGGER: When security alarm [alarm_control_panel.security_alarm] changes state to triggered. ACTIONS: 1. Set variable action_disarm to 'DISARM_' concatenated with the context ID. 2. Send a high-priority notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with title 'Security alarm triggered' and a message stating the entity last security alarm entity [input_text.last_security_alarm_entity] triggered the alarm. Include a 'Disarm' button that triggers action_disarm. 3. Wait for up to 15 seconds for a mobile_app_notification_received event with title 'Security alarm triggered'. If timeout occurs, continue. 4. CHOOSE: IF (the wait trigger did NOT fire AND probably sleeping [binary_sensor.probably_sleeping] is on) THEN call phone via SIP (using addon ad61c150_dss_voip) with a TTS message stating the entity last security alarm entity [input_text.last_security_alarm_entity] triggered the alarm AND turn on all lights [light.all_lights] with breathe effect at 100% brightness. 5. Wait for up to 1 minute for a mobile_app_notification_action event with action matching the variable action_disarm. If timeout occurs, stop execution. 6. CHOOSE: IF (the wait trigger ID is 'Disarm') THEN disarm the security alarm [alarm_control_panel.security_alarm].", "natural_language": { "trigger": "When the security alarm [alarm_control_panel.security_alarm] is triggered.", "conditions": "There are no global conditions. However, within the action sequence, conditional logic is used to check if a notification was not received and if the probably sleeping [binary_sensor.probably_sleeping] sensor is on, and later to check if a specific disarm action was received from the notification.", "action": "First, a unique disarm action variable is created. Then, a high-priority notification is sent to a mobile phone, containing details about which entity triggered the alarm and a disarm button. The automation waits briefly to see if the notification is received. If the notification is not received and the system indicates the user is probably sleeping, it escalates by making a SIP call to the phone and turning on all lights with a breathing effect. Finally, it waits for the user to press the disarm button in the notification. If pressed within a minute, the alarm is disarmed. If not, the automation stops." }, "human_like": "When the security alarm is triggered, it sends a phone notification and, if the user doesn't respond because they might be sleeping, escalates with a phone call and flashing lights, then waits for the user to disarm the alarm.", "complexity": "high" } }, { "id": "c0771d1b-92cc-4ed6-a227-229b13981c2f", "result": { "structured": "TRIGGER: When the state of storage door1 contact [binary_sensor.storage_door1_contact] changes OR when the state of storage door2 contact [binary_sensor.storage_door2_contact] changes. CONDITIONS: (The previous state of the triggering entity was 'off' AND the new state of the triggering entity is 'on') AND watch storage activities [input_boolean.watch_storage_activities] is 'on'. ACTIONS: Set the value of last security alarm entity [input_text.last_security_alarm_entity] to the friendly name of the triggering entity, then trigger the security alarm [alarm_control_panel.security_alarm].", "natural_language": { "trigger": "When either the storage door1 contact [binary_sensor.storage_door1_contact] or the storage door2 contact [binary_sensor.storage_door2_contact] changes its state.", "conditions": "If the change was from a closed state ('off') to an open state ('on'), and the watch storage activities [input_boolean.watch_storage_activities] toggle is switched on.", "action": "Records the name of the sensor that triggered the event into last security alarm entity [input_text.last_security_alarm_entity] and then triggers the main security alarm [alarm_control_panel.security_alarm]." }, "human_like": "Triggers the security alarm when a storage door is opened while monitoring for storage activities is enabled.", "complexity": "medium" } }, { "id": "62f17829-bce4-495f-b1d5-b6798a9281a1", "result": { "structured": "TRIGGER: When away mode [input_boolean.away_mode] turns on OR when away mode [input_boolean.away_mode] turns off OR when people home [binary_sensor.people_home] turns on OR when office1 window contact [binary_sensor.office1_window_contact] turns on and remains for 10 seconds OR when office1 window contact [binary_sensor.office1_window_contact] turns off OR when lunch door contact [binary_sensor.lunch_door_contact] turns on and remains for 10 seconds OR when lunch door contact [binary_sensor.lunch_door_contact] turns off OR when bath1 window contact [binary_sensor.bath1_window_contact] turns on and remains for 10 seconds OR when bath1 window contact [binary_sensor.bath1_window_contact] turns off OR when bedroom window contact [binary_sensor.bedroom_window_contact] OR bedroom door contact [binary_sensor.bedroom_door_contact] turns on and remains for 10 seconds OR when bedroom window contact [binary_sensor.bedroom_window_contact] OR bedroom door contact [binary_sensor.bedroom_door_contact] turns off OR every 3 minutes (Time check). CONDITIONS AND ACTIONS: The automation uses a choose block to select an action based on the first matching condition set. Condition sets are evaluated in order: 1. IF ( (Office 1 window opened trigger OR (Time check trigger AND office1 window contact [binary_sensor.office1_window_contact] is on) ) AND buro 1 thermostat [climate.buro_1] is in heat mode ) THEN create scene 'office1_thermostat' snapshotting buro 1 thermostat [climate.buro_1] AND turn off buro 1 thermostat [climate.buro_1]. 2. IF ( (Office 1 window closed trigger OR (Time check trigger AND away mode [input_boolean.away_mode] is off AND office1 window contact [binary_sensor.office1_window_contact] is off) ) AND buro 1 thermostat [climate.buro_1] is off ) THEN turn on scene office1_thermostat [scene.office1_thermostat]. 3. IF ( (Office 2 door opened trigger OR (Time check trigger AND office2 door contact [binary_sensor.office2_door_contact] is on) ) AND buro 2 thermostat [climate.buro_2] is in heat mode ) THEN create scene 'office2_thermostat' snapshotting buro 2 thermostat [climate.buro_2] AND turn off buro 2 thermostat [climate.buro_2]. 4. IF ( (Office 2 door closed trigger OR (Time check trigger AND away mode [input_boolean.away_mode] is off AND office2 door contact [binary_sensor.office2_door_contact] is off) ) AND buro 2 thermostat [climate.buro_2] is off ) THEN turn on scene office2_thermostat [scene.office2_thermostat]. 5. IF ( (Lunch door opened trigger OR (Time check trigger AND lunch door contact [binary_sensor.lunch_door_contact] is on) ) AND (wohnzimmer thermostat [climate.wohnzimmer] OR esszimmer 1 thermostat [climate.esszimmer_1] OR esszimmer 2 thermostat [climate.esszimmer_2] is in heat mode) ) THEN create scene 'lunch_living_thermostat' snapshotting wohnzimmer thermostat [climate.wohnzimmer], esszimmer 1 thermostat [climate.esszimmer_1], esszimmer 2 thermostat [climate.esszimmer_2] AND turn off wohnzimmer thermostat [climate.wohnzimmer], esszimmer 1 thermostat [climate.esszimmer_1], esszimmer 2 thermostat [climate.esszimmer_2]. 6. IF ( (Lunch door closed trigger OR (Time check trigger AND away mode [input_boolean.away_mode] is off AND lunch door contact [binary_sensor.lunch_door_contact] is off) ) AND wohnzimmer thermostat [climate.wohnzimmer], esszimmer 1 thermostat [climate.esszimmer_1], esszimmer 2 thermostat [climate.esszimmer_2] are off ) THEN turn on scene lunch_living_thermostat [scene.lunch_living_thermostat]. 7. IF ( (Bath1 window opened trigger OR (Time check trigger AND bath1 window contact [binary_sensor.bath1_window_contact] is on) ) AND bad thermostat [climate.bad] is in heat mode ) THEN create scene 'bad_thermostat' snapshotting bad thermostat [climate.bad] AND turn off bad thermostat [climate.bad]. 8. IF ( (Bath1 window closed trigger OR (Time check trigger AND away mode [input_boolean.away_mode] is off AND bath1 window contact [binary_sensor.bath1_window_contact] is off) ) AND bad thermostat [climate.bad] is off ) THEN turn on scene bad_thermostat [scene.bad_thermostat]. 9. IF ( (Bedroom window opened trigger OR (Time check trigger AND (bedroom window contact [binary_sensor.bedroom_window_contact] OR bedroom door contact [binary_sensor.bedroom_door_contact] is on) ) OR (Time check trigger AND bath1 window contact [binary_sensor.bath1_window_contact] is on AND combine bath and bedroom [input_boolean.combine_bath_and_bedroom] is on) ) AND (schlafzimmer 1 thermostat [climate.schlafzimmer_1] OR schlafzimmer 2 thermostat [climate.schlafzimmer_2] is in heat mode) ) THEN create scene 'bedroom_thermostat' snapshotting schlafzimmer 1 thermostat [climate.schlafzimmer_1], schlafzimmer 2 thermostat [climate.schlafzimmer_2] AND turn off schlafzimmer 1 thermostat [climate.schlafzimmer_1], schlafzimmer 2 thermostat [climate.schlafzimmer_2]. 10. IF ( ( (combine bath and bedroom [input_boolean.combine_bath_and_bedroom] is off) OR (combine bath and bedroom [input_boolean.combine_bath_and_bedroom] is on AND bath1 window contact [binary_sensor.bath1_window_contact] is off) ) AND (Bedroom window closed trigger OR (Time check trigger AND away mode [input_boolean.away_mode] is off AND (bedroom window contact [binary_sensor.bedroom_window_contact] OR bedroom door contact [binary_sensor.bedroom_door_contact] is off) ) ) AND schlafzimmer 1 thermostat [climate.schlafzimmer_1], schlafzimmer 2 thermostat [climate.schlafzimmer_2] are off ) THEN turn on scene bedroom_thermostat [scene.bedroom_thermostat]. 11. IF ( Away mode turned on trigger AND (any of the thermostats in the list [climate.bad, climate.buro_1, climate.buro_2, climate.esszimmer_1, climate.esszimmer_2, climate.schlafzimmer_1, climate.schlafzimmer_2, climate.wohnzimmer] is in heat mode) ) THEN create scene 'before' snapshotting all thermostats AND turn off all thermostats. 12. IF ( Away mode turned off trigger AND (any of the thermostats in the list [climate.bad, climate.buro_1, climate.buro_2, climate.esszimmer_1, climate.esszimmer_2, climate.schlafzimmer_1, climate.schlafzimmer_2, climate.wohnzimmer] is off) ) THEN turn on scene before [scene.before]. 13. IF People are home trigger THEN turn off away mode [input_boolean.away_mode].", "natural_language": { "trigger": "The automation can be triggered by several events: turning the away mode [input_boolean.away_mode] on or off, detecting that people are home [binary_sensor.people_home], opening or closing specific windows and doors (with a 10-second hold for opening events to avoid false triggers), or a recurring time check every 3 minutes.", "conditions": "The automation does not have global conditions. Instead, it uses a series of conditional action blocks. Each block checks for a specific combination of the current trigger and the state of relevant entities to determine which action to take. For example, to turn a thermostat off when a window opens, it checks if the specific window trigger occurred (or if the time check trigger occurred while the window is still open) and if the corresponding thermostat is currently heating. To restore a thermostat, it checks if the window is closed (or if the time check trigger occurred while the window is closed and away mode is off) and if the thermostat is currently off.", "action": "The action taken depends on which conditional block matches. For window/door opening events, the automation saves the current state of the affected thermostat(s) into a scene and then turns the thermostat(s) off. For closing events, it restores the thermostat(s) from the saved scene. When away mode is turned on, it saves the state of all thermostats and turns them all off. When away mode is turned off, it restores all thermostats from the saved 'before' scene. If people are detected as home, it turns off the away mode." }, "human_like": "This automation manages home heating by turning thermostats off when windows or doors are opened (or when away mode is active) and restoring them when they are closed (or when away mode ends), saving energy.", "complexity": "high" } }, { "id": "356696e4-4423-4863-8f28-a02ec1ef18ac", "result": { "structured": "TRIGGER: When an event starts on trash calendar [calendar.trash], 8 hours before the scheduled start time. CONDITIONS: None. ACTIONS: Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with the event's summary as the title and description as the message, using a trash can icon, AND create a persistent notification with the same title and message.", "natural_language": { "trigger": "The automation is triggered 8 hours before a scheduled event starts on the trash calendar [calendar.trash].", "conditions": "There are no conditions that must be met for the actions to run.", "action": "It sends a notification to the mobile app pixel 7 [notify.mobile_app_pixel_7] with the event's title and description, displaying a trash can icon. It also creates a persistent notification within Home Assistant with the same information." }, "human_like": "Sends a reminder to your phone and a Home Assistant notification 8 hours before a scheduled trash collection event.", "complexity": "low" } }, { "id": "8511c2ca-4ea3-429f-b3a3-e35bd6289e67", "result": { "structured": "TRIGGER: When everything closed [binary_sensor.everything_closed] changes to off and remains off for a duration defined by max open window or door time [input_number.max_open_window_or_door_time] minutes. CONDITIONS: The state of summer mode [input_boolean.summer_mode] equals the state of outside warmer than inside [binary_sensor.outside_warmer_than_inside] AND probably sleeping [binary_sensor.probably_sleeping] is off. ACTIONS: Define variables for notification action IDs. Then, in a loop that repeats until everything closed [binary_sensor.everything_closed] is on: 1. Send a notification to mobile app pixel 7 [notify.mobile_app_pixel_7] with a title and message listing open windows [sensor.open_windows] and open doors [sensor.open_doors], and providing action buttons for 15 minutes, 1 hour, and 3 hour delays. 2. Wait for up to 1 hour for a mobile app notification action event corresponding to one of the three delay options. 3. If an action is received, delay for the corresponding time (15 minutes, 1 hour, or 3 hours). If the wait times out after 1 hour, the loop ends.", "natural_language": { "trigger": "The automation triggers when the everything closed [binary_sensor.everything_closed] sensor indicates that not everything is closed (state changes to off) and stays in that state for a configurable number of minutes, as set by the max open window or door time [input_number.max_open_window_or_door_time] input.", "conditions": "Two conditions must be met: first, the state of the summer mode [input_boolean.summer_mode] toggle must match the state of the outside warmer than inside [binary_sensor.outside_warmer_than_inside] sensor. Second, the probably sleeping [binary_sensor.probably_sleeping] sensor must be off, indicating the user is likely awake.", "action": "The automation sets up unique identifiers for notification actions. It then enters a repeating sequence that only stops when the everything closed [binary_sensor.everything_closed] sensor reports 'on'. In each cycle, it sends a push notification to the user's phone (mobile app pixel 7 [notify.mobile_app_pixel_7]) reminding them to close any open windows or doors, listing the specific open windows [sensor.open_windows] and open doors [sensor.open_doors]. The notification includes buttons to snooze the reminder for 15 minutes, 1 hour, or 3 hours. The automation then waits for the user to press one of these buttons for up to one hour. If a button is pressed, it pauses for the selected duration before the loop repeats and sends another notification. If no button is pressed within the hour, the automation stops reminding." }, "human_like": "Sends repeated phone notifications to remind you to close open windows or doors after they've been left open for a while, but only when you're awake and based on seasonal temperature settings.", "complexity": "high" } } ]