[ { "id": "Bathroom floor heater manual off", "result": { "structured": "TRIGGER: When bathroom floor heater auto [input_boolean.bathroom_heater_auto] changes to off. CONDITIONS: None. ACTIONS: Run script bathroom floor heater turn off script [script.bathroom_floor_heater_turn_off].", "natural_language": { "trigger": "When the bathroom floor heater auto [input_boolean.bathroom_heater_auto] is switched off.", "conditions": "There are no additional conditions for this automation.", "action": "Executes the bathroom floor heater turn off script [script.bathroom_floor_heater_turn_off]." }, "human_like": "Turns off the bathroom floor heater when its automatic mode is disabled.", "complexity": "low" } }, { "id": "Bathroom floor heater manual auto", "result": { "structured": "TRIGGER: When bathroom floor heater auto [input_boolean.bathroom_floor_heater_auto] turns on. CONDITIONS: None. ACTIONS: Start the bathroom floor heater auto script [script.bathroom_floor_heater_auto].", "natural_language": { "trigger": "When the bathroom floor heater auto [input_boolean.bathroom_floor_heater_auto] is switched on.", "conditions": "There are no additional conditions that must be met.", "action": "Activates the bathroom floor heater auto script [script.bathroom_floor_heater_auto]." }, "human_like": "Turns on the automated bathroom floor heater script when its manual auto switch is activated.", "complexity": "low" } }, { "id": "Bathroom floor heater away", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to not_home. CONDITIONS: (bathroom floor heater auto [input_boolean.bathroom_floor_heater_auto] is on) AND (enable bathroom floor heater automations [input_boolean.enable_bathroom_floor_heater_automations] is on). ACTIONS: Execute bathroom floor heater turn off script [script.bathroom_floor_heater_turn_off].", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has left the home.", "conditions": "If the bathroom floor heater auto [input_boolean.bathroom_floor_heater_auto] is enabled and the enable bathroom floor heater automations [input_boolean.enable_bathroom_floor_heater_automations] switch is also turned on.", "action": "Runs the bathroom floor heater turn off script [script.bathroom_floor_heater_turn_off] to turn off the bathroom floor heater." }, "human_like": "Turns off the bathroom floor heater when everyone leaves the house, provided the relevant automation switches are enabled.", "complexity": "low" } }, { "id": "Bathroom floor heater home", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes state to home. CONDITIONS: bathroom floor heater auto [input_boolean.bathroom_floor_heater_auto] is on AND enable bathroom floor heater automations [input_boolean.enable_bathroom_floor_heater_automations] is on. ACTIONS: Turn on bathroom floor heater auto script [script.bathroom_floor_heater_auto].", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that someone has arrived home.", "conditions": "The bathroom floor heater auto [input_boolean.bathroom_floor_heater_auto] switch must be on, and the enable bathroom floor heater automations [input_boolean.enable_bathroom_floor_heater_automations] master switch must also be on.", "action": "Runs the bathroom floor heater auto script [script.bathroom_floor_heater_auto]." }, "human_like": "Automatically starts the bathroom floor heater script when someone arrives home, provided the heater's automation features are enabled.", "complexity": "low" } }, { "id": "Leaving home", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to state 'not_home'. CONDITIONS: None. ACTIONS: Execute indoor lights off script [script.indoor_lights_off].", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has left home (state changes to 'not_home').", "conditions": "There are no additional conditions that must be met.", "action": "Runs the indoor lights off script [script.indoor_lights_off] to turn off all indoor lights." }, "human_like": "Turns off the indoor lights when everyone leaves the house.", "complexity": "low" } }, { "id": "Coming home turn on lights bright", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to home. CONDITIONS: (coming home turn on lights [input_boolean.coming_home_turn_on_lights] is on) AND (relaxed mode [binary_sensor.relaxed_mode] is off) AND (sun is after sunset with an offset of -1 hour) AND (indoor lights group [group.indoor_lights] is off OR away lights active [input_boolean.away_lights_active] is on). ACTIONS: Execute script bottom floor bright [script.bottom_floor_bright] AND turn off away lights active [input_boolean.away_lights_active] AND (IF enable advent light automations [input_boolean.enable_advent_light_automations] is on THEN execute scripts: bedroom advent lights script [script.bedroom_advent_lights], office advent lights script [script.office_advent_lights], childroom advent lights script [script.childroom_advent_lights]).", "natural_language": { "trigger": "When any tracked family member arrives home, as indicated by the family device tracker group [group.device_tracker_family].", "conditions": "The automation is only active if the 'coming home turn on lights' [input_boolean.coming_home_turn_on_lights] feature is enabled, the 'relaxed mode' [binary_sensor.relaxed_mode] is off, and it is after sunset (specifically, one hour before sunset). Additionally, either all indoor lights [group.indoor_lights] are off, or the 'away lights active' [input_boolean.away_lights_active] mode is on.", "action": "First, it runs the 'bottom floor bright' [script.bottom_floor_bright] script to brighten the lights. It then turns off the 'away lights active' [input_boolean.away_lights_active] mode. Finally, if the 'enable advent light automations' [input_boolean.enable_advent_light_automations] setting is on, it will also turn on the advent lights in the bedroom, office, and childroom by executing their respective scripts." }, "human_like": "Brightens the home's bottom floor and turns on festive advent lights when the family arrives home in the evening, provided the house is dark or away lighting is active.", "complexity": "medium" } }, { "id": "Coming home turn on lights relaxed", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes state to home. CONDITIONS: (coming home turn on lights [input_boolean.coming_home_turn_on_lights] is on) AND (relaxed mode [binary_sensor.relaxed_mode] is on) AND (sun is after sunset with an offset of -1 hour) AND (indoor lights group [group.indoor_lights] is off OR away lights active [input_boolean.away_lights_active] is on). ACTIONS: Execute indoor lights relaxed script [script.indoor_lights_relaxed] AND turn off away lights active [input_boolean.away_lights_active].", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has arrived home.", "conditions": "The automation is enabled via the coming home turn on lights [input_boolean.coming_home_turn_on_lights] switch, the relaxed mode [binary_sensor.relaxed_mode] is active, it is after sunset (specifically, one hour before sunset), and either all indoor lights [group.indoor_lights] are off or the away lights active [input_boolean.away_lights_active] mode is currently on.", "action": "Activates the indoor lights relaxed script [script.indoor_lights_relaxed] to set a cozy lighting scene and then turns off the away lights active [input_boolean.away_lights_active] indicator." }, "human_like": "Turns on the relaxed indoor lighting scene when the family comes home in the evening, provided the house is dark and the 'relaxed mode' is active.", "complexity": "medium" } }, { "id": "Coming home turn on hallway lights", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to home OR when person nellie [person.nellie] changes to home. CONDITIONS: (coming home turn on lights [input_boolean.coming_home_turn_on_lights] is on) AND (relaxed mode [binary_sensor.relaxed_mode] is off) AND (the sun is before sunset with an offset of -1 hour) AND (indoor lights group [group.indoor_lights] is off OR sela device tracker [device_tracker.sela_lt6ywwb54] is home OR away lights active [input_boolean.away_lights_active] is on). ACTIONS: Execute hallway bright script [script.hallway_bright], then turn off away lights active [input_boolean.away_lights_active], then if enable advent light automations [input_boolean.enable_advent_light_automations] is on, execute advent lights turn on script [script.advent_lights_turn_on].", "natural_language": { "trigger": "When either the family device tracker group [group.device_tracker_family] or person nellie [person.nellie] arrives home.", "conditions": "The automation is only active if the coming home turn on lights [input_boolean.coming_home_turn_on_lights] is switched on, the relaxed mode [binary_sensor.relaxed_mode] is off, and it is before sunset (specifically, one hour before sunset). Additionally, at least one of the following must be true: all indoor lights [group.indoor_lights] are off, the sela device tracker [device_tracker.sela_lt6ywwb54] is at home, or the away lights active [input_boolean.away_lights_active] feature is enabled.", "action": "First, it runs the hallway bright script [script.hallway_bright] to illuminate the hallway. Then, it turns off the away lights active [input_boolean.away_lights_active] input boolean. Finally, if the enable advent light automations [input_boolean.enable_advent_light_automations] is on, it also runs the advent lights turn on script [script.advent_lights_turn_on]." }, "human_like": "Turns on the hallway and potentially advent lights when someone arrives home in the evening, provided the home is not in relaxed mode and the feature is enabled.", "complexity": "medium" } }, { "id": "Coming home group Sonos speakers", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to home. CONDITIONS: livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] is off. ACTIONS: IF relaxed mode [binary_sensor.relaxed_mode] is on THEN execute sonos group livingroom speaker script [script.sonos_group_livingroom_speaker], THEN execute sonos set group volume script [script.sonos_set_group_volume] with volume 0.2, THEN execute sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker], THEN set volume of childroom sonos [media_player.childroom_sonos] to 0.2. OTHERWISE execute sonos group all speakers script [script.sonos_group_all_speakers], THEN execute sonos set group volume script [script.sonos_set_group_volume] with volume 0.2.", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has arrived home.", "conditions": "The livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] must be off, meaning the TV is not currently using the Sonos speakers.", "action": "If relaxed mode [binary_sensor.relaxed_mode] is active, the automation will group the living room Sonos speaker, set the group volume to 20%, ungroup the childroom speaker, and set the childroom sonos [media_player.childroom_sonos] volume to 20%. If relaxed mode is not active, it will group all Sonos speakers together and set the group volume to 20%." }, "human_like": "When the family comes home and the TV isn't using the speakers, this automation sets up the Sonos speakers for music, either grouping all speakers or keeping the child's speaker separate based on the current 'relaxed mode' setting.", "complexity": "medium" } }, { "id": "Start working", "result": { "structured": "TRIGGER: When sela device tracker [device_tracker.sela_lt6ywwb54] arrives home (state changes to home). CONDITIONS: (workday sensor [binary_sensor.workday_sensor] is on) AND (current time is before 17:00:00). ACTIONS: Execute script office work light script [script.office_work_light] AND execute script hallway top floor bright script [script.hallway_top_floor_bright] AND execute script sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker] AND set volume of childroom sonos [media_player.childroom_sonos] to 0.4 AND (IF person nellie [person.nellie] is not_home THEN turn off hallway ceiling bottom floor light [light.hallway_ceiling_bottom_floor], kitchen table light [light.kitchen_table], livingroom couch table light [light.livingroom_couch_table], livingroom dinner table light [light.livingroom_dinner_table], livingroom floor light [light.livingroom_floor], livingroom window light [light.livingroom_window], bedroom bedside light [light.bedroom_bedside], childroom ceiling light [light.childroom_ceiling]) AND execute script sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker].", "natural_language": { "trigger": "When the sela device tracker [device_tracker.sela_lt6ywwb54] arrives home.", "conditions": "The workday sensor [binary_sensor.workday_sensor] must be on, indicating it's a workday, and the current time must be before 5:00 PM.", "action": "The automation will run the office work light script [script.office_work_light] and the hallway top floor bright script [script.hallway_top_floor_bright]. It will also run the sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker] and set the volume of the childroom sonos [media_player.childroom_sonos] to 40%. If person nellie [person.nellie] is not home, it will turn off a series of lights in the hallway, kitchen, living room, bedroom, and childroom. Finally, it will run the sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker] again." }, "human_like": "Sets up the home for a workday when Sela arrives home before 5 PM, turning on work lights, adjusting audio, and turning off other lights if Nellie is away.", "complexity": "medium" } }, { "id": "Stop working", "result": { "structured": "TRIGGER: When sela device tracker [device_tracker.sela_lt6ywwb54] changes to state 'not_home'. CONDITIONS: None. ACTIONS: Turn off office ceiling light [light.office_ceiling].", "natural_language": { "trigger": "When the sela device tracker [device_tracker.sela_lt6ywwb54] reports that the person is not home.", "conditions": "There are no additional conditions that must be met.", "action": "Turns off the office ceiling light [light.office_ceiling]." }, "human_like": "Turns off the office light when Sela leaves home.", "complexity": "low" } }, { "id": "Leaving home during work hours", "result": { "structured": "TRIGGER: When person david [person.david] changes state to not_home. CONDITIONS: sela device tracker [device_tracker.sela_lt6ywwb54] is home AND person nellie [person.nellie] is home. ACTIONS: Turn off lights in area arbetsrum.", "natural_language": { "trigger": "When person david [person.david] leaves home (changes state to not_home).", "conditions": "If sela device tracker [device_tracker.sela_lt6ywwb54] is at home and person nellie [person.nellie] is also at home.", "action": "Turn off all lights in the area 'arbetsrum' (workroom)." }, "human_like": "Turns off the lights in the workroom when David leaves home, but only if both Sela and Nellie are still at home.", "complexity": "low" } }, { "id": "Coming home during work hours", "result": { "structured": "TRIGGER: When davids iphone device tracker [device_tracker.davids_iphone] changes state to home. CONDITIONS: sela device tracker [device_tracker.sela_lt6ywwb54] is home. ACTIONS: Execute office work light script [script.office_work_light].", "natural_language": { "trigger": "When David's iPhone [device_tracker.davids_iphone] arrives home.", "conditions": "Sela's device [device_tracker.sela_lt6ywwb54] must also be at home.", "action": "Runs the office work light script [script.office_work_light]." }, "human_like": "Turns on the office work lights when both David and Sela are at home.", "complexity": "low" } }, { "id": "Nellie leaving home during work hours", "result": { "structured": "TRIGGER: When person nellie [person.nellie] changes state to not_home. CONDITIONS: sela device tracker [device_tracker.sela_lt6ywwb54] is home AND person david [person.david] is home. ACTIONS: Turn off hallway ceiling bottom floor light [light.hallway_ceiling_bottom_floor] AND Turn off hallway stair group light [light.hallway_stair_group] AND Turn off all lights in areas kok, vardagsrum, sovrum, barnrum AND If kitchen sonos [media_player.kitchen_sonos] is playing, then pause kitchen sonos [media_player.kitchen_sonos].", "natural_language": { "trigger": "When Nellie [person.nellie] leaves home.", "conditions": "Both Sela's device tracker [device_tracker.sela_lt6ywwb54] and David [person.david] must be at home.", "action": "Turn off the hallway ceiling bottom floor light [light.hallway_ceiling_bottom_floor] and the hallway stair group light [light.hallway_stair_group]. Also, turn off all lights in the kitchen (kok), living room (vardagsrum), bedroom (sovrum), and children's room (barnrum) areas. Finally, if the kitchen Sonos speaker [media_player.kitchen_sonos] is currently playing, pause it." }, "human_like": "When Nellie leaves home and both Sela and David are still home, it turns off lights in common areas and pauses the kitchen music.", "complexity": "medium" } }, { "id": "Toggle coffee maker", "result": { "structured": "TRIGGER: When an iOS event is fired with actionName 'Turn on coffee maker' from Davids iPhone. CONDITIONS: None. ACTIONS: Toggle kitchen coffee maker switch [switch.kitchen_coffee_maker].", "natural_language": { "trigger": "When David's iPhone sends a specific iOS event named 'Turn on coffee maker'.", "conditions": "There are no additional conditions for this automation.", "action": "Toggles the kitchen coffee maker switch [switch.kitchen_coffee_maker] on or off." }, "human_like": "Toggles the coffee maker on or off when David uses a shortcut on his iPhone.", "complexity": "low" } }, { "id": "Play child room music", "result": { "structured": "TRIGGER: When an iOS action_fired event occurs with actionName 'Play child room music' AND sourceDeviceName 'Davids iPhone' OR when an iOS action_fired event occurs with actionName 'Play child room music' AND sourceDeviceName 'Nellies iPhone'. CONDITIONS: None. ACTIONS: Turn off childroom ceiling light [light.childroom_ceiling] AND Turn off hallway ceiling top floor light [light.hallway_ceiling_top_floor] AND Turn off hallway stair up light [light.hallway_stair_up] AND Activate play child room night music script [script.play_child_room_night_music].", "natural_language": { "trigger": "When either Davids iPhone or Nellies iPhone triggers the iOS shortcut named 'Play child room music'.", "conditions": "There are no additional conditions that must be met.", "action": "Turns off the childroom ceiling light [light.childroom_ceiling], the hallway ceiling top floor light [light.hallway_ceiling_top_floor], and the hallway stair up light [light.hallway_stair_up]. Then, it starts the play child room night music script [script.play_child_room_night_music]." }, "human_like": "Turns off specific lights and starts playing night music in the child's room when triggered by a phone shortcut.", "complexity": "low" } }, { "id": "Turn on PC", "result": { "structured": "TRIGGER: When an iOS action event is fired with actionName 'Turn on PC' from Davids iPhone. CONDITIONS: None. ACTIONS: Turn on wol vidar switch [switch.wol_vidar].", "natural_language": { "trigger": "When the user selects the 'Turn on PC' shortcut on Davids iPhone.", "conditions": "There are no additional conditions that must be met.", "action": "Sends a command to turn on the wol vidar switch [switch.wol_vidar], which likely wakes the PC." }, "human_like": "Turns on the PC when the user taps the 'Turn on PC' shortcut on their iPhone.", "complexity": "low" } }, { "id": "Evening bright", "result": { "structured": "TRIGGER: When the sun sets with an offset of -1 hour (i.e., 1 hour before sunset). CONDITIONS: family device tracker group [group.device_tracker_family] is home AND relaxed mode [binary_sensor.relaxed_mode] is off AND the current time is before 19:00:00. ACTIONS: Execute bottom floor bright script [script.bottom_floor_bright].", "natural_language": { "trigger": "The automation triggers one hour before sunset.", "conditions": "All family members are home according to the family device tracker group [group.device_tracker_family], the relaxed mode [binary_sensor.relaxed_mode] is turned off, and the current time is before 7:00 PM.", "action": "Runs the bottom floor bright script [script.bottom_floor_bright] to brighten the lights on the bottom floor." }, "human_like": "Turns on bright lights downstairs in the early evening before sunset, but only if everyone is home and not in relaxed mode.", "complexity": "low" } }, { "id": "Evening relaxed", "result": { "structured": "TRIGGER: When relaxed mode [binary_sensor.relaxed_mode] turns on. CONDITIONS: family device tracker group [group.device_tracker_family] is home. ACTIONS: Execute script indoor lights relaxed [script.indoor_lights_relaxed]. THEN, IF childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is on, execute script sonos ungroup childroom speaker [script.sonos_ungroup_childroom_speaker]. THEN, IF the volume level of childroom sonos [media_player.childroom_sonos] is greater than 0.10, set the volume of childroom sonos [media_player.childroom_sonos] to 0.1.", "natural_language": { "trigger": "When the relaxed mode [binary_sensor.relaxed_mode] is activated.", "conditions": "The family device tracker group [group.device_tracker_family] must show that at least one family member is home.", "action": "First, the indoor lights relaxed script [script.indoor_lights_relaxed] is run to adjust the lighting. Then, if the childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] sensor indicates the speaker is part of a group, the sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker] is executed to separate it. Finally, if the childroom sonos [media_player.childroom_sonos] is playing at a volume higher than 10%, its volume is lowered to 10%." }, "human_like": "Activates a relaxed evening atmosphere by adjusting lights and managing the childroom Sonos speaker when someone is home.", "complexity": "medium" } }, { "id": "Hallway bright", "result": { "structured": "TRIGGER: At 09:00:00. CONDITIONS: family device tracker group [group.device_tracker_family] is home. ACTIONS: Execute hallway bright script [script.hallway_bright].", "natural_language": { "trigger": "Every day at 9:00 AM.", "conditions": "If at least one device in the family device tracker group [group.device_tracker_family] is at home.", "action": "Runs the hallway bright script [script.hallway_bright]." }, "human_like": "Turns the hallway lights to a bright setting at 9 AM, but only if someone is home.", "complexity": "low" } }, { "id": "Child room night light", "result": { "structured": "TRIGGER: At 21:30:00. CONDITIONS: None. ACTIONS: Execute childroom night light script [script.childroom_night_light].", "natural_language": { "trigger": "Every day at 9:30 PM.", "conditions": "There are no conditions to check.", "action": "Runs the childroom night light script [script.childroom_night_light]." }, "human_like": "Turns on the night light in the child's room every evening at 9:30 PM.", "complexity": "low" } }, { "id": "Advent lights workday", "result": { "structured": "TRIGGER: When the time is 06:45:00. CONDITIONS: enable advent light automations [input_boolean.enable_advent_light_automations] is on AND workday sensor [binary_sensor.workday_sensor] is on. ACTIONS: Execute advent lights turn on script [script.advent_lights_turn_on].", "natural_language": { "trigger": "At 6:45 AM every day.", "conditions": "The automation is enabled (enable advent light automations [input_boolean.enable_advent_light_automations] is on) and today is a workday (workday sensor [binary_sensor.workday_sensor] is on).", "action": "Runs the script to turn on the advent lights (advent lights turn on script [script.advent_lights_turn_on])." }, "human_like": "Turns on the advent lights at 6:45 AM on workdays, but only if the automation is enabled.", "complexity": "low" } }, { "id": "Advent lights weekend", "result": { "structured": "TRIGGER: At 08:15:00. CONDITIONS: enable advent light automations [input_boolean.enable_advent_light_automations] is on AND workday sensor [binary_sensor.workday_sensor] is off. ACTIONS: Execute advent lights turn on script [script.advent_lights_turn_on].", "natural_language": { "trigger": "Every day at 8:15 AM.", "conditions": "The automation is enabled (enable advent light automations [input_boolean.enable_advent_light_automations] is on) and it is not a workday (workday sensor [binary_sensor.workday_sensor] is off).", "action": "Runs the advent lights turn on script [script.advent_lights_turn_on]." }, "human_like": "Turns on the advent lights at 8:15 AM on weekends and non-workdays.", "complexity": "low" } }, { "id": "Sunset", "result": { "structured": "TRIGGER: When the sun sets. CONDITIONS: family device tracker group [group.device_tracker_family] is home AND indoor lights group [group.indoor_lights] is on AND relaxed mode [binary_sensor.relaxed_mode] is off. ACTIONS: Turn on window lights script [script.window_lights].", "natural_language": { "trigger": "At sunset.", "conditions": "If at least one family member is home, as indicated by the family device tracker group [group.device_tracker_family], and the indoor lights group [group.indoor_lights] is turned on, and the relaxed mode [binary_sensor.relaxed_mode] is disabled.", "action": "Runs the window lights script [script.window_lights]." }, "human_like": "Turns on the window lights at sunset, but only when someone is home, the indoor lights are already on, and relaxed mode is off.", "complexity": "low" } }, { "id": "Bright after sunset bedroom", "result": { "structured": "TRIGGER: When bedroom bright script [script.bedroom_bright] is turned on. CONDITIONS: It is after sunset AND window lights after sunset [input_boolean.window_lights_after_sunset] is on. ACTIONS: Turn on bedroom bedside light [light.bedroom_bedside] at 100% brightness.", "natural_language": { "trigger": "When the bedroom bright script [script.bedroom_bright] is activated.", "conditions": "The automation only runs if the sun has already set and the window lights after sunset [input_boolean.window_lights_after_sunset] switch is turned on.", "action": "Turns on the bedroom bedside light [light.bedroom_bedside] at full brightness." }, "human_like": "Turns on the bedroom bedside light at full brightness after sunset when a specific script is activated and a global switch is on.", "complexity": "low" } }, { "id": "Bright after sunset livingroom", "result": { "structured": "TRIGGER: When livingroom bright script [script.livingroom_bright] turns on. CONDITIONS: The sun is below the horizon (after sunset) AND window lights after sunset [input_boolean.window_lights_after_sunset] is on. ACTIONS: Turn on livingroom window light [light.livingroom_window] AND office window light [light.office_window].", "natural_language": { "trigger": "When the livingroom bright script [script.livingroom_bright] is activated.", "conditions": "The automation only runs after sunset, and if the window lights after sunset [input_boolean.window_lights_after_sunset] switch is turned on.", "action": "Turns on both the livingroom window light [light.livingroom_window] and the office window light [light.office_window]." }, "human_like": "Turns on the window lights in the living room and office after sunset when the 'bright' scene is activated, provided the sunset lighting feature is enabled.", "complexity": "low" } }, { "id": "Outdoor lights at sunset", "result": { "structured": "TRIGGER: At sunset with an offset of 5 minutes. CONDITIONS: None. ACTIONS: Execute turn on outdoor lights script [script.turn_on_outdoor_lights].", "natural_language": { "trigger": "Five minutes after sunset.", "conditions": "There are no conditions that must be met.", "action": "Runs the turn on outdoor lights script [script.turn_on_outdoor_lights]." }, "human_like": "Turns on the outdoor lights automatically five minutes after sunset.", "complexity": "low" } }, { "id": "Outdoor lights at sunrise", "result": { "structured": "TRIGGER: When the sun rises (sunrise event). CONDITIONS: None. ACTIONS: Execute turn off outdoor lights script [script.turn_off_outdoor_lights].", "natural_language": { "trigger": "At sunrise.", "conditions": "There are no conditions that must be met.", "action": "Runs the turn off outdoor lights script [script.turn_off_outdoor_lights]." }, "human_like": "Turns off the outdoor lights automatically at sunrise.", "complexity": "low" } }, { "id": "Outdoor lights when sun above horizon", "result": { "structured": "TRIGGER: When the time pattern matches every 30 minutes. CONDITIONS: (sun sun [sun.sun] is above_horizon) AND (outdoor main entrance light [light.outdoor_main_entrance] is on OR outdoor porch light [light.outdoor_porch] is on). ACTIONS: Execute turn off outdoor lights script [script.turn_off_outdoor_lights].", "natural_language": { "trigger": "Every 30 minutes, on the half-hour mark.", "conditions": "The sun must be above the horizon, and at least one of the outdoor lights, either the outdoor main entrance light [light.outdoor_main_entrance] or the outdoor porch light [light.outdoor_porch], must be turned on.", "action": "Runs the 'turn off outdoor lights script' [script.turn_off_outdoor_lights]." }, "human_like": "Turns off the outdoor lights every half-hour during the day if they are still on.", "complexity": "low" } }, { "id": "Turn off child room night light at sunrise", "result": { "structured": "TRIGGER: At sunrise with a 2-hour offset. CONDITIONS: None. ACTIONS: Turn off childroom led strip light [light.childroom_led_strip].", "natural_language": { "trigger": "Two hours after sunrise.", "conditions": "There are no conditions.", "action": "Turns off the childroom led strip light [light.childroom_led_strip]." }, "human_like": "Turns off the child room's night light two hours after sunrise.", "complexity": "low" } }, { "id": "Wakeup weekdays", "result": { "structured": "TRIGGER: When the current time is within 30 minutes before the time set in wakeup weekdays datetime [input_datetime.wakeup_weekdays]. CONDITIONS: wakeup override [input_boolean.wakeup_override] is on OR (workday sensor [binary_sensor.workday_sensor] is on AND family device tracker group [group.device_tracker_family] is home). ACTIONS: Execute wakeup lights script [script.wakeup_lights].", "natural_language": { "trigger": "The automation triggers when the current time is within 30 minutes before the scheduled wakeup time set in wakeup weekdays datetime [input_datetime.wakeup_weekdays].", "conditions": "Either the wakeup override [input_boolean.wakeup_override] is turned on, or it is a workday (workday sensor [binary_sensor.workday_sensor] is on) and at least one family member is home (family device tracker group [group.device_tracker_family] is home).", "action": "Runs the wakeup lights script [script.wakeup_lights] to gradually turn on lights." }, "human_like": "Gradually turns on the lights on weekday mornings before the scheduled wakeup time, but only if it's a workday and someone is home, or if manually overridden.", "complexity": "medium" } }, { "id": "Child room morning wakeup light", "result": { "structured": "TRIGGER: At 07:00:00. CONDITIONS: workday sensor [binary_sensor.workday_sensor] is on. ACTIONS: Turn on childroom led strip light [light.childroom_led_strip] with brightness 12%, RGB color (0, 0, 255), a 2-second transition, and effect set to None.", "natural_language": { "trigger": "At 7:00 AM.", "conditions": "If the workday sensor [binary_sensor.workday_sensor] indicates it is a workday.", "action": "Turns on the childroom led strip light [light.childroom_led_strip] to a blue color at 12% brightness, fading in over 2 seconds, with no special lighting effect." }, "human_like": "Turns on a soft blue light in the child's room at 7 AM on workdays to gently wake them up.", "complexity": "low" } }, { "id": "Wakeup weekend", "result": { "structured": "TRIGGER: When the current time is greater than or equal to the time set in wakeup weekend datetime [input_datetime.wakeup_weekend] minus 30 minutes. CONDITIONS: (The current day is Saturday OR Sunday) AND (family device tracker group [group.device_tracker_family] state is home). ACTIONS: Execute the wakeup lights script [script.wakeup_lights].", "natural_language": { "trigger": "When the current time reaches 30 minutes before the scheduled wakeup time set in wakeup weekend datetime [input_datetime.wakeup_weekend].", "conditions": "The automation only runs on weekends (Saturday or Sunday) and when at least one family member is at home, as indicated by the family device tracker group [group.device_tracker_family] being in the 'home' state.", "action": "Activates the wakeup lights by running the wakeup lights script [script.wakeup_lights]." }, "human_like": "Starts the wake-up light sequence 30 minutes before the scheduled weekend wake-up time, but only if it's a weekend and someone is home.", "complexity": "medium" } }, { "id": "Go to bed weekdays", "result": { "structured": "TRIGGER: At 23:00:00. CONDITIONS: workday sensor offset [binary_sensor.workday_sensor_offset] is on. ACTIONS: Execute go to bed lights script [script.go_to_bed_lights].", "natural_language": { "trigger": "At 11:00 PM every day.", "conditions": "If the workday sensor offset [binary_sensor.workday_sensor_offset] is in the 'on' state.", "action": "Runs the go to bed lights script [script.go_to_bed_lights]." }, "human_like": "Runs the bedtime lighting routine at 11 PM on workdays.", "complexity": "low" } }, { "id": "Go to bed weekend", "result": { "structured": "TRIGGER: When the time is 23:59:00. CONDITIONS: The current day is Friday OR Saturday. ACTIONS: Execute go to bed lights script [script.go_to_bed_lights].", "natural_language": { "trigger": "At exactly 11:59 PM.", "conditions": "If the current day is either Friday or Saturday.", "action": "Runs the go to bed lights script [script.go_to_bed_lights]." }, "human_like": "Runs the bedtime lighting routine at 11:59 PM on Friday and Saturday nights.", "complexity": "low" } }, { "id": "Wakeup nursery", "result": { "structured": "TRIGGER: When the time reaches the value set in wakeup nursery datetime [input_datetime.wakeup_nursery]. CONDITIONS: None. ACTIONS: Turn on bedroom bedside 2 light [light.bedroom_bedside_2] to 100% brightness with a 2-second transition.", "natural_language": { "trigger": "At the specific time set in the wakeup nursery datetime [input_datetime.wakeup_nursery].", "conditions": "There are no conditions that need to be met.", "action": "Turns on the bedroom bedside 2 light [light.bedroom_bedside_2] at full brightness, fading it on over a period of 2 seconds." }, "human_like": "Turns on a bedside light at a scheduled wake-up time for the nursery.", "complexity": "low" } }, { "id": "Away turn on lights", "result": { "structured": "TRIGGER: At sunset. CONDITIONS: enable away lights [input_boolean.enable_away_lights] is on AND family device tracker group [group.device_tracker_family] is not_home. ACTIONS: Run script enable away lights [script.enable_away_lights] AND Turn on away lights active [input_boolean.away_lights_active].", "natural_language": { "trigger": "At sunset.", "conditions": "If the 'enable away lights' [input_boolean.enable_away_lights] switch is turned on, and all family members are away, as indicated by the 'family device tracker group' [group.device_tracker_family] being in the 'not_home' state.", "action": "Runs the 'enable away lights' [script.enable_away_lights] script and turns on the 'away lights active' [input_boolean.away_lights_active] status indicator." }, "human_like": "Turns on the away lighting script and marks lights as active when the sun sets, but only if the feature is enabled and everyone is away.", "complexity": "low" } }, { "id": "Leaving home turn on lights", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes state to not_home. CONDITIONS: enable away lights [input_boolean.enable_away_lights] is on AND the sun is after sunset. ACTIONS: Run script enable away lights [script.enable_away_lights] AND turn on away lights active [input_boolean.away_lights_active].", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has left home (state changes to not_home).", "conditions": "If the 'enable away lights' [input_boolean.enable_away_lights] switch is turned on, and it is after sunset.", "action": "Activates the 'enable away lights' script [script.enable_away_lights] and turns on the 'away lights active' [input_boolean.away_lights_active] status indicator." }, "human_like": "Turns on the away lights automatically when everyone leaves home after sunset, provided the feature is enabled.", "complexity": "low" } }, { "id": "Away turn off lights", "result": { "structured": "TRIGGER: At 23:30:00. CONDITIONS: family device tracker group [group.device_tracker_family] is not_home AND indoor lights group [group.indoor_lights] is on. ACTIONS: Execute indoor lights off script [script.indoor_lights_off] AND Turn off away lights active [input_boolean.away_lights_active].", "natural_language": { "trigger": "Every day at 11:30 PM.", "conditions": "If the family device tracker group [group.device_tracker_family] shows that no one is home, and the indoor lights group [group.indoor_lights] is currently on.", "action": "Runs the indoor lights off script [script.indoor_lights_off] to turn off all indoor lights, and also turns off the away lights active [input_boolean.away_lights_active] input boolean." }, "human_like": "Automatically turns off all indoor lights at 11:30 PM if nobody is home.", "complexity": "low" } }, { "id": "Increase bathroom ceiling light brightness", "result": { "structured": "TRIGGER: When bathroom ceiling light [light.bathroom_ceiling] is turned on. CONDITIONS: (The brightness attribute of bathroom ceiling light [light.bathroom_ceiling] is less than 255) AND (The current time is between 07:00:00 and 18:00:00). ACTIONS: Turn on bathroom ceiling light [light.bathroom_ceiling] with brightness set to 100%.", "natural_language": { "trigger": "When the bathroom ceiling light [light.bathroom_ceiling] is switched on.", "conditions": "If the light's current brightness is below the maximum level, and if the current time is between 7 AM and 6 PM.", "action": "Sets the bathroom ceiling light [light.bathroom_ceiling] to its maximum brightness (100%)." }, "human_like": "Ensures the bathroom light is at full brightness when turned on during daytime hours.", "complexity": "low" } }, { "id": "Hallway top floor motion hallway bright", "result": { "structured": "TRIGGER: When Hallway top floor motion sensor [binary_sensor.hallway_top_floor_motion] detects motion (turns on). CONDITIONS: enable hue motion sensor hallway [input_boolean.enable_hue_motion_sensor_hallway] is on AND Hallway ceiling top floor light [light.hallway_ceiling_top_floor] is off AND ((workday sensor [binary_sensor.workday_sensor] is off AND current time is between 09:30:00 and 18:00:00) OR (workday sensor [binary_sensor.workday_sensor] is on AND current time is between 07:00:00 and 18:00:00)) AND hallway ceiling bottom floor light [light.hallway_ceiling_bottom_floor] brightness attribute is 255 AND NOT (childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off AND childroom sonos [media_player.childroom_sonos] is playing). ACTIONS: Execute hallway top floor bright script [script.hallway_top_floor_bright].", "natural_language": { "trigger": "When motion is detected by the Hallway top floor motion sensor [binary_sensor.hallway_top_floor_motion].", "conditions": "The automation must be enabled via the enable hue motion sensor hallway [input_boolean.enable_hue_motion_sensor_hallway] switch. The Hallway ceiling top floor light [light.hallway_ceiling_top_floor] must be off. The time must be before 18:00, and the allowed start time depends on the workday sensor [binary_sensor.workday_sensor]: if it's a non-workday, the time must be after 09:30; if it's a workday, the time must be after 07:00. The hallway ceiling bottom floor light [light.hallway_ceiling_bottom_floor] must be at maximum brightness (255). Finally, it must not be the case that the childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off while the childroom sonos [media_player.childroom_sonos] is playing.", "action": "Runs the hallway top floor bright script [script.hallway_top_floor_bright]." }, "human_like": "Turns the top floor hallway light to a bright setting when motion is detected, but only during allowed daytime hours, if the bottom floor light is already bright, and if music isn't playing in a specific ungrouped state.", "complexity": "medium" } }, { "id": "Hallway top floor motion rooms bright", "result": { "structured": "TRIGGER: When hallway top floor motion sensor [binary_sensor.hallway_top_floor_motion] detects motion (turns on). CONDITIONS: enable hue motion sensor hallway [input_boolean.enable_hue_motion_sensor_hallway] is on AND office ceiling light [light.office_ceiling] is off AND relaxed mode [binary_sensor.relaxed_mode] is off AND ((workday sensor [binary_sensor.workday_sensor] is off AND current time is between 09:30:00 and 18:00:00) OR (workday sensor [binary_sensor.workday_sensor] is on AND current time is between 07:00:00 and 18:00:00)) AND livingroom couch table light [light.livingroom_couch_table] has brightness attribute equal to 255. ACTIONS: Turn on office bright script [script.office_bright].", "natural_language": { "trigger": "When motion is detected by the hallway top floor motion sensor [binary_sensor.hallway_top_floor_motion].", "conditions": "The automation must be enabled via the enable hue motion sensor hallway [input_boolean.enable_hue_motion_sensor_hallway] switch. The office ceiling light [light.office_ceiling] must be off, and the relaxed mode [binary_sensor.relaxed_mode] must be inactive. Depending on whether it's a workday, the time must be within specific windows: on non-workdays, between 9:30 AM and 6:00 PM, or on workdays, between 7:00 AM and 6:00 PM. Finally, the livingroom couch table light [light.livingroom_couch_table] must be at its maximum brightness level of 255.", "action": "Activates the office bright script [script.office_bright] to brighten the office lights." }, "human_like": "Turns on bright office lighting when motion is detected in the top floor hallway, but only during daytime hours and when the living room light is already at full brightness.", "complexity": "medium" } }, { "id": "Turn off top floor lights not in use", "result": { "structured": "TRIGGER: Every 30 minutes (time pattern). CONDITIONS: Time is between 08:00:00 and 18:00:00 AND (hallway ceiling top floor light [light.hallway_ceiling_top_floor] is on OR childroom sonos [media_player.childroom_sonos] is playing) AND (hallway top floor motion sensor [binary_sensor.hallway_top_floor_motion] is off AND wol vidar switch [switch.wol_vidar] is off) AND both remain off for 30 minutes AND sela device tracker [device_tracker.sela_lt6ywwb54] is not_home AND remains not_home for 30 minutes. ACTIONS: Turn on hallway bottom floor bright script [script.hallway_bottom_floor_bright] AND turn off office ceiling light [light.office_ceiling] AND turn off childroom ceiling light [light.childroom_ceiling].", "natural_language": { "trigger": "The automation runs every 30 minutes.", "conditions": "It only runs during the day, between 8 AM and 6 PM. It requires that either the hallway ceiling top floor light [light.hallway_ceiling_top_floor] is on or the childroom sonos [media_player.childroom_sonos] is playing music. Additionally, the hallway top floor motion sensor [binary_sensor.hallway_top_floor_motion] and the wol vidar switch [switch.wol_vidar] must both be off for at least 30 minutes. Finally, the sela device tracker [device_tracker.sela_lt6ywwb54] must show the person is not home for at least 30 minutes.", "action": "It turns on the hallway bottom floor bright script [script.hallway_bottom_floor_bright] and turns off the office ceiling light [light.office_ceiling] and the childroom ceiling light [light.childroom_ceiling]." }, "human_like": "During the day, this automation turns off unused top-floor lights and brightens the hallway if no one is home and there's been no motion for a while.", "complexity": "medium" } }, { "id": "Gaming PC turning off", "result": { "structured": "TRIGGER: When wol vidar switch [switch.wol_vidar] turns off. CONDITIONS: office desk light [light.office_desk] is on AND relaxed mode [binary_sensor.relaxed_mode] is on. ACTIONS: Execute office low brightness script [script.office_low_brightness].", "natural_language": { "trigger": "When the gaming PC, represented by the wol vidar switch [switch.wol_vidar], is turned off.", "conditions": "If the office desk light [light.office_desk] is currently on and the system is in relaxed mode [binary_sensor.relaxed_mode].", "action": "Runs the office low brightness script [script.office_low_brightness] to adjust the lighting." }, "human_like": "When the gaming PC is turned off, it dims the office desk lights if they are on and the system is in relaxed mode.", "complexity": "low" } }, { "id": "Gaming PC turning on", "result": { "structured": "TRIGGER: When wol vidar switch [switch.wol_vidar] turns on. CONDITIONS: office desk light [light.office_desk] is on AND relaxed mode [binary_sensor.relaxed_mode] is on. ACTIONS: Execute office relaxed script [script.office_relaxed].", "natural_language": { "trigger": "When the wol vidar switch [switch.wol_vidar] is turned on.", "conditions": "The office desk light [light.office_desk] must be on, and the relaxed mode [binary_sensor.relaxed_mode] must be active.", "action": "Runs the office relaxed script [script.office_relaxed]." }, "human_like": "When the gaming PC is turned on, it activates a relaxed lighting scene in the office if the desk light is already on and relaxed mode is enabled.", "complexity": "low" } }, { "id": "Davids iPhone charging", "result": { "structured": "TRIGGER: When davids iphone battery state sensor [sensor.davids_iphone_battery_state] changes to Charging AND remains in that state for 1 minute. CONDITIONS: (The current time is between 22:00:00 and 06:00:00) AND (wol vidar switch [switch.wol_vidar] is off) AND (office desk light [light.office_desk] is on). ACTIONS: Execute the office low brightness script [script.office_low_brightness].", "natural_language": { "trigger": "When David's iPhone starts charging and remains in the charging state for at least one minute.", "conditions": "If it is between 10:00 PM and 6:00 AM, the office computer (wol vidar switch) is off, and the office desk light is on.", "action": "Runs the 'office low brightness' script to adjust the lighting." }, "human_like": "When David's iPhone starts charging overnight while the office is quiet and the desk light is on, it dims the lights to a low brightness.", "complexity": "medium" } }, { "id": "Create light groups", "result": { "structured": "TRIGGER: When Home Assistant starts. CONDITIONS: None. ACTIONS: Execute script create indoor lights group [script.create_indoor_lights_group] with data excluding area 'utomhus' and entity childroom led strip light [light.childroom_led_strip] AND execute script create all lights group [script.create_all_lights_group].", "natural_language": { "trigger": "When Home Assistant starts up.", "conditions": "There are no conditions for this automation.", "action": "Runs the script 'create indoor lights group' [script.create_indoor_lights_group], which will create a group of indoor lights while excluding the 'utomhus' area and the specific light 'childroom led strip light' [light.childroom_led_strip]. Then, it runs the script 'create all lights group' [script.create_all_lights_group]." }, "human_like": "Automatically creates groups for indoor and all lights when Home Assistant starts, ensuring certain areas and lights are excluded from the indoor group.", "complexity": "low" } }, { "id": "Watching TV", "result": { "structured": "TRIGGER: When plex vardagsrum media player [media_player.plex_vardagsrum] starts playing. CONDITIONS: ((Time is after 20:30:00 OR Time is before 10:00:00) AND (Sunset has passed with an offset of -1 hour OR Sunrise is more than 1 hour away)). ACTIONS: Execute watching tv lights script [script.watching_tv_lights].", "natural_language": { "trigger": "When the plex vardagsrum media player [media_player.plex_vardagsrum] changes its state to playing.", "conditions": "The automation only runs if it is either after 8:30 PM or before 10:00 AM, and also if it is either after sunset minus one hour or before sunrise plus one hour.", "action": "Runs the script called watching tv lights script [script.watching_tv_lights]." }, "human_like": "Automatically sets the TV-watching lighting scene when media starts playing during evening or early morning hours.", "complexity": "medium" } }, { "id": "Decrease child room music volume when turning indoor lights off", "result": { "structured": "TRIGGER: When indoor lights off script [script.indoor_lights_off] turns on. CONDITIONS: relaxed mode [binary_sensor.relaxed_mode] is on AND childroom sonos [media_player.childroom_sonos] is playing AND childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off AND the volume level of childroom sonos [media_player.childroom_sonos] is greater than 0.03. ACTIONS: Execute python_script.media_player_volume_set for childroom sonos [media_player.childroom_sonos] with volume_level set to 0.03.", "natural_language": { "trigger": "When the indoor lights off script [script.indoor_lights_off] is activated.", "conditions": "If relaxed mode [binary_sensor.relaxed_mode] is enabled, the childroom sonos [media_player.childroom_sonos] is currently playing music, it is not part of a speaker group (childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off), and its volume level is above 3%.", "action": "Sets the volume of the childroom sonos [media_player.childroom_sonos] to 3% using a custom script." }, "human_like": "Lowers the child room's Sonos volume to a quiet level when the indoor lights are turned off, but only if relaxed mode is active and the speaker is playing solo.", "complexity": "medium" } }, { "id": "Car heater started", "result": { "structured": "TRIGGER: When sbw57s heater switch [switch.sbw57s_heater] turns on. CONDITIONS: sbw57s device tracker [device_tracker.sbw57s] is not_home AND person david [person.david] is not_home. ACTIONS: Send a notification to the mobile app with title 'Volvo V60' and message 'Klimatanläggning startad'.", "natural_language": { "trigger": "When the car's heater switch [switch.sbw57s_heater] is turned on.", "conditions": "If the car's device tracker [device_tracker.sbw57s] reports the car is not at home, and the person David [person.david] is also not at home.", "action": "Sends a notification titled 'Volvo V60' with the message 'Klimatanläggning startad' to David's iPhone." }, "human_like": "Sends a phone notification when the car heater is turned on while both the car and David are away from home.", "complexity": "low" } }, { "id": "Car heater audio notification", "result": { "structured": "TRIGGER: When sbw57s heater switch [switch.sbw57s_heater] turns on. CONDITIONS: sbw57s device tracker [device_tracker.sbw57s] is home AND person david [person.david] is home. ACTIONS: Execute script sonos tts [script.sonos_tts] with parameters: target media_player kitchen sonos [media_player.kitchen_sonos], volume 0.1, and message 'Klimatanläggning startad'.", "natural_language": { "trigger": "When the car's heater switch [switch.sbw57s_heater] is turned on.", "conditions": "Both the car's device tracker [device_tracker.sbw57s] and the person David [person.david] must be at home.", "action": "Plays an audio notification in the kitchen saying 'Klimatanläggning startad' (Climate system started) using the Sonos speaker [media_player.kitchen_sonos] at a low volume." }, "human_like": "Announces in the kitchen when the car heater is turned on, but only when both the car and David are at home.", "complexity": "low" } }, { "id": "Low washer fluid", "result": { "structured": "TRIGGER: At 07:00:00 daily. CONDITIONS: volvo sbw57s washer fluid level warning [binary_sensor.volvo_sbw57s_washer fluid level warning] is on. ACTIONS: Send a notification to mobile_app_davids_iphone with title 'Volvo V60' and message 'Fyll på spolarvätska'.", "natural_language": { "trigger": "Every day at 7:00 AM.", "conditions": "If the volvo sbw57s washer fluid level warning [binary_sensor.volvo_sbw57s_washer fluid level warning] is active, indicating low washer fluid.", "action": "Sends a notification to the user's iPhone with the title 'Volvo V60' and the message 'Fyll på spolarvätska' (Fill up washer fluid)." }, "human_like": "Sends a morning reminder to fill the car's washer fluid if the low fluid warning is active.", "complexity": "low" } }, { "id": "Alarm not active", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] remains in state 'not_home' for 30 minutes. CONDITIONS: The alarm is not armed away (alarm_control_panel.ajax_alarm_status is NOT armed_away). ACTIONS: If person david [person.david] was last changed after person nellie [person.nellie] was last changed, then send a critical notification to David's iPhone with title 'Larmstatus' and message 'Larmet är ej aktiverat'. Otherwise, if person david [person.david] was last changed before person nellie [person.nellie] was last changed, then send a critical notification to Nellie's iPhone with the same title and message.", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has been away from home for at least 30 minutes.", "conditions": "The alarm system, ajax alarm status [alarm_control_panel.ajax_alarm_status], is not set to armed away mode.", "action": "The automation determines which person was last active at home by comparing the last update times of person david [person.david] and person nellie [person.nellie]. It then sends a critical notification to the mobile phone of the person who was last at home, alerting them that the alarm is not active." }, "human_like": "Sends an alert to the last person who left home if the alarm system is not armed after everyone has been away for 30 minutes.", "complexity": "medium" } }, { "id": "Night mode not active", "result": { "structured": "TRIGGER: When indoor lights off script [script.indoor_lights_off] turns on. CONDITIONS: family device tracker group [group.device_tracker_family] is home AND remains stable for 5 seconds AND relaxed mode [binary_sensor.relaxed_mode] is on AND (alarm_control_panel.ajax_alarm_status is NOT armed_night). ACTIONS: Send a notification to mobile_app_davids_iphone with title 'Larmstatus' and message 'Nattläge är ej aktiverat', including a critical sound at low volume.", "natural_language": { "trigger": "When the indoor lights off script [script.indoor_lights_off] is activated.", "conditions": "If the family device tracker group [group.device_tracker_family] shows that someone is at home and has been for at least 5 seconds, the relaxed mode [binary_sensor.relaxed_mode] is active, and the ajax alarm status [alarm_control_panel.ajax_alarm_status] is not set to armed_night.", "action": "Sends a notification to David's iPhone with the title 'Larmstatus' and the message 'Nattläge är ej aktiverat', playing a critical sound at low volume." }, "human_like": "Sends a phone notification if night mode is not active when the indoor lights are turned off, but only when someone is home and relaxed mode is on.", "complexity": "medium" } }, { "id": "Shed door opened not home", "result": { "structured": "TRIGGER: When outdoor shed door sensor [binary_sensor.outdoor_shed_door] changes to open (on). CONDITIONS: ajax alarm status [alarm_control_panel.ajax_alarm_status] is armed_away AND family device tracker group [group.device_tracker_family] is not_home. ACTIONS: Send a critical notification to mobile_app_davids_iphone with title 'Larmstatus' and message 'Förrådsdörr öppen', playing the default sound at 50% volume.", "natural_language": { "trigger": "When the outdoor shed door sensor [binary_sensor.outdoor_shed_door] opens.", "conditions": "The ajax alarm status [alarm_control_panel.ajax_alarm_status] must be set to armed_away, and all tracked family members must be away from home, as indicated by the family device tracker group [group.device_tracker_family] being in the not_home state.", "action": "Sends a critical push notification titled 'Larmstatus' with the message 'Förrådsdörr öppen' (Shed door opened) to David's iPhone, playing a sound at half volume." }, "human_like": "Sends an alert to your phone if the shed door is opened while the alarm is armed and nobody is home.", "complexity": "low" } }, { "id": "Shed door opened alarm armed night", "result": { "structured": "TRIGGER: When outdoor shed door sensor [binary_sensor.outdoor_shed_door] changes to open (on). CONDITIONS: ajax alarm status [alarm_control_panel.ajax_alarm_status] is armed_night. ACTIONS: Send a notification to mobile_app_davids_iphone with title 'Larmstatus' and message 'Förrådsdörr öppen', playing a critical sound at half volume.", "natural_language": { "trigger": "When the outdoor shed door sensor [binary_sensor.outdoor_shed_door] is opened.", "conditions": "The ajax alarm status [alarm_control_panel.ajax_alarm_status] must be set to 'armed_night'.", "action": "Sends a critical notification to David's iPhone with the title 'Larmstatus' and the message 'Förrådsdörr öppen', playing a default sound at half volume." }, "human_like": "Sends an alert to your phone if the shed door is opened while the alarm is set to night mode.", "complexity": "low" } }, { "id": "Shed door open alarm armed night activated", "result": { "structured": "TRIGGER: When ajax alarm status [alarm_control_panel.ajax_alarm_status] changes to armed_night. CONDITIONS: outdoor shed door sensor [binary_sensor.outdoor_shed_door] is open (on). ACTIONS: Send a notification to mobile_app_davids_iphone with title 'Larmstatus' and message 'Förrådsdörr öppen', playing a critical sound at low volume.", "natural_language": { "trigger": "When the alarm system, ajax alarm status [alarm_control_panel.ajax_alarm_status], is set to armed_night mode.", "conditions": "If the outdoor shed door sensor [binary_sensor.outdoor_shed_door] reports that the door is open.", "action": "Sends a critical push notification titled 'Larmstatus' with the message 'Förrådsdörr öppen' to David's iPhone, playing a default sound at low volume." }, "human_like": "Sends an alert to your phone if the shed door is open when the alarm is set to night mode.", "complexity": "low" } }, { "id": "Person detected notify Davids iPhone", "result": { "structured": "TRIGGER: When asgari 1 person count sensor [sensor.asgari_1_person_count] changes state. CONDITIONS: The new state value is greater than the previous state value. ACTIONS: Send a notification to Davids iPhone with title 'Övervakningskamera', message 'Person detekterad', and data including a URL to /lovelace/2 and a critical sound alert.", "natural_language": { "trigger": "Whenever the asgari 1 person count sensor [sensor.asgari_1_person_count] reports a change in the number of detected people.", "conditions": "The change must be an increase; the new count must be higher than the previous count.", "action": "Sends a push notification to David's iPhone, titled 'Övervakningskamera' with the message 'Person detekterad'. The notification includes a link to the dashboard and plays a critical sound alert." }, "human_like": "Sends a phone alert when a surveillance camera detects an increase in the number of people.", "complexity": "low" } }, { "id": "Person detected notify Nellies iPhone", "result": { "structured": "TRIGGER: When asgari 1 person count sensor [sensor.asgari_1_person_count] changes state. CONDITIONS: The new state value is greater than the previous state value. ACTIONS: Send a notification to Nellies iPhone with title 'Övervakningskamera' and message 'Person detekterad', including a deep link to /lovelace/2 and a critical sound alert.", "natural_language": { "trigger": "Whenever the asgari 1 person count sensor [sensor.asgari_1_person_count] reports a change in the number of detected people.", "conditions": "The condition checks if the new person count is higher than the previous count.", "action": "Sends a push notification titled 'Övervakningskamera' with the message 'Person detekterad' to Nellies iPhone. The notification includes a link to the dashboard and plays a critical sound alert." }, "human_like": "Sends a phone notification when a camera detects an increase in the number of people.", "complexity": "low" } }, { "id": "Person detected notify Sonos", "result": { "structured": "TRIGGER: When asgari 1 person count sensor [sensor.asgari_1_person_count] changes state. CONDITIONS: The new state value is greater than the previous state value (integer comparison). ACTIONS: Execute sonos play local media script [script.sonos_play_local_media] with parameters: target entity livingroom sonos media player [media_player.livingroom_sonos], media file 'US-EN-Morgan-Freeman-Motion-Detected.mp3', and volume level 0.3.", "natural_language": { "trigger": "When the asgari 1 person count sensor [sensor.asgari_1_person_count] changes its reported value.", "conditions": "The condition checks if the new person count is higher than the previous count.", "action": "It runs the sonos play local media script [script.sonos_play_local_media] on the livingroom sonos media player [media_player.livingroom_sonos], playing the audio file 'US-EN-Morgan-Freeman-Motion-Detected.mp3' at 30% volume." }, "human_like": "Plays a voice notification on the living room Sonos when a person is newly detected, increasing the person count.", "complexity": "low" } }, { "id": "Sound detected notify Davids iPhone", "result": { "structured": "TRIGGER: When deltaco 1 child singing sound sensor [binary_sensor.deltaco_1_child_singing_sound] turns on OR deltaco 1 crying sound sensor [binary_sensor.deltaco_1_crying_sound] turns on OR deltaco 1 humming sound sensor [binary_sensor.deltaco_1_humming_sound] turns on OR deltaco 1 scream sound sensor [binary_sensor.deltaco_1_scream_sound] turns on OR deltaco 1 humming sound sensor [binary_sensor.deltaco_1_humming_sound] turns on OR deltaco 1 singing sound sensor [binary_sensor.deltaco_1_singing_sound] turns on OR deltaco 1 whispering sound sensor [binary_sensor.deltaco_1_whispering_sound] turns on OR deltaco 1 yell sound sensor [binary_sensor.deltaco_1_yell_sound] turns on. CONDITIONS: None. ACTIONS: Send a notification to Davids iPhone [notify.mobile_app_davids_iphone] with title 'Barnrum', message 'Ljud detekterat', and data including a URL to /lovelace/2 and a critical push sound.", "natural_language": { "trigger": "When any of the sound sensors in the childroom detects a specific sound, such as child singing, crying, humming, screaming, singing, whispering, or yelling, and changes its state to 'on'.", "conditions": "There are no conditions that must be met for the automation to proceed.", "action": "Sends a notification to Davids iPhone with the title 'Barnrum' and the message 'Ljud detekterat' (Sound detected). The notification includes a link to the dashboard /lovelace/2 and plays a critical sound alert." }, "human_like": "Sends a notification to David's iPhone when a sound is detected in the child's room.", "complexity": "low" } }, { "id": "Sound detected notify Nellies iPhone", "result": { "structured": "TRIGGER: When deltaco 1 child singing sound sensor [binary_sensor.deltaco_1_child_singing_sound] turns on OR When deltaco 1 crying sound sensor [binary_sensor.deltaco_1_crying_sound] turns on OR When deltaco 1 humming sound sensor [binary_sensor.deltaco_1_humming_sound] turns on OR When deltaco 1 scream sound sensor [binary_sensor.deltaco_1_scream_sound] turns on OR When deltaco 1 humming sound sensor [binary_sensor.deltaco_1_humming_sound] turns on (duplicate) OR When deltaco 1 singing sound sensor [binary_sensor.deltaco_1_singing_sound] turns on OR When deltaco 1 whispering sound sensor [binary_sensor.deltaco_1_whispering_sound] turns on OR When deltaco 1 yell sound sensor [binary_sensor.deltaco_1_yell_sound] turns on. CONDITIONS: None. ACTIONS: Send a notification to Nellies iPhone [notify.mobile_app_nellies_iphone] with title 'Barnrum', message 'Ljud detekterat', and data including a URL to '/lovelace/2' and a critical push sound 'WebcamStart.caf' at volume 0.8.", "natural_language": { "trigger": "When any of the sound sensors in the childroom detects a specific sound, such as child singing, crying, humming, screaming, singing, whispering, or yelling, and changes its state to 'on'.", "conditions": "There are no conditions that need to be met for this automation to run.", "action": "Sends a push notification to Nellies iPhone [notify.mobile_app_nellies_iphone] with the title 'Barnrum' and the message 'Ljud detekterat'. The notification includes a link to the dashboard '/lovelace/2' and plays a critical sound alert." }, "human_like": "Sends an urgent notification to a phone when specific sounds are detected in the child's room.", "complexity": "low" } }, { "id": "Web service down", "result": { "structured": "TRIGGER: Every 10 minutes (time pattern). CONDITIONS: NOT (docker traefik state sensor [sensor.docker_traefik_state] is running AND docker authelia state sensor [sensor.docker_authelia_state] is running AND docker mariadb state sensor [sensor.docker_mariadb_state] is running AND docker wordpress state sensor [sensor.docker_wordpress_state] is running) AND NOT (time is after 04:00:00 AND before 05:00:00 AND weekday is Sunday). ACTIONS: Send notification to mobile_app_davids_iphone with title 'Web service status' and message 'A web service is down', including a data URL '/lovelace/6'.", "natural_language": { "trigger": "The automation runs every 10 minutes, based on a time pattern.", "conditions": "The conditions are met if at least one of the monitored web services (docker traefik state sensor [sensor.docker_traefik_state], docker authelia state sensor [sensor.docker_authelia_state], docker mariadb state sensor [sensor.docker_mariadb_state], or docker wordpress state sensor [sensor.docker_wordpress_state]) is not in the 'running' state, and the current time is not between 04:00 and 05:00 on a Sunday.", "action": "Sends a notification titled 'Web service status' with the message 'A web service is down' to the mobile app for David's iPhone, and includes a link to '/lovelace/6'." }, "human_like": "Checks every 10 minutes if any of the web services are down and sends a notification, except during a scheduled maintenance window on Sunday mornings.", "complexity": "medium" } }, { "id": "Hue switch bright", "result": { "structured": "TRIGGER: When a Hue switch event occurs with id 'hallway_switch_button', type 'short_release', and subtype '1'. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: Execute bottom floor bright script [script.bottom_floor_bright].", "natural_language": { "trigger": "When the Hue switch button in the hallway is pressed and quickly released (short release) on button number 1.", "conditions": "If the switch control for the hallway is enabled, meaning the input boolean 'enable hue switch hallway' [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "Runs the 'bottom floor bright' script [script.bottom_floor_bright] to adjust the lighting." }, "human_like": "Pressing button 1 on the hallway Hue switch makes the downstairs lights brighter, but only if the switch is enabled.", "complexity": "low" } }, { "id": "Hue switch relaxed", "result": { "structured": "TRIGGER: When a Hue event occurs with id hallway_switch_button, type long_release, and subtype 1. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: Execute indoor lights relaxed script [script.indoor_lights_relaxed]. Then, IF childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is on, execute sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker] AND set volume of childroom sonos [media_player.childroom_sonos] to 0.2.", "natural_language": { "trigger": "When the Hue switch in the hallway is held and released (a long press on button 1).", "conditions": "Only if the enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "First, it runs the indoor lights relaxed script [script.indoor_lights_relaxed] to set a relaxed lighting scene. After that, it checks if the childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped]. If it is grouped, it runs the sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker] and sets the volume of the childroom sonos [media_player.childroom_sonos] to 20%." }, "human_like": "Activates a relaxed lighting scene and, if the childroom speaker is grouped, ungroups it and sets a low volume when a specific Hue switch button is held.", "complexity": "medium" } }, { "id": "Hue switch turn off lighs", "result": { "structured": "TRIGGER: When a hue_event occurs with event_data: id = hallway_switch_button, type = short_release, subtype = 4. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: Execute indoor lights off script [script.indoor_lights_off].", "natural_language": { "trigger": "When the Hue switch button in the hallway is pressed and released quickly, specifically the fourth button subtype.", "conditions": "The automation is only active if the enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "Runs the indoor lights off script [script.indoor_lights_off] to turn off the indoor lights." }, "human_like": "Turns off all indoor lights when a specific button on the hallway Hue switch is pressed, provided the switch's functionality is enabled.", "complexity": "low" } }, { "id": "Hue switch low brightness", "result": { "structured": "TRIGGER: When a hue_event occurs with event_data: id = hallway_switch_button, type = long_release, subtype = 4. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: Execute indoor lights low brightness script [script.indoor_lights_low_brightness].", "natural_language": { "trigger": "When the Hue switch button in the hallway is long-pressed and released (subtype 4).", "conditions": "If the toggle to enable the hallway Hue switch [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "Runs the script to set indoor lights to low brightness [script.indoor_lights_low_brightness]." }, "human_like": "When the hallway Hue switch is long-pressed, it dims the indoor lights to a low brightness level.", "complexity": "low" } }, { "id": "Hue switch group livingroom speaker", "result": { "structured": "TRIGGER: When a Hue event occurs for hallway_switch_button with type long_release and subtype 2. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: If livingroom sonos is grouped [binary_sensor.livingroom_sonos_is_grouped] is off, run sonos group livingroom speaker script [script.sonos_group_livingroom_speaker]; otherwise if livingroom sonos is grouped [binary_sensor.livingroom_sonos_is_grouped] is on, run sonos ungroup livingroom speaker script [script.sonos_ungroup_livingroom_speaker].", "natural_language": { "trigger": "When the Hue switch in the hallway is held and released (long press, button 2).", "conditions": "The automation is only active if the enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "Checks if the living room Sonos speaker is currently grouped. If it is not grouped, it runs the script to group the living room speaker. If it is already grouped, it runs the script to ungroup the living room speaker." }, "human_like": "Toggles the grouping of the living room Sonos speaker using a long press on a specific button of the hallway Hue switch.", "complexity": "medium" } }, { "id": "Hue switch group childroom speaker", "result": { "structured": "TRIGGER: When a Hue event occurs for hallway_switch_button with type long_release and subtype 3. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: If childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off, then run sonos group childroom speaker script [script.sonos_group_childroom_speaker]. If childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is on, then run sonos ungroup childroom speaker script [script.sonos_ungroup_childroom_speaker].", "natural_language": { "trigger": "When the Hue switch in the hallway is held and released (a long press on button 3).", "conditions": "The automation is only active if the 'enable hue switch hallway' [input_boolean.enable_hue_switch_hallway] toggle is turned on.", "action": "Depending on the current grouping status of the childroom's Sonos speaker, it will either group or ungroup it. If the speaker is not currently grouped, it runs the script to group it. If it is already grouped, it runs the script to ungroup it." }, "human_like": "Toggles the grouping of the childroom's Sonos speaker using a long press on the hallway Hue switch.", "complexity": "medium" } }, { "id": "Hue switch increase Sonos volume", "result": { "structured": "TRIGGER: When a Hue switch event occurs with id 'hallway_switch_button', type 'short_release', and subtype '2'. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: Choose based on conditions: IF kitchen sonos [media_player.kitchen_sonos] is paused OR idle AND livingroom apple tv media player [media_player.livingroom_apple_tv] is playing AND livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] is on THEN increase volume of livingroom sonos media player [media_player.livingroom_sonos] to min( (current_volume * 1.15 + 0.03) rounded to 2 decimals, 1). ELSE IF kitchen sonos [media_player.kitchen_sonos] is paused OR idle AND childroom sonos [media_player.childroom_sonos] is playing AND childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off THEN increase volume of childroom sonos [media_player.childroom_sonos] to min( (current_volume * 1.15 + 0.03) rounded to 2 decimals, 1). OTHERWISE execute sonos increase volume script [script.sonos_increase_volume].", "natural_language": { "trigger": "When the Hue switch button in the hallway is pressed and released quickly (short_release) with the specific subtype 2.", "conditions": "The automation is only active if the enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "Depending on the state of the media players, the automation will either increase the volume of a specific Sonos speaker or run a general volume increase script. If the kitchen sonos [media_player.kitchen_sonos] is not playing, the livingroom apple tv media player [media_player.livingroom_apple_tv] is playing, and the livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] sensor is on, it increases the volume of the livingroom sonos media player [media_player.livingroom_sonos] by a calculated amount, capping at maximum volume. Alternatively, if the kitchen sonos [media_player.kitchen_sonos] is not playing, the childroom sonos [media_player.childroom_sonos] is playing, and it is not grouped with other speakers, it increases the volume of the childroom sonos [media_player.childroom_sonos] similarly. If neither of these specific conditions are met, it runs the default sonos increase volume script [script.sonos_increase_volume]." }, "human_like": "When the hallway Hue switch button is pressed, it increases the volume of the appropriate Sonos speaker based on which media is currently playing, or runs a general volume increase script as a fallback.", "complexity": "medium" } }, { "id": "Hue switch decrease Sonos volume", "result": { "structured": "TRIGGER: When a Hue event occurs with id 'hallway_switch_button', type 'short_release', and subtype '3'. CONDITIONS: enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is on. ACTIONS: Choose based on conditions: IF (kitchen sonos [media_player.kitchen_sonos] is paused OR idle) AND (livingroom apple tv media player [media_player.livingroom_apple_tv] is playing) AND (livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] is on) THEN set livingroom sonos media player [media_player.livingroom_sonos] volume to max(0.05, (current volume * 0.85 - 0.03) rounded to 2 decimals). ELSE IF (kitchen sonos [media_player.kitchen_sonos] is paused OR idle) AND (childroom sonos [media_player.childroom_sonos] is playing) AND (childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off) THEN set childroom sonos [media_player.childroom_sonos] volume to max(0.05, (current volume * 0.85 - 0.03) rounded to 2 decimals). OTHERWISE run sonos decrease volume script [script.sonos_decrease_volume].", "natural_language": { "trigger": "When the Hue switch button in the hallway is pressed and released quickly (short_release) with the specific subtype '3'.", "conditions": "The automation only runs if the switch is enabled, meaning the input boolean enable hue switch hallway [input_boolean.enable_hue_switch_hallway] is turned on.", "action": "The automation checks several scenarios to decide which volume to decrease. First, if the kitchen sonos [media_player.kitchen_sonos] is not actively playing, the livingroom apple tv media player [media_player.livingroom_apple_tv] is playing, and the livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] sensor is on, it will lower the volume of the livingroom sonos media player [media_player.livingroom_sonos] by a calculated amount, ensuring it doesn't go below 5%. Second, if the kitchen sonos is not playing, the childroom sonos [media_player.childroom_sonos] is playing, and it is not part of a speaker group, it will lower the volume of the childroom sonos by the same calculated amount. If neither of these specific scenarios apply, it will run a general script to decrease the Sonos volume." }, "human_like": "Decreases the volume of a specific Sonos speaker when a Hue switch is pressed, choosing the target speaker based on which media is currently active in the home.", "complexity": "medium" } }, { "id": "Ikea button bedroom on", "result": { "structured": "TRIGGER: When a ZHA event is received from device Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] with command 'on'. CONDITIONS: None. ACTIONS: Execute the bedroom relaxed script [script.bedroom_relaxed].", "natural_language": { "trigger": "When the Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] is pressed, specifically when it sends the 'on' command.", "conditions": "There are no conditions that must be met.", "action": "Runs the bedroom relaxed script [script.bedroom_relaxed]." }, "human_like": "Pressing the Ikea button in the bedroom activates the 'relaxed' lighting or scene script.", "complexity": "low" } }, { "id": "Ikea button bedroom on long press", "result": { "structured": "TRIGGER: When device Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] sends a ZHA event with command 'move_with_on_off'. CONDITIONS: None. ACTIONS: Execute script bedroom low brightness [script.bedroom_low_brightness].", "natural_language": { "trigger": "When the Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] is long-pressed, sending the 'move_with_on_off' command.", "conditions": "There are no conditions that must be met.", "action": "Runs the bedroom low brightness script [script.bedroom_low_brightness]." }, "human_like": "A long press on the Ikea bedroom button activates a low brightness scene for the bedroom.", "complexity": "low" } }, { "id": "Ikea button bedroom off", "result": { "structured": "TRIGGER: When device Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] sends a ZHA event with command 'off'. CONDITIONS: None. ACTIONS: Turn off all lights in the area 'sovrum'.", "natural_language": { "trigger": "When the Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] is pressed to send the 'off' command.", "conditions": "There are no conditions that must be met.", "action": "Turns off all the lights in the 'sovrum' area." }, "human_like": "Turns off the bedroom lights when the Ikea button is pressed.", "complexity": "low" } }, { "id": "Ikea button bedroom off long press", "result": { "structured": "TRIGGER: When device Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] sends a ZHA event with command 'move'. CONDITIONS: None. ACTIONS: Execute script indoor lights off [script.indoor_lights_off].", "natural_language": { "trigger": "When the Ikea button bedroom [device_id: 3b531df34853b38343b729aacef15e48] is pressed and held (long press), generating a ZHA event with the 'move' command.", "conditions": "There are no conditions for this automation.", "action": "Runs the script 'indoor lights off' [script.indoor_lights_off]." }, "human_like": "Turns off all indoor lights when the Ikea button in the bedroom is long-pressed.", "complexity": "low" } }, { "id": "Ikea styrbar bedroom on", "result": { "structured": "TRIGGER: When the ZHA device with device_id f423762e1c28755b0123cc7fd21c5fa7 (Ikea styrbar bedroom) sends an 'on' command event. CONDITIONS: None. ACTIONS: Execute the bedroom relaxed script [script.bedroom_relaxed].", "natural_language": { "trigger": "When the Ikea styrbar bedroom remote sends an 'on' command.", "conditions": "There are no conditions that need to be met.", "action": "Run the bedroom relaxed script [script.bedroom_relaxed]." }, "human_like": "When you press the 'on' button on the Ikea bedroom remote, it activates the relaxing bedroom scene.", "complexity": "low" } }, { "id": "Ikea styrbar bedroom on long press", "result": { "structured": "TRIGGER: When a ZHA event of type 'move_with_on_off' is received from the device with ID f423762e1c28755b0123cc7fd21c5fa7 (Ikea styrbar bedroom). CONDITIONS: None. ACTIONS: Execute the script bedroom low brightness script [script.bedroom_low_brightness].", "natural_language": { "trigger": "When the Ikea styrbar bedroom remote sends a 'move_with_on_off' command.", "conditions": "There are no additional conditions that must be met.", "action": "Runs the bedroom low brightness script [script.bedroom_low_brightness]." }, "human_like": "Turns on low brightness lighting in the bedroom when the long press action is used on the Ikea Styrbar remote.", "complexity": "low" } }, { "id": "Ikea styrbar bedroom off", "result": { "structured": "TRIGGER: When device Ikea styrbar bedroom [device_id: f423762e1c28755b0123cc7fd21c5fa7] sends a ZHA event with command 'off'. CONDITIONS: None. ACTIONS: Turn off all lights in the area 'sovrum'.", "natural_language": { "trigger": "When the Ikea styrbar bedroom remote [device_id: f423762e1c28755b0123cc7fd21c5fa7] is pressed to send the 'off' command.", "conditions": "There are no conditions that need to be met.", "action": "Turns off all the lights in the bedroom area (sovrum)." }, "human_like": "Turns off the bedroom lights when the Ikea remote's off button is pressed.", "complexity": "low" } }, { "id": "Ikea styrbar bedroom off long press", "result": { "structured": "TRIGGER: When device Ikea styrbar bedroom [device_id: f423762e1c28755b0123cc7fd21c5fa7] sends a ZHA event with command 'move'. CONDITIONS: None. ACTIONS: Execute script indoor lights off [script.indoor_lights_off].", "natural_language": { "trigger": "When the Ikea styrbar bedroom remote sends a specific 'move' command via a ZHA event.", "conditions": "There are no conditions for this automation.", "action": "Runs the script called indoor lights off [script.indoor_lights_off]." }, "human_like": "Turns off the indoor lights when the Ikea bedroom remote button is held down.", "complexity": "low" } }, { "id": "Ikea styrbar bedroom increase press", "result": { "structured": "TRIGGER: When Ikea styrbar bedroom [device_id: f423762e1c28755b0123cc7fd21c5fa7] sends a ZHA event with command 'press' and args [256, 13, 0]. CONDITIONS: None. ACTIONS: If bedroom ceiling light [light.bedroom_ceiling] is on, then increase its brightness by 25 (capped at 255). Otherwise, execute bedroom nursery light high script [script.bedroom_nursery_light_high].", "natural_language": { "trigger": "When the Ikea styrbar bedroom remote [device_id: f423762e1c28755b0123cc7fd21c5fa7] sends a specific button press event.", "conditions": "There are no explicit conditions.", "action": "If the bedroom ceiling light [light.bedroom_ceiling] is currently on, its brightness is increased by 25 units, up to a maximum of 255. If the light is off, the automation runs the bedroom nursery light high script [script.bedroom_nursery_light_high] instead." }, "human_like": "When a specific button on the Ikea bedroom remote is pressed, it either brightens the bedroom ceiling light if it's on, or turns on the nursery lights to a high level.", "complexity": "medium" } }, { "id": "Ikea styrbar bedroom decrease press", "result": { "structured": "TRIGGER: When the device Ikea styrbar bedroom [device_id: f423762e1c28755b0123cc7fd21c5fa7] sends a ZHA event with command 'press' and args [257, 13, 0]. CONDITIONS: None. ACTIONS: If bedroom ceiling light [light.bedroom_ceiling] is on, then turn it on with brightness set to the current brightness minus 25 (minimum 1). Otherwise, execute the bedroom nursery light script [script.bedroom_nursery_light].", "natural_language": { "trigger": "When the Ikea styrbar bedroom remote [device_id: f423762e1c28755b0123cc7fd21c5fa7] sends a specific 'press' event (with arguments 257, 13, 0).", "conditions": "There are no explicit conditions for this automation.", "action": "If the bedroom ceiling light [light.bedroom_ceiling] is currently on, its brightness is decreased by 25 units, with a minimum brightness of 1. If the light is off, the bedroom nursery light script [script.bedroom_nursery_light] is run instead." }, "human_like": "When the Ikea bedroom remote's decrease button is pressed, it either dims the bedroom ceiling light or runs a nursery light script if the light is off.", "complexity": "medium" } }, { "id": "Ikea button childroom toggle", "result": { "structured": "TRIGGER: When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a 'toggle' command event. CONDITIONS: None. ACTIONS: Toggle the childroom ceiling light [light.childroom_ceiling].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is pressed, sending a 'toggle' command.", "conditions": "There are no conditions that must be met.", "action": "Toggles the childroom ceiling light [light.childroom_ceiling] on or off." }, "human_like": "Pressing the Ikea button in the childroom toggles the ceiling light on or off.", "complexity": "low" } }, { "id": "Ikea button childroom bright", "result": { "structured": "TRIGGER: When device Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a ZHA event with command 'step_with_on_off'. CONDITIONS: None. ACTIONS: Execute childroom bright script [script.childroom_bright].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is pressed in a way that sends the 'step_with_on_off' command.", "conditions": "There are no additional conditions that must be met.", "action": "Runs the childroom bright script [script.childroom_bright]." }, "human_like": "Pressing the Ikea button in the childroom runs a script to brighten the lights.", "complexity": "low" } }, { "id": "Ikea button childroom relaxed", "result": { "structured": "TRIGGER: When the device Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a 'step' command event. CONDITIONS: None. ACTIONS: Execute the childroom relaxed script [script.childroom_relaxed].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is pressed, specifically when it sends a 'step' command event.", "conditions": "There are no conditions that must be met.", "action": "Runs the childroom relaxed script [script.childroom_relaxed]." }, "human_like": "Pressing the Ikea button in the childroom runs the 'relaxed' lighting or scene script for that room.", "complexity": "low" } }, { "id": "Ikea button childroom window light toggle", "result": { "structured": "TRIGGER: When device Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a 'move_with_on_off' ZHA event. CONDITIONS: enable advent light automations [input_boolean.enable_advent_light_automations] is on. ACTIONS: Toggle childroom window light [light.childroom_window].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is pressed in a way that sends a 'move_with_on_off' command.", "conditions": "The automation is only allowed to run if the switch 'enable advent light automations' [input_boolean.enable_advent_light_automations] is turned on.", "action": "Toggles the state of the childroom window light [light.childroom_window], turning it on if it's off, or off if it's on." }, "human_like": "Toggles the childroom window light using an Ikea button, but only when the special holiday lighting automations are enabled.", "complexity": "low" } }, { "id": "Ikea button childroom led strip disco", "result": { "structured": "TRIGGER: When a ZHA event with command 'move_with_on_off' is received from the device with ID 44bc2855a0757d86e2bf3ca19df7db77 (Ikea button childroom). CONDITIONS: enable advent light automations [input_boolean.enable_advent_light_automations] is off. ACTIONS: If childroom led strip light [light.childroom_led_strip] is off, then turn on childroom disco script [script.childroom_disco]. Otherwise, if childroom led strip light [light.childroom_led_strip] is on, then turn off childroom led strip light [light.childroom_led_strip].", "natural_language": { "trigger": "When the Ikea button childroom is pressed, specifically when it sends the 'move_with_on_off' command.", "conditions": "The automation only runs if the enable advent light automations [input_boolean.enable_advent_light_automations] is turned off.", "action": "If the childroom led strip light [light.childroom_led_strip] is currently off, it starts a disco light show by running the childroom disco script [script.childroom_disco]. If the light is already on, it simply turns the light off." }, "human_like": "Pressing the Ikea button in the childroom toggles the LED strip between a disco light show and off, but only when special holiday light automations are disabled.", "complexity": "medium" } }, { "id": "Ikea button childroom light turn off", "result": { "structured": "TRIGGER: When the device Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a 'move' command event. CONDITIONS: None. ACTIONS: Execute the script childroom light dim script [script.childroom_light_dim].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is pressed in a way that sends a 'move' command.", "conditions": "There are no conditions that must be met.", "action": "Runs the childroom light dim script [script.childroom_light_dim]." }, "human_like": "Pressing the Ikea button in the childroom runs a script to dim the lights.", "complexity": "low" } }, { "id": "Ikea button childroom increase volume", "result": { "structured": "TRIGGER: When the Ikea button childroom [device_id:44bc2855a0757d86e2bf3ca19df7db77] sends a ZHA event with command 'press' and args [256, 13, 0]. CONDITIONS: None. ACTIONS: Call the python_script.media_player_volume_set service for childroom sonos [media_player.childroom_sonos] with a volume_level set to the minimum of 1 and the result of ((current volume_level * 1.15) + 0.03) rounded to two decimal places.", "natural_language": { "trigger": "When the Ikea button childroom [device_id:44bc2855a0757d86e2bf3ca19df7db77] is pressed, specifically when it sends a ZHA event with the command 'press' and arguments 256, 13, and 0.", "conditions": "There are no conditions that must be met for this automation to run.", "action": "Increases the volume of the childroom sonos [media_player.childroom_sonos] by 15% plus a small offset, then caps the maximum volume at 100%." }, "human_like": "Pressing the Ikea button in the childroom increases the volume of the Sonos speaker there.", "complexity": "medium" } }, { "id": "Ikea button childroom decrease volume", "result": { "structured": "TRIGGER: When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a ZHA event with command 'press' and args [257, 13, 0]. CONDITIONS: None. ACTIONS: Execute python_script.media_player_volume_set on childroom sonos [media_player.childroom_sonos] with a volume_level set to the maximum of 0.05 and the result of (current volume_level multiplied by 0.85, minus 0.03, rounded to 2 decimal places).", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is pressed, specifically sending a ZHA event with the command 'press' and arguments 257, 13, and 0.", "conditions": "There are no conditions for this automation.", "action": "Calls a Python script to set the volume of the childroom sonos [media_player.childroom_sonos]. The new volume is calculated by taking the current volume, multiplying it by 0.85, subtracting 0.03, rounding to two decimal places, and ensuring it does not go below 0.05." }, "human_like": "Decreases the volume of the childroom Sonos speaker when a specific Ikea button is pressed, with a minimum volume limit.", "complexity": "medium" } }, { "id": "Ikea button childroom ungroup speaker", "result": { "structured": "TRIGGER: When the device with device_id 44bc2855a0757d86e2bf3ca19df7db77 (Ikea button childroom) sends a ZHA event with command 'hold' and args [3329, 0]. CONDITIONS: None. ACTIONS: Execute the script sonos ungroup childroom speaker [script.sonos_ungroup_childroom_speaker].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is held down, generating a specific ZHA event.", "conditions": "There are no conditions that must be met.", "action": "Runs the script sonos ungroup childroom speaker [script.sonos_ungroup_childroom_speaker]." }, "human_like": "Holding the Ikea button in the childroom triggers a script to ungroup the Sonos speaker there.", "complexity": "low" } }, { "id": "Ikea button childroom group speaker", "result": { "structured": "TRIGGER: When the device Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] sends a ZHA event with command 'hold' and args [3328, 0]. CONDITIONS: None. ACTIONS: Execute the sonos group childroom speaker script [script.sonos_group_childroom_speaker].", "natural_language": { "trigger": "When the Ikea button childroom [device_id: 44bc2855a0757d86e2bf3ca19df7db77] is held down, generating a specific ZHA event.", "conditions": "There are no conditions that must be met.", "action": "Runs the script named sonos group childroom speaker script [script.sonos_group_childroom_speaker]." }, "human_like": "Holding the Ikea button in the childroom groups the Sonos speakers there.", "complexity": "low" } }, { "id": "Office switch turn on", "result": { "structured": "TRIGGER: When Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] sends a ZHA event with command 'on'. CONDITIONS: None. ACTIONS: If relaxed mode [binary_sensor.relaxed_mode] is off, then turn on office bright script [script.office_bright]; otherwise, turn on office relaxed script [script.office_relaxed].", "natural_language": { "trigger": "When the Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] is pressed to turn on.", "conditions": "There are no additional conditions that must be met.", "action": "If the relaxed mode [binary_sensor.relaxed_mode] is off, the automation will run the office bright script [script.office_bright]. If the relaxed mode [binary_sensor.relaxed_mode] is on, it will run the office relaxed script [script.office_relaxed] instead." }, "human_like": "Turns on either bright or relaxed lighting in the office when the office switch is pressed, depending on the current mode.", "complexity": "low" } }, { "id": "Office switch turn off", "result": { "structured": "TRIGGER: When Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] sends a ZHA event with command 'off'. CONDITIONS: None. ACTIONS: Turn off all lights in the area 'arbetsrum' (Office).", "natural_language": { "trigger": "When the Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] is pressed to send an 'off' command via a ZHA event.", "conditions": "There are no conditions that must be met.", "action": "Turns off all lights located in the Office area (arbetsrum)." }, "human_like": "Turns off the office lights when the office switch is pressed to the off position.", "complexity": "low" } }, { "id": "Office switch turn on hold", "result": { "structured": "TRIGGER: When device Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] sends a ZHA event with command 'move_with_on_off'. CONDITIONS: relaxed mode [binary_sensor.relaxed_mode] is off. ACTIONS: Turn on hallway top floor bright script [script.hallway_top_floor_bright].", "natural_language": { "trigger": "When the Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] sends a 'move_with_on_off' command event.", "conditions": "If the relaxed mode [binary_sensor.relaxed_mode] is currently off.", "action": "Runs the hallway top floor bright script [script.hallway_top_floor_bright]." }, "human_like": "When the Office switch is held, it brightens the top floor hallway lights, but only if relaxed mode is not active.", "complexity": "low" } }, { "id": "Office switch turn off hold", "result": { "structured": "TRIGGER: When Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] sends a 'move' command event. CONDITIONS: None. ACTIONS: Execute indoor lights low brightness script [script.indoor_lights_low_brightness].", "natural_language": { "trigger": "When the Office switch [device_id: 0e0ddda228abe1831c9056b2834b6454] is held or moved, generating a 'move' command event.", "conditions": "There are no conditions to check.", "action": "Runs the indoor lights low brightness script [script.indoor_lights_low_brightness]." }, "human_like": "Holding the Office switch turns on a low brightness lighting scene.", "complexity": "low" } }, { "id": "Ikea switch turn on coffee maker", "result": { "structured": "TRIGGER: When the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] sends an 'on' command event. CONDITIONS: None. ACTIONS: Turn on kitchen coffee maker switch [switch.kitchen_coffee_maker].", "natural_language": { "trigger": "When the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] is pressed to send an 'on' command.", "conditions": "There are no additional conditions that must be met.", "action": "Turns on the kitchen coffee maker switch [switch.kitchen_coffee_maker]." }, "human_like": "Turns on the coffee maker when the designated Ikea switch is pressed.", "complexity": "low" } }, { "id": "Ikea switch turn off coffee maker", "result": { "structured": "TRIGGER: When the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] sends a ZHA event with the command 'off'. CONDITIONS: None. ACTIONS: Turn off kitchen coffee maker switch [switch.kitchen_coffee_maker].", "natural_language": { "trigger": "When the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] is pressed to send an 'off' command.", "conditions": "There are no conditions for this automation.", "action": "Turns off the kitchen coffee maker switch [switch.kitchen_coffee_maker]." }, "human_like": "Turns off the coffee maker when the Ikea switch is pressed.", "complexity": "low" } }, { "id": "Ikea switch turn on kitchen bright", "result": { "structured": "TRIGGER: When the device with ID ba91148bbaa6400dc4a15b0b42004ddb (Ikea kitchen coffee switch) sends a ZHA event with command 'move_with_on_off'. CONDITIONS: None. ACTIONS: Execute the script kitchen bright script [script.kitchen_bright].", "natural_language": { "trigger": "When the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] is used to send a specific 'move_with_on_off' command.", "conditions": "There are no conditions that must be met.", "action": "Runs the kitchen bright script [script.kitchen_bright] to turn on the kitchen lights brightly." }, "human_like": "Turns on bright kitchen lights when a specific Ikea switch is used.", "complexity": "low" } }, { "id": "Ikea switch turn off kitchen lights", "result": { "structured": "TRIGGER: When the device Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] sends a 'move' command event. CONDITIONS: None. ACTIONS: Turn off all lights in the area 'kok'.", "natural_language": { "trigger": "When the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb] is used to send a 'move' command.", "conditions": "There are no conditions that must be met.", "action": "Turns off all the lights in the kitchen area (kok)." }, "human_like": "Turns off the kitchen lights when the Ikea coffee switch is moved.", "complexity": "low" } }, { "id": "Shelly livingroom relaxed", "result": { "structured": "TRIGGER: When a Shelly switch device (device_id: aad1e36ae5e1a5709dd95de24f0c5fea, device: shellyswitch25-E098068CEEBD) generates a 'single' click event on channel 2. CONDITIONS: livingroom couch table light [light.livingroom_couch_table] is on AND its brightness attribute is NOT 76. ACTIONS: Execute the livingroom relaxed script [script.livingroom_relaxed].", "natural_language": { "trigger": "When the Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] is clicked once (a 'single' click) on its second button channel.", "conditions": "The livingroom couch table light [light.livingroom_couch_table] must be turned on, but its brightness must not be set to 76.", "action": "Runs the pre-configured livingroom relaxed script [script.livingroom_relaxed]." }, "human_like": "Activates a relaxing light scene when you click the living room switch, but only if the main light is on and not already at a specific brightness.", "complexity": "low" } }, { "id": "Shelly livingroom bright", "result": { "structured": "TRIGGER: When the device Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] sends a 'single' click event on channel 2. CONDITIONS: (livingroom couch table light [light.livingroom_couch_table] is off) OR (livingroom couch table light [light.livingroom_couch_table] has a brightness attribute equal to 76). ACTIONS: Execute the livingroom bright script [script.livingroom_bright].", "natural_language": { "trigger": "When the Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] is clicked once on its second button.", "conditions": "The automation only runs if the livingroom couch table light [light.livingroom_couch_table] is either turned off, or if it is on but set to a specific brightness level of 76.", "action": "Runs the pre-configured livingroom bright script [script.livingroom_bright]." }, "human_like": "Turns the living room to a bright scene with a single click of the Shelly switch, but only if the main couch table light is off or at a specific dim level.", "complexity": "medium" } }, { "id": "Shelly livingroom relaxed long press", "result": { "structured": "TRIGGER: When the Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] sends a 'long' click event on channel 2. CONDITIONS: livingroom couch table light [light.livingroom_couch_table] is off. ACTIONS: Execute the livingroom relaxed script [script.livingroom_relaxed].", "natural_language": { "trigger": "When the Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] is long-pressed on its second button.", "conditions": "The livingroom couch table light [light.livingroom_couch_table] must be turned off.", "action": "Runs the 'livingroom relaxed' scene or routine by starting the livingroom relaxed script [script.livingroom_relaxed]." }, "human_like": "Turns on a relaxed lighting scene for the living room when a specific switch is long-pressed, but only if the main couch table light is off.", "complexity": "low" } }, { "id": "Shelly livingroom turn off lights", "result": { "structured": "TRIGGER: When the Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] sends a 'long' click event on channel 2. CONDITIONS: livingroom couch table light [light.livingroom_couch_table] is on. ACTIONS: Turn off all lights in the 'vardagsrum' area.", "natural_language": { "trigger": "When the Shelly livingroom switch [device_id: aad1e36ae5e1a5709dd95de24f0c5fea] is clicked and held (a 'long' click) on its second button.", "conditions": "The livingroom couch table light [light.livingroom_couch_table] must be turned on.", "action": "Turns off all the lights in the area identified as 'vardagsrum' (living room)." }, "human_like": "Turns off all living room lights with a long press of the Shelly switch, but only if the main couch table light is already on.", "complexity": "low" } }, { "id": "Enable Sonos alarm", "result": { "structured": "TRIGGER: At 03:00:00. CONDITIONS: workday sensor [binary_sensor.workday_sensor] is on AND Wakeup weekdays automation [automation.wakeup_weekdays] is on. ACTIONS: Execute sonos set alarm script [script.sonos_set_alarm].", "natural_language": { "trigger": "The automation triggers daily at 3:00 AM.", "conditions": "It requires that the workday sensor [binary_sensor.workday_sensor] is on, indicating it's a workday, and the Wakeup weekdays automation [automation.wakeup_weekdays] is enabled.", "action": "Runs the sonos set alarm script [script.sonos_set_alarm]." }, "human_like": "Sets a Sonos alarm at 3 AM on workdays when the weekday wakeup automation is active.", "complexity": "low" } }, { "id": "Skip song tracks", "result": { "structured": "TRIGGER: When the media title of childroom sonos [media_player.childroom_sonos] contains the exact string 'Perfect'. CONDITIONS: None. ACTIONS: Skip to the next track on childroom sonos [media_player.childroom_sonos].", "natural_language": { "trigger": "When the currently playing song title on the childroom sonos [media_player.childroom_sonos] contains the word 'Perfect' (case-sensitive).", "conditions": "There are no additional conditions that need to be met.", "action": "Skips the current song and plays the next track on the childroom sonos [media_player.childroom_sonos]." }, "human_like": "Automatically skips any song with 'Perfect' in its title when playing on the childroom Sonos speaker.", "complexity": "low" } }, { "id": "Activate repeat on Sonos bedroom", "result": { "structured": "TRIGGER: When childroom sonos [media_player.childroom_sonos] remains in the playing state for 5 seconds. CONDITIONS: childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off AND (childroom sonos [media_player.childroom_sonos] has the repeat attribute set to off AND childroom sonos [media_player.childroom_sonos] has the media_content_type attribute set to music). ACTIONS: Set the repeat mode of childroom sonos [media_player.childroom_sonos] to all.", "natural_language": { "trigger": "When the childroom sonos [media_player.childroom_sonos] has been playing for at least five seconds.", "conditions": "The childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] sensor must be off, indicating the speaker is not part of a group. Additionally, the speaker must have its repeat setting turned off and currently be playing music content.", "action": "Sets the repeat mode for the childroom sonos [media_player.childroom_sonos] to 'all', enabling repeat for the current playlist or queue." }, "human_like": "Automatically turns on repeat for the childroom Sonos when it starts playing music and is not grouped with other speakers.", "complexity": "medium" } }, { "id": "TV off group speakers", "result": { "structured": "TRIGGER: When livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] changes to off. CONDITIONS: NOT (livingroom sonos is grouped [binary_sensor.livingroom_sonos_is_grouped] is on AND livingroom sonos media player [media_player.livingroom_sonos] is playing). ACTIONS: Execute sonos group livingroom speaker script [script.sonos_group_livingroom_speaker].", "natural_language": { "trigger": "When the TV activity sensor for the living room Sonos [binary_sensor.livingroom_sonos_tv_active] turns off.", "conditions": "If the living room Sonos speaker is not currently grouped [binary_sensor.livingroom_sonos_is_grouped] and is not playing audio [media_player.livingroom_sonos].", "action": "Runs the script to group the living room Sonos speaker [script.sonos_group_livingroom_speaker]." }, "human_like": "Groups the living room Sonos speaker when the TV turns off, but only if the speaker isn't already grouped and playing.", "complexity": "low" } }, { "id": "TV off disable night mode", "result": { "structured": "TRIGGER: When livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] changes to off. CONDITIONS: sonos livingroom night sound switch [switch.sonos_livingroom_night_sound] is on OR sonos livingroom speech enhancement switch [switch.sonos_livingroom_speech_enhancement] is on. ACTIONS: Turn off sonos livingroom night sound switch [switch.sonos_livingroom_night_sound] AND turn off sonos livingroom speech enhancement switch [switch.sonos_livingroom_speech_enhancement].", "natural_language": { "trigger": "When the TV in the living room stops being active, as indicated by the livingroom sonos tv active [binary_sensor.livingroom_sonos_tv_active] sensor turning off.", "conditions": "If either the night sound mode for the Sonos system, via sonos livingroom night sound switch [switch.sonos_livingroom_night_sound], is enabled, or the speech enhancement feature, via sonos livingroom speech enhancement switch [switch.sonos_livingroom_speech_enhancement], is enabled.", "action": "Disables both the night sound and speech enhancement features by turning off the sonos livingroom night sound switch [switch.sonos_livingroom_night_sound] and the sonos livingroom speech enhancement switch [switch.sonos_livingroom_speech_enhancement]." }, "human_like": "Automatically turns off the Sonos night sound and speech enhancement modes when the TV is turned off.", "complexity": "low" } }, { "id": "Leaving home pause Sonos kitchen", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to not_home OR when ajax alarm status [alarm_control_panel.ajax_alarm_status] changes to armed_away. CONDITIONS: kitchen sonos [media_player.kitchen_sonos] is playing. ACTIONS: Call python_script.media_player_volume_set on kitchen sonos [media_player.kitchen_sonos] with set_group_volume: true and volume_level: 0.01, then call media_player.media_pause on kitchen sonos [media_player.kitchen_sonos], then call sonos set group volume script [script.sonos_set_group_volume] with volume: 0.2.", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates that everyone has left home (state changes to not_home), or when the ajax alarm status [alarm_control_panel.ajax_alarm_status] is set to armed_away.", "conditions": "The kitchen sonos [media_player.kitchen_sonos] must be currently playing audio.", "action": "First, it sets the volume of the kitchen sonos [media_player.kitchen_sonos] to a very low level (0.01) using a custom script, then it pauses the playback on the kitchen sonos [media_player.kitchen_sonos]. Finally, it runs another script to set the Sonos group volume to 0.2." }, "human_like": "Pauses and quiets the kitchen Sonos when everyone leaves home or the alarm is armed away, ensuring the music doesn't play in an empty house.", "complexity": "medium" } }, { "id": "Leaving home pause Sonos childroom", "result": { "structured": "TRIGGER: When family device tracker group [group.device_tracker_family] changes to not_home OR when ajax alarm status [alarm_control_panel.ajax_alarm_status] changes to armed_away. CONDITIONS: childroom sonos [media_player.childroom_sonos] is playing AND childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off. ACTIONS: Pause childroom sonos [media_player.childroom_sonos].", "natural_language": { "trigger": "When the family device tracker group [group.device_tracker_family] indicates everyone has left home, or when the ajax alarm status [alarm_control_panel.ajax_alarm_status] is set to armed away.", "conditions": "If the childroom sonos [media_player.childroom_sonos] is currently playing audio and is not part of a speaker group, as indicated by childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] being off.", "action": "Pauses the music playback on the childroom sonos [media_player.childroom_sonos]." }, "human_like": "Pauses the Sonos speaker in the child's room when everyone leaves home or the alarm is armed, but only if it's playing music on its own.", "complexity": "medium" } }, { "id": "Pause bedroom music", "result": { "structured": "TRIGGER: When timer childroom music [timer.childroom_music] finishes. CONDITIONS: childroom sonos [media_player.childroom_sonos] is playing AND childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off. ACTIONS: Execute python_script.media_player_volume_set on childroom sonos [media_player.childroom_sonos] with volume_level 0.01, then pause childroom sonos [media_player.childroom_sonos], then set volume of childroom sonos [media_player.childroom_sonos] to 0.1.", "natural_language": { "trigger": "When the childroom music timer [timer.childroom_music] finishes.", "conditions": "The childroom sonos [media_player.childroom_sonos] must be currently playing audio, and the childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] sensor must indicate that the speaker is not part of a group.", "action": "First, a custom script (python_script.media_player_volume_set) is called to set the volume of the childroom sonos [media_player.childroom_sonos] to a very low level (1%). Then, the media playback on the speaker is paused. Finally, the volume of the speaker is set to 10%." }, "human_like": "Pauses the music in the child's room and lowers the volume when a timer ends, but only if the speaker is playing and not grouped with others.", "complexity": "low" } }, { "id": "Start bedroom music timer", "result": { "structured": "TRIGGER: When indoor lights off script [script.indoor_lights_off] turns on. CONDITIONS: childroom sonos [media_player.childroom_sonos] is playing AND childroom music timer [timer.childroom_music] is idle AND childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off AND relaxed mode [binary_sensor.relaxed_mode] is on. ACTIONS: Execute bedroom music timer start script [script.bedroom_music_timer_start].", "natural_language": { "trigger": "When the indoor lights off script [script.indoor_lights_off] is activated.", "conditions": "The childroom sonos [media_player.childroom_sonos] must be playing music, the childroom music timer [timer.childroom_music] must be idle (not running), the childroom sonos must not be part of a speaker group (childroom sonos is grouped [binary_sensor.childroom_sonos_is_grouped] is off), and the relaxed mode [binary_sensor.relaxed_mode] must be enabled.", "action": "Starts the bedroom music timer by running the bedroom music timer start script [script.bedroom_music_timer_start]." }, "human_like": "Starts a music timer for the bedroom when the lights are turned off, the childroom speaker is playing solo, and relaxed mode is active.", "complexity": "low" } }, { "id": "Kitchen coffee maker timer start", "result": { "structured": "TRIGGER: When kitchen coffee maker switch [switch.kitchen_coffee_maker] turns on OR When a ZHA event with command 'on' is received from device Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb]. CONDITIONS: (If the trigger is the state change, no further conditions) OR (If the trigger is the remote event, kitchen coffee maker switch [switch.kitchen_coffee_maker] must be on). ACTIONS: Run kitchen coffee maker timer start script [script.kitchen_coffee_maker_timer_start].", "natural_language": { "trigger": "When the kitchen coffee maker switch [switch.kitchen_coffee_maker] is turned on, or when a remote command 'on' is received from the Ikea kitchen coffee switch [device_id: ba91148bbaa6400dc4a15b0b42004ddb].", "conditions": "If the automation was triggered by the switch turning on, no additional conditions apply. If it was triggered by the remote command, the kitchen coffee maker switch [switch.kitchen_coffee_maker] must already be in the 'on' state.", "action": "Starts the coffee maker timer by running the kitchen coffee maker timer start script [script.kitchen_coffee_maker_timer_start]." }, "human_like": "Starts a timer for the coffee maker when it is turned on, either directly via its switch or via a remote command.", "complexity": "medium" } }, { "id": "Kitchen coffee maker timer cancel", "result": { "structured": "TRIGGER: When kitchen coffee maker switch [switch.kitchen_coffee_maker] turns off. CONDITIONS: kitchen coffee maker timer [timer.kitchen_coffee_maker] is active. ACTIONS: Execute kitchen coffee maker timer cancel script [script.kitchen_coffee_maker_timer_cancel].", "natural_language": { "trigger": "When the kitchen coffee maker switch [switch.kitchen_coffee_maker] is turned off.", "conditions": "The kitchen coffee maker timer [timer.kitchen_coffee_maker] must be currently active.", "action": "Runs the kitchen coffee maker timer cancel script [script.kitchen_coffee_maker_timer_cancel]." }, "human_like": "Cancels the coffee maker timer when the coffee maker is turned off.", "complexity": "low" } }, { "id": "Timer turn off kitchen coffee maker", "result": { "structured": "TRIGGER: When the timer kitchen coffee maker [timer.kitchen_coffee_maker] finishes. CONDITIONS: kitchen coffee maker switch [switch.kitchen_coffee_maker] is on. ACTIONS: Turn off kitchen coffee maker switch [switch.kitchen_coffee_maker].", "natural_language": { "trigger": "When the kitchen coffee maker timer [timer.kitchen_coffee_maker] finishes.", "conditions": "The kitchen coffee maker switch [switch.kitchen_coffee_maker] must be in the 'on' state.", "action": "Turn off the kitchen coffee maker switch [switch.kitchen_coffee_maker]." }, "human_like": "Automatically turns off the coffee maker when its timer finishes, provided the coffee maker is still on.", "complexity": "low" } }, { "id": "Battery charging station timer start", "result": { "structured": "TRIGGER: When battery charging station switch [switch.battery_charging_station] turns on. CONDITIONS: None. ACTIONS: Start battery charging station timer [timer.battery_charging_station] for a duration of 10 hours.", "natural_language": { "trigger": "When the battery charging station switch [switch.battery_charging_station] is turned on.", "conditions": "There are no conditions that must be met.", "action": "Starts the battery charging station timer [timer.battery_charging_station] for a period of 10 hours." }, "human_like": "Starts a 10-hour timer for the battery charging station whenever it is switched on.", "complexity": "low" } }, { "id": "Battery charging station timer cancel", "result": { "structured": "TRIGGER: When battery charging station switch [switch.battery_charging_station] changes state from on to any other state. CONDITIONS: None. ACTIONS: Cancel battery charging station timer [timer.battery_charging_station].", "natural_language": { "trigger": "When the battery charging station switch [switch.battery_charging_station] is turned off.", "conditions": "There are no conditions for this automation.", "action": "Cancels the battery charging station timer [timer.battery_charging_station]." }, "human_like": "Cancels the charging station timer when the station is turned off.", "complexity": "low" } }, { "id": "Battery charging station turn off", "result": { "structured": "TRIGGER: When timer.battery_charging_station finishes. CONDITIONS: None. ACTIONS: Turn off battery charging station switch [switch.battery_charging_station].", "natural_language": { "trigger": "When the battery charging station timer [timer.battery_charging_station] finishes.", "conditions": "There are no conditions for this automation.", "action": "Turns off the battery charging station switch [switch.battery_charging_station]." }, "human_like": "Automatically turns off the battery charging station when its timer finishes.", "complexity": "low" } } ]