AutomationDataset/MikaelHoogen/automation-descriptions.json

1003 lines
105 KiB
JSON

[
{
"id": "allrum_belysning_fonster",
"result": {
"structured": "TRIGGER: When binary sensor allrum belysning filament automation control [binary_sensor.allrum_belysning_filament_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Turn on allrum klotlampa [light.allrum_klotlampa] if binary sensor allrum belysning filament automation control [binary_sensor.allrum_belysning_filament_automation_control] is on, otherwise turn it off.",
"natural_language": {
"trigger": "When the binary sensor allrum belysning filament automation control [binary_sensor.allrum_belysning_filament_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met.",
"action": "If the binary sensor allrum belysning filament automation control [binary_sensor.allrum_belysning_filament_automation_control] is on, turn on the allrum klotlampa [light.allrum_klotlampa]. If the sensor is off, turn the light off."
},
"human_like": "Turns the living room globe light on or off based on the state of a control sensor, and ensures the correct state when Home Assistant restarts.",
"complexity": "low"
}
},
{
"id": "allrum_huslampa",
"result": {
"structured": "TRIGGER: When binary sensor allrum huslampa automation control [binary_sensor.allrum_huslampa_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn allrum huslampa [light.allrum_huslampa] on if binary sensor allrum huslampa automation control [binary_sensor.allrum_huslampa_automation_control] state is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs whenever the state of the binary sensor allrum huslampa automation control [binary_sensor.allrum_huslampa_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "The light allrum huslampa [light.allrum_huslampa] is turned on if the control sensor is 'on', or turned off if the control sensor is 'off'."
},
"human_like": "This automation syncs the living room lamp with a control switch, turning the lamp on or off to match the switch's state.",
"complexity": "low"
}
},
{
"id": "filmlage_hantering",
"result": {
"structured": "TRIGGER: When allrum media player [media_player.allrum] remains in playing state for 10 seconds OR When allrum media player [media_player.allrum] changes from playing state and remains not playing for 5 seconds OR When input boolean film [input_boolean.film] turns off. CONDITIONS: (Trigger is film_startar AND input boolean film [input_boolean.film] is on) OR (Trigger is film_stoppar OR filmlage_av). ACTIONS: If conditions for film_startar are met, turn on input boolean film spelar [input_boolean.film_spelar]. If conditions for film_stoppar or filmlage_av are met, turn off input boolean film spelar [input_boolean.film_spelar].",
"natural_language": {
"trigger": "The automation triggers when the allrum media player [media_player.allrum] has been playing for 10 seconds, when it stops playing for 5 seconds, or when the input boolean film [input_boolean.film] is turned off.",
"conditions": "If the trigger was the media player starting to play, the input boolean film [input_boolean.film] must also be on. If the trigger was the media player stopping or the film boolean being turned off, no additional conditions are required.",
"action": "If the media player starts playing and the film mode is on, it turns on the input boolean film spelar [input_boolean.film_spelar] to indicate a movie is playing. If the media player stops playing or the film mode is turned off, it turns off the input boolean film spelar [input_boolean.film_spelar]."
},
"human_like": "Manages a 'movie playing' indicator, turning it on when the media player starts in film mode and off when playback stops or film mode is disabled.",
"complexity": "medium"
}
},
{
"id": "allrum_knapp_vid_tv",
"result": {
"structured": "TRIGGER: When allrum knapp vid tv device [device_id:399f935166a8dc9987ba52ae975e5b2c] sends a single press action OR When allrum knapp vid tv device [device_id:399f935166a8dc9987ba52ae975e5b2c] sends a double press action OR When allrum knapp vid tv device [device_id:399f935166a8dc9987ba52ae975e5b2c] sends a hold press action. CONDITIONS: None (conditions are evaluated within the choose action). ACTIONS: Choose one action sequence based on trigger and state: IF trigger is double_press AND input boolean film [input_boolean.film] is off THEN turn on input boolean film [input_boolean.film]. ELSE IF trigger is single_press THEN toggle play/pause on allrum media player [media_player.allrum] (play if paused, pause if playing). ELSE IF trigger is hold_press THEN toggle input boolean film spelar [input_boolean.film_spelar].",
"natural_language": {
"trigger": "When the button device near the TV in the living room (allrum knapp vid tv device) is pressed in one of three ways: a single press, a double press, or a long hold.",
"conditions": "There are no global conditions. The specific actions taken depend on which button press is detected and, for the double press, the current state of the 'film' mode.",
"action": "If the button is double-pressed and the 'film' mode is off, it turns the 'film' mode on. If the button is single-pressed, it toggles the play/pause state of the living room media player. If the button is held down, it toggles the 'film spelar' (film playing) state."
},
"human_like": "A TV remote button controls the living room media player and toggles different movie-related modes with single, double, and long presses.",
"complexity": "medium"
}
},
{
"id": "Allrum belysning tak",
"result": {
"structured": "TRIGGER: When binary sensor allrum presence light automation control [binary_sensor.allrum_presence_light_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Turn on allrum tak 1 [light.allrum_tak_1] and allrum tak 2 [light.allrum_tak_2] if binary sensor allrum presence light automation control [binary_sensor.allrum_presence_light_automation_control] is 'on', otherwise turn them off.",
"natural_language": {
"trigger": "When the state of the binary sensor allrum presence light automation control [binary_sensor.allrum_presence_light_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "If the binary sensor allrum presence light automation control [binary_sensor.allrum_presence_light_automation_control] is 'on', the automation turns on the ceiling lights allrum tak 1 [light.allrum_tak_1] and allrum tak 2 [light.allrum_tak_2]. If the sensor is 'off', it turns those same lights off."
},
"human_like": "Automatically turns the living room ceiling lights on or off based on the state of a presence automation control sensor, and also runs when the system starts.",
"complexity": "low"
}
},
{
"id": "Allrum belysning hall",
"result": {
"structured": "TRIGGER: When binary sensor allrum belysning hall automation control [binary_sensor.allrum_belysning_hall_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Turn allrum tak 3 [light.allrum_tak_3] on if binary sensor allrum belysning hall automation control [binary_sensor.allrum_belysning_hall_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs when the binary sensor allrum belysning hall automation control [binary_sensor.allrum_belysning_hall_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions for this automation.",
"action": "It controls the light allrum tak 3 [light.allrum_tak_3], turning it on if the control sensor is 'on', and turning it off if the control sensor is 'off'."
},
"human_like": "This automation turns the main hall light on or off based on the state of a control switch, and also runs when the system starts.",
"complexity": "low"
}
},
{
"id": "Allrum belysning läslampa",
"result": {
"structured": "TRIGGER: When binary sensor allrum belysning läslampa automation control [binary_sensor.allrum_belysning_laslampa_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn allrum läslampa [light.allrum_laslampa] on if binary sensor allrum belysning läslampa automation control [binary_sensor.allrum_belysning_laslampa_automation_control] is on, otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs either when the binary sensor allrum belysning läslampa automation control [binary_sensor.allrum_belysning_laslampa_automation_control] changes its state, or when the Home Assistant system starts up.",
"conditions": "There are no conditions for this automation.",
"action": "It controls the allrum läslampa [light.allrum_laslampa] by turning it on if the control sensor is on, or turning it off if the control sensor is off."
},
"human_like": "Turns the living room reading lamp on or off based on the state of its dedicated automation control switch, and also syncs the lamp's state when Home Assistant restarts.",
"complexity": "low"
}
},
{
"id": "badrum_belysning",
"result": {
"structured": "TRIGGER: When binary sensor badrum presence light automation control [binary_sensor.badrum_presence_light_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn badrum light [light.badrum] on if binary sensor badrum presence light automation control [binary_sensor.badrum_presence_light_automation_control] is on, otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs either when the binary sensor badrum presence light automation control [binary_sensor.badrum_presence_light_automation_control] changes its state, or when the Home Assistant system starts up.",
"conditions": "There are no conditions that must be met for the action to execute.",
"action": "It turns the badrum light [light.badrum] on if the binary sensor badrum presence light automation control [binary_sensor.badrum_presence_light_automation_control] is in the 'on' state, and turns it off if the sensor is in the 'off' state."
},
"human_like": "Controls the bathroom light based on a presence automation control sensor, ensuring the light state is correct at startup and when the sensor changes.",
"complexity": "low"
}
},
{
"id": "barnrum_belysning",
"result": {
"structured": "TRIGGER: When binary sensor barnrum belysning automation control [binary_sensor.barnrum_belysning_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn barnrum skank light [light.barnrum_skank] on if binary sensor barnrum belysning automation control [binary_sensor.barnrum_belysning_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs when the state of the binary sensor barnrum belysning automation control [binary_sensor.barnrum_belysning_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to execute.",
"action": "It controls the barnrum skank light [light.barnrum_skank], turning it on if the automation control sensor is 'on', and turning it off if the sensor is 'off'."
},
"human_like": "This automation syncs the barnrum skank light with a control switch, turning the light on or off based on the switch's state.",
"complexity": "low"
}
},
{
"id": "barnrum_belysning_fonster",
"result": {
"structured": "TRIGGER: When binary sensor barnrum belysning fönster automation control [binary_sensor.barnrum_belysning_fonster_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn barnrum fönster 1 [light.barnrum_fonster_1] and barnrum fönster 2 [light.barnrum_fonster_2] on if binary sensor barnrum belysning fönster automation control [binary_sensor.barnrum_belysning_fonster_automation_control] is on, otherwise turn them off.",
"natural_language": {
"trigger": "This automation runs either when the binary sensor barnrum belysning fönster automation control [binary_sensor.barnrum_belysning_fonster_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "The automation will turn on both the barnrum fönster 1 [light.barnrum_fonster_1] and barnrum fönster 2 [light.barnrum_fonster_2] lights if the control sensor is on, or turn them off if the control sensor is off."
},
"human_like": "Controls the window lights in the children's room based on a master switch, ensuring they are in the correct state when the system starts or when the switch is toggled.",
"complexity": "low"
}
},
{
"id": "barnrum_varme",
"result": {
"structured": "TRIGGER: Every 30 minutes (time pattern on minutes divisible by 30). CONDITIONS: None. ACTIONS: Set the HVAC mode for climate barnrum varmegolv [climate.barnrum_varmegolv] to 'off' if binary sensor varmegolv block [binary_sensor.varmegolv_block] is 'on', otherwise set it to 'heat'.",
"natural_language": {
"trigger": "The automation runs every 30 minutes, at times when the minutes of the hour are 0 or 30.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "It sets the heating mode for the barnrum floor heating [climate.barnrum_varmegolv]. If the floor heating block sensor [binary_sensor.varmegolv_block] is on, it turns the heating off. If the block sensor is off, it sets the heating mode to heat."
},
"human_like": "Automatically controls the children's room floor heating every half hour, turning it off if a block is active, otherwise setting it to heat.",
"complexity": "low"
}
},
{
"id": "barnrum_brandvarnare",
"result": {
"structured": "TRIGGER: When binary sensor barnrum brandvarnare smoke [binary_sensor.barnrum_brandvarnare_smoke] changes to 'on' AND remains for 5 seconds OR When binary sensor barnrum brandvarnare smoke [binary_sensor.barnrum_brandvarnare_smoke] changes to 'off'. CONDITIONS: None. ACTIONS: Turn siren allrum brandvarnare alarm [siren.allrum_brandvarnare_alarm], siren allrum hall brandvarnare alarm [siren.allrum_hall_brandvarnare_alarm], siren snickarboa brandvarnare alarm [siren.snickarboa_brandvarnare_alarm], and siren tvättstuga brandvarnare alarm [siren.tvattstuga_brandvarnare_alarm] to the state that triggered the automation ('on' or 'off').",
"natural_language": {
"trigger": "When the smoke detector in the children's room [binary_sensor.barnrum_brandvarnare_smoke] detects smoke and remains in that state for at least 5 seconds, or when it stops detecting smoke and turns off.",
"conditions": "There are no additional conditions for this automation.",
"action": "Activates or deactivates the fire alarm sirens in the living room [siren.allrum_brandvarnare_alarm], the living room hall [siren.allrum_hall_brandvarnare_alarm], the workshop [siren.snickarboa_brandvarnare_alarm], and the laundry room [siren.tvattstuga_brandvarnare_alarm] to match the state of the smoke detector (on for smoke, off for clear)."
},
"human_like": "Turns on the fire alarm sirens throughout the house when smoke is detected in the children's room, and turns them off when the smoke clears.",
"complexity": "low"
}
},
{
"id": "allrum_brandvarnare",
"result": {
"structured": "TRIGGER: When binary sensor allrum brandvarnare smoke [binary_sensor.allrum_brandvarnare_smoke] turns on (smoke detected) AND remains on for 5 seconds OR When binary sensor allrum brandvarnare smoke [binary_sensor.allrum_brandvarnare_smoke] turns off (smoke cleared). CONDITIONS: None. ACTIONS: Turn siren allrum hall brandvarnare alarm [siren.allrum_hall_brandvarnare_alarm], siren snickarboa brandvarnare alarm [siren.snickarboa_brandvarnare_alarm], and siren tvättstuga brandvarnare alarm [siren.tvattstuga_brandvarnare_alarm] to the same state as the trigger (on or off).",
"natural_language": {
"trigger": "When the smoke sensor in the allrum [binary_sensor.allrum_brandvarnare_smoke] detects smoke and remains in that state for at least 5 seconds, or when the smoke sensor clears (turns off).",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "Activates or deactivates the fire alarm sirens in the allrum hall [siren.allrum_hall_brandvarnare_alarm], snickarboa [siren.snickarboa_brandvarnare_alarm], and tvättstuga [siren.tvattstuga_brandvarnare_alarm] to match the state of the smoke sensor."
},
"human_like": "Activates the fire alarm sirens when smoke is detected in the allrum, and silences them when the smoke clears.",
"complexity": "low"
}
},
{
"id": "allrum_hall_brandvarnare",
"result": {
"structured": "TRIGGER: When binary sensor allrum hall brandvarnare smoke [binary_sensor.allrum_hall_brandvarnare_smoke] remains in state 'on' for 5 seconds OR When binary sensor allrum hall brandvarnare smoke [binary_sensor.allrum_hall_brandvarnare_smoke] changes to state 'off'. CONDITIONS: None. ACTIONS: Turn siren allrum brandvarnare alarm [siren.allrum_brandvarnare_alarm], siren snickarboa brandvarnare alarm [siren.snickarboa_brandvarnare_alarm], and siren tvättstuga brandvarnare alarm [siren.tvattstuga_brandvarnare_alarm] to the state that triggered the automation (on or off).",
"natural_language": {
"trigger": "When the smoke sensor in the allrum hall, binary sensor allrum hall brandvarnare smoke [binary_sensor.allrum_hall_brandvarnare_smoke], detects smoke and remains in the 'on' state for at least 5 seconds, or when it stops detecting smoke and changes to the 'off' state.",
"conditions": "There are no conditions for this automation.",
"action": "Sets the alarm sirens in the allrum, snickarboa, and tvättstuga rooms to match the state of the smoke sensor. If smoke is detected, the sirens turn on. If smoke is no longer detected, the sirens turn off."
},
"human_like": "Turns the smoke alarm sirens on or off based on the smoke detection in the allrum hall.",
"complexity": "low"
}
},
{
"id": "snickarboa_brandvarnare",
"result": {
"structured": "TRIGGER: When binary sensor snickarboa brandvarnare smoke [binary_sensor.snickarboa_brandvarnare_smoke] turns on and remains on for 5 seconds OR when binary sensor snickarboa brandvarnare smoke [binary_sensor.snickarboa_brandvarnare_smoke] turns off. CONDITIONS: None. ACTIONS: Turn siren allrum brandvarnare alarm [siren.allrum_brandvarnare_alarm], siren allrum hall brandvarnare alarm [siren.allrum_hall_brandvarnare_alarm], and siren tvättstuga brandvarnare alarm [siren.tvattstuga_brandvarnare_alarm] to the same state as the trigger (on or off).",
"natural_language": {
"trigger": "When the smoke detector in the Snickarboa room [binary_sensor.snickarboa_brandvarnare_smoke] detects smoke and stays in the 'on' state for at least 5 seconds, or when it stops detecting smoke and changes to the 'off' state.",
"conditions": "There are no additional conditions for this automation.",
"action": "Sets the alarm sirens in the Allrum room [siren.allrum_brandvarnare_alarm, siren.allrum_hall_brandvarnare_alarm] and the Tvättstuga room [siren.tvattstuga_brandvarnare_alarm] to match the state of the smoke detector, turning them on for smoke or off when smoke clears."
},
"human_like": "Activates or deactivates the house alarm sirens based on the smoke detector status in the Snickarboa room.",
"complexity": "low"
}
},
{
"id": "tvattstuga_brandvarnare",
"result": {
"structured": "TRIGGER: When binary sensor tvättstuga brandvarnare smoke [binary_sensor.tvattstuga_brandvarnare_smoke] remains on for 5 seconds OR When binary sensor tvättstuga brandvarnare smoke [binary_sensor.tvattstuga_brandvarnare_smoke] changes to off. ACTIONS: Turn siren allrum brandvarnare alarm [siren.allrum_brandvarnare_alarm], siren allrum hall brandvarnare alarm [siren.allrum_hall_brandvarnare_alarm], and siren snickarboa brandvarnare alarm [siren.snickarboa_brandvarnare_alarm] to the same state as the trigger (on or off).",
"natural_language": {
"trigger": "When the smoke detector in the laundry room [binary_sensor.tvattstuga_brandvarnare_smoke] detects smoke and stays in the 'on' state for at least five seconds, or when it stops detecting smoke and changes to the 'off' state.",
"conditions": "There are no additional conditions for this automation.",
"action": "Sets the alarm sirens in the living room [siren.allrum_brandvarnare_alarm], the living room hall [siren.allrum_hall_brandvarnare_alarm], and the workshop [siren.snickarboa_brandvarnare_alarm] to match the state of the smoke detector, turning them on for smoke or off when smoke clears."
},
"human_like": "Activates or deactivates multiple fire alarm sirens based on the smoke detector status in the laundry room.",
"complexity": "low"
}
},
{
"id": "candle",
"result": {
"structured": "TRIGGER: When input boolean candle [input_boolean.candle] changes state. CONDITIONS: None. ACTIONS: CHOOSE: IF input boolean candle [input_boolean.candle] is on THEN: Turn off switch adaptive lighting kök [switch.adaptive_lighting_kok], switch adaptive lighting kök fönster [switch.adaptive_lighting_kok_fonster], switch adaptive lighting hall [switch.adaptive_lighting_hall], switch adaptive lighting badrum [switch.adaptive_lighting_badrum], switch adaptive lighting vardagsrum belysning filament [switch.adaptive_lighting_vardagsrum_belysning_filament]. Wait 5 seconds. Turn on kok fönsterbelysning [light.kok_fonsterbelysning], vardagsrum fonster hangande [light.vardagsrum_fonster_hangande], vardagsrum fonster fotogen [light.vardagsrum_fonster_fotogen], vardagsrum fonster piano [light.vardagsrum_fonster_piano], vardagsrum fonster trappa [light.vardagsrum_fonster_trappa] at 2% brightness. Turn on kok koksbord light [light.kok_koksbord], kok tak light [light.kok_tak], kok kokso light [light.kok_kokso], hall light [light.hall], badrum light [light.badrum], vardagsrum tak light [light.vardagsrum_tak], vardagsrum bord light [light.vardagsrum_bord], hall byrå light [light.hall_byra] using the 'candle' profile. Turn off kok bänkbelysning [light.kok_bankbelysning]. ELSE IF input boolean candle [input_boolean.candle] is off THEN: Trigger automation vardagsrum belysning [automation.vardagsrum_belysning], automation kök belysning litet fönster [automation.kok_belysning_litet_fonster], automation kök belysning stora fönster [automation.kok_belysning_stora_fonster]. Turn on switch adaptive lighting kök [switch.adaptive_lighting_kok], switch adaptive lighting kök fönster [switch.adaptive_lighting_kok_fonster], switch adaptive lighting hall [switch.adaptive_lighting_hall], switch adaptive lighting badrum [switch.adaptive_lighting_badrum], switch adaptive lighting vardagsrum belysning filament [switch.adaptive_lighting_vardagsrum_belysning_filament].",
"natural_language": {
"trigger": "Whenever the state of the input boolean candle [input_boolean.candle] changes.",
"conditions": "There are no conditions for this automation.",
"action": "The automation performs one of two sequences based on the new state of the input boolean. If it is turned on, it first turns off several adaptive lighting switches, waits five seconds, then turns on a set of window lights at a very low brightness, turns on a set of main lights using a 'candle' profile, and turns off the kitchen counter lighting. If the input boolean is turned off, it triggers three other lighting automations and turns the adaptive lighting switches back on."
},
"human_like": "Toggles between a cozy 'candle mode' lighting scene and normal adaptive lighting when the candle switch is flipped.",
"complexity": "medium"
}
},
{
"id": "badrum_candle",
"result": {
"structured": "TRIGGER: When input boolean badrum candle [input_boolean.badrum_candle] changes state. CONDITIONS: None. ACTIONS: If input boolean badrum candle [input_boolean.badrum_candle] is on, then turn off switch adaptive lighting badrum [switch.adaptive_lighting_badrum], wait 5 seconds, and turn on badrum light [light.badrum] with the 'candle' profile. If input boolean badrum candle [input_boolean.badrum_candle] is off, then turn on switch adaptive lighting badrum [switch.adaptive_lighting_badrum].",
"natural_language": {
"trigger": "Whenever the state of the input boolean badrum candle [input_boolean.badrum_candle] changes.",
"conditions": "There are no additional conditions; the action depends solely on the new state of the input boolean.",
"action": "If the input boolean is turned on, it first disables the adaptive lighting for the room by turning off switch adaptive lighting badrum [switch.adaptive_lighting_badrum], waits for five seconds, and then turns on the badrum light [light.badrum] using a 'candle' lighting profile. If the input boolean is turned off, it simply re-enables the adaptive lighting by turning on switch adaptive lighting badrum [switch.adaptive_lighting_badrum]."
},
"human_like": "Toggles the bathroom light between a cozy candle-like setting and the normal adaptive lighting based on a manual switch.",
"complexity": "medium"
}
},
{
"id": "Ljusstakar",
"result": {
"structured": "TRIGGER: When binary sensor ljusstakar belysning automation control [binary_sensor.ljusstakar_belysning_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor ljusstakar belysning automation control [binary_sensor.ljusstakar_belysning_automation_control] is on, turn on ac 0000002 4 [light.ac_0000002_4], ac0000001 4 [light.ac0000001_4], ac 0000002 3 [light.ac_0000002_3], ac 0ccc4aa 6 [light.ac_0ccc4aa_6], ac 000000a 1 [light.ac_000000a_1], and ac 0000001 3 [light.ac_0000001_3]. If binary sensor ljusstakar belysning automation control [binary_sensor.ljusstakar_belysning_automation_control] is off, turn off the same set of lights.",
"natural_language": {
"trigger": "The automation triggers either when the binary sensor ljusstakar belysning automation control [binary_sensor.ljusstakar_belysning_automation_control] changes its state, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Depending on the state of the control sensor, the automation will turn a group of lights on or off. If the sensor is on, it turns on the lights ac 0000002 4 [light.ac_0000002_4], ac0000001 4 [light.ac0000001_4], ac 0000002 3 [light.ac_0000002_3], ac 0ccc4aa 6 [light.ac_0ccc4aa_6], ac 000000a 1 [light.ac_000000a_1], and ac 0000001 3 [light.ac_0000001_3]. If the sensor is off, it turns off all those same lights."
},
"human_like": "This automation controls a group of lights based on a single switch, turning them all on or off together, and also ensures the lights are set correctly when Home Assistant restarts.",
"complexity": "medium"
}
},
{
"id": "Gästrum Ljusstakar",
"result": {
"structured": "TRIGGER: When binary sensor gastrum ljusstakar belysning automation control [binary_sensor.gastrum_ljusstakar_belysning_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor gastrum ljusstakar belysning automation control [binary_sensor.gastrum_ljusstakar_belysning_automation_control] is on, turn on gastrum ljusstake [light.gastrum_ljusstake]. If binary sensor gastrum ljusstakar belysning automation control [binary_sensor.gastrum_ljusstakar_belysning_automation_control] is off, turn off gastrum ljusstake [light.gastrum_ljusstakar_belysning_automation_control].",
"natural_language": {
"trigger": "The automation runs when the binary sensor gastrum ljusstakar belysning automation control [binary_sensor.gastrum_ljusstakar_belysning_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to execute.",
"action": "Depending on the state of the control sensor, it either turns the gastrum ljusstake [light.gastrum_ljusstake] on or off. If the sensor is on, the light turns on. If the sensor is off, the light turns off."
},
"human_like": "This automation syncs the guest room candle light with a control switch, ensuring it's on or off based on the sensor's state, including when the system starts.",
"complexity": "low"
}
},
{
"id": "diskmaskin_klar",
"result": {
"structured": "TRIGGER: When binary sensor diskmaskin [binary_sensor.diskmaskin] changes from on to off. CONDITIONS: None. ACTIONS: Create a persistent notification with title 'Diskmaskinen är klar' and message 'Diskmaskin' AND Send a notification to mobile_app_mikael_iphone with title 'Diskmaskinen är klar' and message 'Diskmaskin klar' AND Send a notification to mobile_app_lina_iphone with title 'Diskmaskinen är klar' and message 'Diskmaskin klar'.",
"natural_language": {
"trigger": "When the binary sensor diskmaskin [binary_sensor.diskmaskin] changes from being on to being off.",
"conditions": "There are no conditions for this automation.",
"action": "It creates a persistent notification on the Home Assistant interface with the title 'Diskmaskinen är klar' and the message 'Diskmaskin'. It also sends a push notification to the mobile device 'mobile_app_mikael_iphone' and to the mobile device 'mobile_app_lina_iphone', both with the title 'Diskmaskinen är klar' and the message 'Diskmaskin klar'."
},
"human_like": "Sends notifications when the dishwasher has finished its cycle.",
"complexity": "low"
}
},
{
"id": "Heatpump blockera",
"result": {
"structured": "TRIGGER: When the time pattern matches minutes:2 OR When the time pattern matches minutes:32. CONDITIONS: None. ACTIONS: If binary sensor heatpump block [binary_sensor.heatpump_block] is on, turn on switch heatpump [switch.heatpump]; if binary sensor heatpump block [binary_sensor.heatpump_block] is off, turn off switch heatpump [switch.heatpump].",
"natural_language": {
"trigger": "The automation runs at two specific minutes past the hour: at 2 minutes and at 32 minutes.",
"conditions": "There are no conditions that must be met.",
"action": "It checks the state of the binary sensor heatpump block [binary_sensor.heatpump_block]. If the sensor is on, it turns on the switch heatpump [switch.heatpump]. If the sensor is off, it turns off the switch heatpump [switch.heatpump]."
},
"human_like": "Synchronizes the heat pump's power state with a blocking sensor twice every hour.",
"complexity": "medium"
}
},
{
"id": "Heatpump energikalla",
"result": {
"structured": "TRIGGER: When binary sensor power from grid [binary_sensor.power_from_grid] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Choose based on the state of binary sensor power from grid [binary_sensor.power_from_grid]. IF binary sensor power from grid [binary_sensor.power_from_grid] is on, THEN set the option to 'grid' for the following select entities: select heatpump timme from [select.heatpump_timme_from], select heatpump dag from [select.heatpump_dag_from], select heatpump månad from [select.heatpump_manad_from], select heatpump år from [select.heatpump_ar_from], select heatpump hotwater timme from [select.heatpump_hotwater_timme_from], select heatpump hotwater dag from [select.heatpump_hotwater_dag_from], select heatpump hotwater månad from [select.heatpump_hotwater_manad_from], select heatpump hotwater år from [select.heatpump_hotwater_ar_from], select heatpump heat timme from [select.heatpump_heat_timme_from], select heatpump heat dag from [select.heatpump_heat_dag_from], select heatpump heat månad from [select.heatpump_heat_manad_from], select heatpump heat år from [select.heatpump_heat_ar_from]. IF binary sensor power from grid [binary_sensor.power_from_grid] is off, THEN set the option to 'solar' for the same list of select entities.",
"natural_language": {
"trigger": "The automation triggers whenever the binary sensor power from grid [binary_sensor.power_from_grid] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no additional conditions that must be met for the automation to run.",
"action": "Depending on the current state of the binary sensor power from grid [binary_sensor.power_from_grid], the automation will update a series of select entities. If the sensor indicates power is coming from the grid (state is 'on'), it sets all the listed heat pump energy source selectors to 'grid'. If the sensor indicates power is not coming from the grid (state is 'off'), it sets all the same selectors to 'solar'."
},
"human_like": "Updates the heat pump's recorded energy source to either 'grid' or 'solar' based on whether the home is currently drawing power from the electrical grid.",
"complexity": "medium"
}
},
{
"id": "EMHASS publicera data",
"result": {
"structured": "TRIGGER: When Home Assistant starts OR every minute (at minutes matching pattern '/1'). CONDITIONS: None. ACTIONS: Execute shell command publish data def2 [shell_command.publish_data_def2].",
"natural_language": {
"trigger": "When Home Assistant first starts up, or every minute.",
"conditions": "There are no conditions for this automation.",
"action": "Runs the shell command named publish data def2 [shell_command.publish_data_def2]."
},
"human_like": "Publishes data via a shell command when Home Assistant starts and then continues to do so every minute.",
"complexity": "low"
}
},
{
"id": "EMHASS_forecast_mpc",
"result": {
"structured": "TRIGGER: When the time pattern matches every minute. ACTIONS: Wait for 30 seconds, then execute shell command trigger nordpool solcast mpc [shell_command.trigger_nordpool_solcast_mpc].",
"natural_language": {
"trigger": "The automation is triggered every minute.",
"conditions": "There are no conditions for this automation.",
"action": "After waiting for 30 seconds, it runs the shell command 'trigger_nordpool_solcast_mpc' [shell_command.trigger_nordpool_solcast_mpc]."
},
"human_like": "Runs a forecast update command every minute, with a short delay.",
"complexity": "low"
}
},
{
"id": "EMHASS_forecast_mpc_bil",
"result": {
"structured": "TRIGGER: When the time pattern matches every minute. ACTIONS: Wait for 30 seconds, then execute shell command trigger nordpool solcast mpc bil [shell_command.trigger_nordpool_solcast_mpc_bil].",
"natural_language": {
"trigger": "The automation triggers every minute.",
"conditions": "There are no conditions for this automation.",
"action": "After a 30-second delay, it runs the shell command named 'shell command trigger nordpool solcast mpc bil' [shell_command.trigger_nordpool_solcast_mpc_bil]."
},
"human_like": "Runs a specific energy forecast command every minute, with a short delay.",
"complexity": "low"
}
},
{
"id": "EMHASS_machine_learn",
"result": {
"structured": "TRIGGER: At 12:00:10 daily. CONDITIONS: None. ACTIONS: Execute shell command emhass machine learn [shell_command.emhass_machine_learn], then wait 1 second, then execute shell command emhass machine tune [shell_command.emhass_machine_tune].",
"natural_language": {
"trigger": "Every day at 12:00:10 (12:00 PM and 10 seconds).",
"conditions": "There are no conditions that must be met.",
"action": "First, it runs the shell command 'emhass machine learn' [shell_command.emhass_machine_learn]. After a one-second delay, it runs the shell command 'emhass machine tune' [shell_command.emhass_machine_tune]."
},
"human_like": "Runs a daily machine learning and tuning process for EMHASS at noon.",
"complexity": "low"
}
},
{
"id": "solcast_update",
"result": {
"structured": "TRIGGER: When the time matches the pattern: every 3 hours at minute 14. CONDITIONS: None. ACTIONS: Call service solcast_solar.update_forecasts.",
"natural_language": {
"trigger": "The automation runs at 14 minutes past the hour, every three hours (e.g., 00:14, 03:14, 06:14).",
"conditions": "There are no conditions that must be met.",
"action": "It updates solar forecasts by calling the 'solcast_solar.update_forecasts' service."
},
"human_like": "Updates solar energy forecasts every three hours.",
"complexity": "low"
}
},
{
"id": "Gästrum belysning",
"result": {
"structured": "TRIGGER: When binary sensor gastrum belysning automation control [binary_sensor.gastrum_belysning_automation_control] changes state OR When input boolean sovdags gastrum [input_boolean.sovdags_gastrum] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn gastrum fönster 2 [light.gastrum_fonster_2] and gastrum byrå light [light.gastrum_byra] on if binary sensor gastrum belysning automation control [binary_sensor.gastrum_belysning_automation_control] is on, otherwise turn them off. Wait 5 seconds. Turn switch adaptive lighting gastrum [switch.adaptive_lighting_gastrum] off if input boolean sovdags gastrum [input_boolean.sovdags_gastrum] is on, otherwise turn it on. If input boolean sovdags gastrum [input_boolean.sovdags_gastrum] is off, turn off linas skrivbord light [light.linas_skrivbord].",
"natural_language": {
"trigger": "The automation runs when the binary sensor gastrum belysning automation control [binary_sensor.gastrum_belysning_automation_control] changes state, when the input boolean sovdags gastrum [input_boolean.sovdags_gastrum] changes state, or when Home Assistant starts up.",
"conditions": "There are no conditions that must be met for the actions to proceed.",
"action": "First, it sets the guest room lights (gastrum fönster 2 [light.gastrum_fonster_2] and gastrum byrå light [light.gastrum_byra]) to match the state of the automation control sensor: they are turned on if the control is on, and off if it is off. After a 5-second delay, it toggles the adaptive lighting switch (switch adaptive lighting gastrum [switch.adaptive_lighting_gastrum]) based on the sleep mode: the switch is turned off if sleep mode is on, and on if sleep mode is off. Finally, if the sleep mode (input boolean sovdags gastrum [input_boolean.sovdags_gastrum]) is off, it also turns off the desk light in Lina's room (linas skrivbord light [light.linas_skrivbord])."
},
"human_like": "Controls the guest room lights and adaptive lighting based on an automation switch and a sleep mode toggle, also turning off a desk light when sleep mode is off.",
"complexity": "medium"
}
},
{
"id": "gastrum_belysning_filament",
"result": {
"structured": "TRIGGER: When binary sensor gastrum belysning filament automation control [binary_sensor.gastrum_belysning_filament_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn gastrum hylla light [light.gastrum_hylla] on if binary sensor gastrum belysning filament automation control [binary_sensor.gastrum_belysning_filament_automation_control] is on, otherwise turn it off.",
"natural_language": {
"trigger": "When the state of the binary sensor gastrum belysning filament automation control [binary_sensor.gastrum_belysning_filament_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no additional conditions that must be met.",
"action": "The automation will turn the gastrum hylla light [light.gastrum_hylla] on or off. It checks the current state of the control sensor; if the sensor is 'on', the light is turned on, and if the sensor is 'off', the light is turned off."
},
"human_like": "Controls the guest room shelf light based on the state of an automation control switch, ensuring the light is correctly set when Home Assistant starts or when the switch changes.",
"complexity": "low"
}
},
{
"id": "Gästrum knapp vid säng",
"result": {
"structured": "TRIGGER: When a deCONZ event occurs with id 'sovrum_knapp' and event '1002'. CONDITIONS: None. ACTIONS: Toggle input boolean sovdags gastrum [input_boolean.sovdags_gastrum].",
"natural_language": {
"trigger": "When a specific deCONZ event is received from the device with ID 'sovrum_knapp' and the event code is '1002'.",
"conditions": "There are no conditions that must be met.",
"action": "Toggles the state of the input boolean sovdags gastrum [input_boolean.sovdags_gastrum]."
},
"human_like": "Toggles the guest room sleep mode switch when a specific button in the bedroom is pressed.",
"complexity": "low"
}
},
{
"id": "gastrum_varme",
"result": {
"structured": "TRIGGER: When binary sensor varmegolv block [binary_sensor.varmegolv_block] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Set climate gastrum varmegolv [climate.gastrum_varmegolv] HVAC mode to off if binary sensor varmegolv block [binary_sensor.varmegolv_block] is on, otherwise set to heat.",
"natural_language": {
"trigger": "The automation triggers either when the binary sensor varmegolv block [binary_sensor.varmegolv_block] changes its state, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Sets the heating mode for the climate gastrum varmegolv [climate.gastrum_varmegolv]. If the binary sensor varmegolv block [binary_sensor.varmegolv_block] is on, the HVAC mode is set to off. If the sensor is not on, the HVAC mode is set to heat."
},
"human_like": "Controls the guest room floor heating based on a block sensor, turning it off when blocked and to heat mode otherwise, also ensuring the correct mode is set on system startup.",
"complexity": "medium"
}
},
{
"id": "Hall takbelysning",
"result": {
"structured": "TRIGGER: When binary sensor hall presence light automation control [binary_sensor.hall_presence_light_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Turn hall light [light.hall] on if binary sensor hall presence light automation control [binary_sensor.hall_presence_light_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "The automation triggers whenever the binary sensor hall presence light automation control [binary_sensor.hall_presence_light_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "The automation will turn the hall light [light.hall] on if the binary sensor hall presence light automation control [binary_sensor.hall_presence_light_automation_control] is in the 'on' state at the time of the trigger. If the sensor is in the 'off' state, it will turn the light off."
},
"human_like": "This automation controls the hall light based on a sensor, turning the light on or off to match the sensor's state, and also runs when the system starts.",
"complexity": "low"
}
},
{
"id": "carport_snapshot",
"result": {
"structured": "TRIGGER: When binary sensor carport vehicle [binary_sensor.carport_vehicle] changes to on OR when binary sensor carport person [binary_sensor.carport_person] changes to on. CONDITIONS: None. ACTIONS: Take a snapshot from camera carport main [camera.carport_main] and save the image to a file path: /media/disk_f/snapshots/{trigger entity name}/{current date}/{current date and time}.jpg.",
"natural_language": {
"trigger": "When the binary sensor carport vehicle [binary_sensor.carport_vehicle] detects a vehicle, or when the binary sensor carport person [binary_sensor.carport_person] detects a person.",
"conditions": "There are no additional conditions that must be met.",
"action": "Takes a snapshot from the camera carport main [camera.carport_main] and saves the image to a specific folder structure. The file is named using the current date and time and is placed in a subfolder named after the entity that triggered the snapshot."
},
"human_like": "Takes a snapshot from the carport camera whenever a vehicle or person is detected, saving the image with a timestamp.",
"complexity": "low"
}
},
{
"id": "entre_snapshot",
"result": {
"structured": "TRIGGER: When binary sensor entre reolink person [binary_sensor.entre_reolink_person] changes to 'on'. CONDITIONS: None. ACTIONS: Take a snapshot from camera entre reolink clear [camera.entre_reolink_clear] and save it to the file path /media/disk_f/snapshots/{{ trigger.to_state.name }}/{{ now().strftime('%Y-%m-%d') }}/{{ now().strftime('%Y-%m-%d_%H:%M') }}.jpg.",
"natural_language": {
"trigger": "When the binary sensor entre reolink person [binary_sensor.entre_reolink_person] detects a person (changes to 'on').",
"conditions": "There are no additional conditions.",
"action": "Takes a snapshot from the camera entre reolink clear [camera.entre_reolink_clear] and saves the image to a file. The file path is constructed using the sensor's name, the current date, and the current time."
},
"human_like": "Takes a snapshot from the entry camera when a person is detected.",
"complexity": "low"
}
},
{
"id": "carport_inspelning",
"result": {
"structured": "TRIGGER: When binary sensor carport vehicle [binary_sensor.carport_vehicle] changes to on OR when binary sensor carport person [binary_sensor.carport_person] changes to on. CONDITIONS: None. ACTIONS: Start a 180-second recording on camera carport main [camera.carport_main], saving the file to a path based on the triggering entity's name and the current date/time. Then, wait for 180 seconds.",
"natural_language": {
"trigger": "When the binary sensor carport vehicle [binary_sensor.carport_vehicle] detects a vehicle, or when the binary sensor carport person [binary_sensor.carport_person] detects a person.",
"conditions": "There are no additional conditions that must be met.",
"action": "The camera carport main [camera.carport_main] will start recording a video for 180 seconds. The recording is saved in a folder named after the entity that triggered the automation, with a filename based on the current date and time. After starting the recording, the automation waits for 180 seconds before completing."
},
"human_like": "Starts a 3-minute video recording from the carport camera whenever a vehicle or a person is detected.",
"complexity": "low"
}
},
{
"id": "kattkamera_inspelning",
"result": {
"structured": "TRIGGER: When binary sensor tvättstuga djur [binary_sensor.tvattstuga_djur] turns on. CONDITIONS: None. ACTIONS: Start recording on camera tvättstuga hög klarhet [camera.tvattstuga_hog_klarhet] for 60 seconds, saving the file to a path based on the trigger entity's name and current date/time, then wait for 60 seconds.",
"natural_language": {
"trigger": "When the binary sensor tvättstuga djur [binary_sensor.tvattstuga_djur] detects an animal and changes its state to 'on'.",
"conditions": "There are no conditions that must be met for this automation to run.",
"action": "The automation starts a 60-second video recording using the camera tvättstuga hög klarhet [camera.tvattstuga_hog_klarhet]. The video file is saved with a filename that includes the name of the triggering sensor and the current date and time. After starting the recording, the automation waits for 60 seconds before finishing."
},
"human_like": "Records a one-minute video from the laundry room's high-clarity camera whenever an animal is detected.",
"complexity": "low"
}
},
{
"id": "carport_rorelse",
"result": {
"structured": "TRIGGER: When binary sensor carport motion [binary_sensor.carport_motion] changes to on. CONDITIONS: None. ACTIONS: Take a snapshot from camera carport main [camera.carport_main] and save it to the file path /media/disk_f/snapshots/Carport_rörelse_{{ now().strftime(\"%Y-%m-%d_%H:%M\") }}.jpg AND send a notification to mobile_app_mikael_iphone with title 'Rörelse' and message 'Något rör sig', including an image from camera carport main [camera.carport_main].",
"natural_language": {
"trigger": "When motion is detected by the binary sensor carport motion [binary_sensor.carport_motion].",
"conditions": "There are no conditions for this automation.",
"action": "Takes a snapshot from the camera carport main [camera.carport_main] and saves it with a timestamped filename. It also sends a push notification to the mobile device 'mikael_iphone' with the title 'Rörelse' and the message 'Något rör sig', including the snapshot image."
},
"human_like": "When motion is detected in the carport, it takes a picture and sends a notification with the image to the user's phone.",
"complexity": "low"
}
},
{
"id": "carport_rorelse_person_notifiering",
"result": {
"structured": "TRIGGER: When binary sensor carport presence [binary_sensor.carport_presence] changes to on. CONDITIONS: None. ACTIONS: Take a snapshot from camera carport main [camera.carport_main] and save it to /media/notify.jpg, wait for 1 second, send a notification to mobile_app_mikael_iphone with title 'Rörelse person' and message 'Någon rör sig' including the image from /media/local/notify.jpg and a URL to /lovelace/cam, and send a notification to mobile_app_lina_iphone with title 'Rörelse person' and message 'Någon rör sig' including the image from /media/local/notify.jpg.",
"natural_language": {
"trigger": "When the binary sensor carport presence [binary_sensor.carport_presence] detects presence and changes its state to on.",
"conditions": "There are no additional conditions that must be met.",
"action": "The automation first takes a snapshot from the camera carport main [camera.carport_main] and saves it as a file. After a one-second delay, it sends a push notification to the mobile device 'mikael_iphone' and another to 'lina_iphone'. Both notifications have the title 'Rörelse person' and the message 'Någon rör sig' (Someone is moving), and they include the snapshot image taken from the carport camera."
},
"human_like": "Sends a push notification with a camera snapshot to two phones when motion is detected in the carport.",
"complexity": "low"
}
},
{
"id": "entre_rorelse_person_notifiering",
"result": {
"structured": "TRIGGER: When binary sensor entre presence person [binary_sensor.entre_presence_person] changes to on. CONDITIONS: None. ACTIONS: Take a snapshot from camera entre reolink clear [camera.entre_reolink_clear] and save it as /media/entre_notify.jpg, wait for 1 second, then send a notification to mobile_app_mikael_iphone and mobile_app_lina_iphone with title 'Rörelse person', message 'Någon rör sig vid entrén', and an image attachment from /media/local/entre_notify.jpg. The notification to mobile_app_mikael_iphone includes a URL /lovelace/cam.",
"natural_language": {
"trigger": "When the binary sensor entre presence person [binary_sensor.entre_presence_person] detects a person, changing its state to 'on'.",
"conditions": "There are no conditions that need to be met.",
"action": "The automation takes a snapshot from the camera entre reolink clear [camera.entre_reolink_clear] and saves it locally. After a brief one-second delay, it sends a push notification to two mobile devices (Mikael's iPhone and Lina's iPhone). The notification has the title 'Rörelse person' and the message 'Någon rör sig vid entrén', and it includes the saved snapshot as an image attachment. The notification sent to Mikael's iPhone also contains a link to the camera dashboard at /lovelace/cam."
},
"human_like": "Sends a notification with a camera snapshot to your phone when a person is detected at the entrance.",
"complexity": "low"
}
},
{
"id": "entre_rorelse_djur_notifiering",
"result": {
"structured": "TRIGGER: When binary sensor entre presence animal [binary_sensor.entre_presence_animal] changes to on. CONDITIONS: None. ACTIONS: Take a snapshot from camera entre reolink clear [camera.entre_reolink_clear] and save it as /media/entre_notify_animal.jpg, wait for 1 second, then send a notification to mobile_app_mikael_iphone and mobile_app_lina_iphone with title 'Rörelse djur', message 'Djur rör sig vid entrén', and an attachment linking to the saved image and a URL to /lovelace/cam.",
"natural_language": {
"trigger": "When the binary sensor entre presence animal [binary_sensor.entre_presence_animal] detects animal presence and changes its state to 'on'.",
"conditions": "There are no conditions that need to be met for this automation to proceed.",
"action": "First, a snapshot is taken from the camera entre reolink clear [camera.entre_reolink_clear] and saved to a file. After a brief one-second delay, a notification is sent to two mobile devices (mikael_iphone and lina_iphone). The notification has the title 'Rörelse djur' and the message 'Djur rör sig vid entrén', and it includes the saved image and a link to the camera dashboard."
},
"human_like": "Sends a notification with a camera snapshot to mobile phones when an animal is detected moving at the entrance.",
"complexity": "low"
}
},
{
"id": "carport_rorelse_bil_notifiering",
"result": {
"structured": "TRIGGER: When binary sensor carport vehicle [binary_sensor.carport_vehicle] changes to on. CONDITIONS: None. ACTIONS: 1. Take a snapshot from camera carport main [camera.carport_main] and save it as /media/notify_car.jpg. 2. Wait 1 second. 3. Send a notification to mobile_app_mikael_iphone with title 'Rörelse bil' and message 'Bil upptäckt', including the image /media/local/notify_car.jpg and a URL /lovelace/cam. 4. Wait 5 seconds. 5. Send a notification to mobile_app_lina_iphone with title 'Rörelse bil' and message 'Bil upptäckt', including the image /media/local/notify_car.jpg. 6. Wait 5 minutes.",
"natural_language": {
"trigger": "When the binary sensor carport vehicle [binary_sensor.carport_vehicle] detects a vehicle and changes its state to on.",
"conditions": "There are no conditions that must be met for the actions to run.",
"action": "The automation first takes a snapshot from the camera carport main [camera.carport_main] and saves it to a file. After a one-second delay, it sends a notification to Mikael's iPhone with a title, message, the saved image, and a link. Following a five-second delay, it sends a similar notification to Lina's iPhone, but without the link. Finally, it waits for five minutes before completing."
},
"human_like": "Sends a photo notification to mobile phones when a vehicle is detected in the carport.",
"complexity": "low"
}
},
{
"id": "kattkamera_rorelse_notifiering",
"result": {
"structured": "TRIGGER: When binary sensor tvättstuga djur [binary_sensor.tvattstuga_djur] changes to on. CONDITIONS: None. ACTIONS: Take a snapshot from camera tvättstuga hög klarhet [camera.tvattstuga_hog_klarhet] and save it to /media/kattkamera_notify.jpg, wait for 1 second, then send a notification to mobile_app_mikael_iphone and mobile_app_lina_iphone with title 'Katt?', message 'Rörelse i tvättstugan', and an image attachment from /media/local/kattkamera_notify.jpg with a URL to /lovelace/foder.",
"natural_language": {
"trigger": "When the binary sensor tvättstuga djur [binary_sensor.tvattstuga_djur] detects motion and changes its state to 'on'.",
"conditions": "There are no conditions that must be met for this automation to run.",
"action": "The automation first takes a snapshot from the camera tvättstuga hög klarhet [camera.tvattstuga_hog_klarhet] and saves it as a file. After a one-second delay, it sends a notification to two mobile devices (Mikael's and Lina's iPhones). The notification has the title 'Katt?' and the message 'Rörelse i tvättstugan', and it includes the saved snapshot as an image and a link to the dashboard page for cat food."
},
"human_like": "Sends a photo notification to the homeowners' phones when the pet camera in the laundry room detects motion, asking if it's the cat.",
"complexity": "low"
}
},
{
"id": "kok_bankbelysning",
"result": {
"structured": "TRIGGER: When binary sensor kok bänk presence light automation control [binary_sensor.kok_bank_presence_light_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn kok bänkbelysning [light.kok_bankbelysning] on if binary sensor kok bänk presence light automation control [binary_sensor.kok_bank_presence_light_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "This automation runs either when the binary sensor kok bänk presence light automation control [binary_sensor.kok_bank_presence_light_automation_control] changes its state, or when the Home Assistant system starts up.",
"conditions": "There are no additional conditions that must be met for the action to execute.",
"action": "The automation will turn the kok bänkbelysning [light.kok_bankbelysning] on if the binary sensor kok bänk presence light automation control [binary_sensor.kok_bank_presence_light_automation_control] is currently 'on'. If the sensor is not 'on', it will turn the light off."
},
"human_like": "Automatically turns the kitchen counter light on or off based on the state of a presence sensor, and also runs when Home Assistant starts to ensure the light is in the correct state.",
"complexity": "low"
}
},
{
"id": "kok_belysning_stora_fonster",
"result": {
"structured": "TRIGGER: When binary sensor kok belysning filament automation control [binary_sensor.kok_belysning_filament_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn lights on or off based on the state of binary sensor kok belysning filament automation control [binary_sensor.kok_belysning_filament_automation_control]. If its state is 'on', turn on kok fönster 1 [light.kok_fonster_1] and kok fönster 2 [light.kok_fonster_2]. If its state is 'off', turn off kok fönster 1 [light.kok_fonster_1] and kok fönster 2 [light.kok_fonster_2].",
"natural_language": {
"trigger": "This automation runs either when the binary sensor kok belysning filament automation control [binary_sensor.kok_belysning_filament_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "The automation controls the window lights in the kitchen. It checks the state of the binary sensor kok belysning filament automation control [binary_sensor.kok_belysning_filament_automation_control]. If the sensor is 'on', it turns on both the kok fönster 1 [light.kok_fonster_1] and kok fönster 2 [light.kok_fonster_2] lights. If the sensor is 'off', it turns both of those lights off."
},
"human_like": "Controls the kitchen window lights based on the state of a dedicated automation control sensor, ensuring they are on or off as intended, including when the system restarts.",
"complexity": "low"
}
},
{
"id": "kok_belysning_litet_fonster",
"result": {
"structured": "TRIGGER: When binary sensor kok belysning litet fönster automation control [binary_sensor.kok_belysning_litet_fonster_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Turn kok fönster 3 [light.kok_fonster_3] on if binary sensor kok belysning litet fönster automation control [binary_sensor.kok_belysning_litet_fonster_automation_control] is on, otherwise turn it off.",
"natural_language": {
"trigger": "When the state of binary sensor kok belysning litet fönster automation control [binary_sensor.kok_belysning_litet_fonster_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Sets the light kok fönster 3 [light.kok_fonster_3] to match the state of the control sensor. If the control sensor is on, the light is turned on. If the control sensor is off, the light is turned off."
},
"human_like": "Automatically turns the kitchen window light on or off based on the state of its dedicated control sensor.",
"complexity": "low"
}
},
{
"id": "kok_kaffe_vattenkokare_auto_avstangning",
"result": {
"structured": "TRIGGER: When switch kok kaffe vattenkokare [switch.kok_kaffe_vattenkokare] turns on OR When binary sensor kok kaffe vattenkokare aktiv användning [binary_sensor.kok_kaffe_vattenkokare_aktiv_anvandning] turns on. CONDITIONS: None. ACTIONS: Set the value of number kok kaffe vattenkokare countdown [number.kok_kaffe_vattenkokare_countdown] to 3600.",
"natural_language": {
"trigger": "When the switch for the coffee maker/water kettle [switch.kok_kaffe_vattenkokare] is turned on, or when the sensor indicating active use of the coffee maker/water kettle [binary_sensor.kok_kaffe_vattenkokare_aktiv_anvandning] becomes active.",
"conditions": "There are no conditions that need to be met.",
"action": "Sets the countdown timer for the coffee maker/water kettle [number.kok_kaffe_vattenkokare_countdown] to 3600 seconds (one hour)."
},
"human_like": "Starts a one-hour countdown timer for the coffee maker or water kettle whenever it is turned on or is detected as being in active use.",
"complexity": "low"
}
},
{
"id": "kok_skafferibelysning",
"result": {
"structured": "TRIGGER: When binary sensor kok skafferi presence light automation control [binary_sensor.kok_skafferi_presence_light_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn kok skafferi light [light.kok_skafferi] on if binary sensor kok skafferi presence light automation control [binary_sensor.kok_skafferi_presence_light_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs when the binary sensor kok skafferi presence light automation control [binary_sensor.kok_skafferi_presence_light_automation_control] changes its state, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "It turns the kok skafferi light [light.kok_skafferi] on if the control sensor is 'on', or turns it off if the control sensor is 'off'."
},
"human_like": "Controls the pantry light based on a presence sensor, turning it on or off automatically.",
"complexity": "low"
}
},
{
"id": "kok_takbelysning",
"result": {
"structured": "TRIGGER: When binary sensor kok presence light automation control [binary_sensor.kok_presence_light_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn lights on or off based on the state of binary sensor kok presence light automation control [binary_sensor.kok_presence_light_automation_control]. If the sensor state is 'on', turn on the following lights: kok tak light [light.kok_tak], kok koksbord 1 [light.kok_koksbord_1], kok koksbord 2 [light.kok_koksbord_2], kok kokso light [light.kok_kokso], hall byrå light [light.hall_byra], kok vedspis light [light.kok_vedspis]. If the sensor state is 'off', turn off the same set of lights.",
"natural_language": {
"trigger": "The automation is triggered either when the binary sensor kok presence light automation control [binary_sensor.kok_presence_light_automation_control] changes its state, or when Home Assistant starts up.",
"conditions": "There are no conditions that need to be met for the action to execute.",
"action": "The action controls a group of lights based on the state of the presence sensor. If the sensor indicates 'on', it turns on the kitchen ceiling light, the two kitchen counter lights, the kitchen island light, the hall cabinet light, and the kitchen stove light. If the sensor indicates 'off', it turns off all those same lights."
},
"human_like": "Automatically turns the kitchen and adjacent hall lights on or off based on a presence sensor, ensuring the area is lit when occupied.",
"complexity": "low"
}
},
{
"id": "kok_varme",
"result": {
"structured": "TRIGGER: Every 30 minutes (on the half-hour). CONDITIONS: None. ACTIONS: Set climate.kok_varmegolv [climate.kok_varmegolv] HVAC mode to 'heat' if binary sensor varmegolv block [binary_sensor.varmegolv_block] is off, otherwise set it to 'off'.",
"natural_language": {
"trigger": "The automation runs every 30 minutes, on the half-hour.",
"conditions": "There are no specific conditions that must be met for the action to run.",
"action": "It sets the heating mode for the kitchen floor heating [climate.kok_varmegolv]. If the floor heating block sensor [binary_sensor.varmegolv_block] is off, it turns the heating to 'heat' mode. If the block sensor is on, it turns the heating off."
},
"human_like": "Controls the kitchen floor heating every 30 minutes, turning it on or off based on a block sensor.",
"complexity": "low"
}
},
{
"id": "mikaels_rum_belysning_fonster",
"result": {
"structured": "TRIGGER: When binary sensor mikaels rum belysning automation control [binary_sensor.mikaels_rum_belysning_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn mikaels rum fönster light [light.mikaels_rum_fonster] on if binary sensor mikaels rum belysning automation control [binary_sensor.mikaels_rum_belysning_automation_control] is on, otherwise turn it off.",
"natural_language": {
"trigger": "The automation triggers when the state of the binary sensor mikaels rum belysning automation control [binary_sensor.mikaels_rum_belysning_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "The automation turns the mikaels rum fönster light [light.mikaels_rum_fonster] on if the control sensor is on, and turns it off if the control sensor is off."
},
"human_like": "Controls the window light in Mikael's room based on a dedicated automation switch, ensuring the light state is correct on system startup.",
"complexity": "low"
}
},
{
"id": "mikaels_rum_belysning_av",
"result": {
"structured": "TRIGGER: When binary sensor mikaels rum belysning av [binary_sensor.mikaels_rum_belysning_av] changes to off. CONDITIONS: None. ACTIONS: Turn off mikaels rum hue play 1 [light.mikaels_rum_hue_play_1], mikaels rum hue play 2 [light.mikaels_rum_hue_play_2], mikaels rum hue play 3 [light.mikaels_rum_hue_play_3], mikaels rum skrivbord light [light.mikaels_rum_skrivbord], mikaels rum ljusslinga [light.mikaels_rum_ljusslinga], and mikaels rum tak light [light.mikaels_rum_tak].",
"natural_language": {
"trigger": "When the binary sensor mikaels rum belysning av [binary_sensor.mikaels_rum_belysning_av] turns off.",
"conditions": "There are no conditions for this automation.",
"action": "Turns off all the lights in Mikael's room, including the hue play lights, the desk light, the string light, and the ceiling light."
},
"human_like": "Turns off all the lights in Mikael's room when a specific sensor indicates the lighting should be off.",
"complexity": "low"
}
},
{
"id": "semester_sovdags",
"result": {
"structured": "TRIGGER: When the time is 21:00:00 OR when the time is 07:30:00. CONDITIONS: input boolean semester [input_boolean.semester] is on. ACTIONS: If the trigger was 21:00:00, wait a random delay between 0 and 1 hour and 1 to 59 minutes, then turn on input boolean sovdags [input_boolean.sovdags]. If the trigger was 07:30:00, turn off input boolean sovdags [input_boolean.sovdags].",
"natural_language": {
"trigger": "The automation runs either at 9:00 PM or at 7:30 AM.",
"conditions": "The automation only proceeds if the input boolean semester [input_boolean.semester] is turned on.",
"action": "If the trigger was the 9:00 PM time, it waits for a random amount of time between 0 and 1 hour and 1 to 59 minutes, and then turns on the input boolean sovdags [input_boolean.sovdags]. If the trigger was the 7:30 AM time, it immediately turns off the input boolean sovdags [input_boolean.sovdags]."
},
"human_like": "During semester mode, this automation sets a bedtime status in the evening with a random delay and clears it in the morning.",
"complexity": "medium"
}
},
{
"id": "snickarboa_avfuktare",
"result": {
"structured": "TRIGGER: When binary sensor heatpump emhass [binary_sensor.heatpump_emhass] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn humidifier snickarboa avfuktare [humidifier.snickarboa_avfuktare] on if binary sensor heatpump emhass [binary_sensor.heatpump_emhass] is on, otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs when the state of the binary sensor heatpump emhass [binary_sensor.heatpump_emhass] changes, or when Home Assistant starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "It turns the humidifier snickarboa avfuktare [humidifier.snickarboa_avfuktare] on if the heat pump sensor is on, or turns it off if the heat pump sensor is off."
},
"human_like": "This automation controls a dehumidifier based on the state of the heat pump, turning it on or off accordingly.",
"complexity": "low"
}
},
{
"id": "snickarboa_belysning",
"result": {
"structured": "TRIGGER: When binary sensor snickarboa presence light automation control [binary_sensor.snickarboa_presence_light_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn snickarboa arbetsbank light [light.snickarboa_arbetsbank] and snickarboa spotlights [light.snickarboa_spotlights] on if binary sensor snickarboa presence light automation control [binary_sensor.snickarboa_presence_light_control] is 'on', otherwise turn them off.",
"natural_language": {
"trigger": "The automation runs when the binary sensor snickarboa presence light automation control [binary_sensor.snickarboa_presence_light_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions for this automation.",
"action": "The automation turns on both the snickarboa arbetsbank light [light.snickarboa_arbetsbank] and the snickarboa spotlights [light.snickarboa_spotlights] if the control sensor is 'on'. If the control sensor is 'off', it turns both lights off."
},
"human_like": "This automation controls the workshop lights based on a presence sensor, turning them on or off automatically.",
"complexity": "low"
}
},
{
"id": "snickarboa_varmare",
"result": {
"structured": "TRIGGER: When binary sensor snickarboa heater [binary_sensor.snickarboa_heater] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Set climate snickarboa [climate.snickarboa] HVAC mode to 'heat' if binary sensor snickarboa heater [binary_sensor.snickarboa_heater] is 'on', otherwise set it to 'off'.",
"natural_language": {
"trigger": "When the state of the binary sensor snickarboa heater [binary_sensor.snickarboa_heater] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met.",
"action": "Sets the heating mode of the climate snickarboa [climate.snickarboa] to 'heat' if the binary sensor snickarboa heater [binary_sensor.snickarboa_heater] is on, or to 'off' if it is not."
},
"human_like": "Turns the heater in the Snickarboa room on or off automatically based on the state of a sensor, and also sets the correct mode when Home Assistant restarts.",
"complexity": "low"
}
},
{
"id": "solar_battery_mode",
"result": {
"structured": "TRIGGER: When sensor solar battery mode [sensor.solar_battery_mode] changes state OR When sensor p batt forecast [sensor.p_batt_forecast] changes state. ACTIONS: Wait 30 seconds. Then, based on the state of sensor solar battery mode [sensor.solar_battery_mode], call script solar battery mode [script.solar_battery_mode] with specific parameters: If state is 'charge', set StorCTLMod=3, MinRsvPct=1000, OutWRte and InWRte calculated from sensor p batt forecast [sensor.p_batt_forecast]. If state is 'charge_max', set StorCTLMod=3, MinRsvPct=1000, OutWRte and InWRte calculated from a fixed value of -5000. If state is 'charge_from_solar', set StorCTLMod=2, MinRsvPct=1000, OutWRte=0, InWRte=10000. If state is 'discharge', set StorCTLMod=1, MinRsvPct=1000, OutWRte=10000, InWRte=0. If state is 'discharge_fixed', set StorCTLMod=3, MinRsvPct=1000, OutWRte and InWRte calculated from sensor p batt forecast [sensor.p_batt_forecast]. If state is 'discharge_min_limit', set StorCTLMod=1, MinRsvPct=1000, OutWRte=10000, InWRte calculated from sensor p batt forecast [sensor.p_batt_forecast]. If state is 'blocked', set StorCTLMod=3, MinRsvPct=1000, OutWRte=0, InWRte=0. If state is 'idle', set StorCTLMod=3, MinRsvPct=1000, OutWRte=0, InWRte=0.",
"natural_language": {
"trigger": "The automation triggers whenever the sensor solar battery mode [sensor.solar_battery_mode] changes its state, or when the sensor p batt forecast [sensor.p_batt_forecast] changes its value.",
"conditions": "There are no explicit conditions. The action sequence selects its path based on the current state of the sensor solar battery mode [sensor.solar_battery_mode].",
"action": "After a 30-second delay, the automation calls the script solar battery mode [script.solar_battery_mode] with different parameters depending on the current mode. For example, in 'charge' mode, it calculates power rates based on the forecast. In 'charge_from_solar' mode, it sets the system to charge only from solar. In 'discharge' mode, it sets the system to discharge at full rate. Other modes like 'blocked' or 'idle' set the rates to zero to stop power flow."
},
"human_like": "This automation adjusts the home battery's charge and discharge behavior based on the selected operating mode and power forecast, with a short delay before applying changes.",
"complexity": "medium"
}
},
{
"id": "ssam_sophatmning_fni1",
"result": {
"structured": "TRIGGER: When sensor ssam sophatmning fni1 [sensor.ssam_sophatmning_fni1] attribute 'days_from_today' changes to 1. CONDITIONS: None. ACTIONS: Create a persistent notification with title 'Imorgon tömts kärl 1' and message 'Sophämtning'. Send a notification to mobile_app_mikael_iphone with title 'Imorgon tömts kärl 1' and message 'Sophämtning'. Send a notification to mobile_app_lina_iphone with title 'Imorgon tömts kärl 1' and message 'Sophämtning'.",
"natural_language": {
"trigger": "When the sensor ssam sophatmning fni1 [sensor.ssam_sophatmning_fni1] has its 'days_from_today' attribute change to a value of 1.",
"conditions": "There are no conditions that must be met.",
"action": "Creates a persistent notification in Home Assistant with the title 'Imorgon tömts kärl 1' and the message 'Sophämtning'. It also sends a push notification with the same title and message to the mobile devices registered as mobile_app_mikael_iphone and mobile_app_lina_iphone."
},
"human_like": "Sends a reminder notification one day before the scheduled waste collection for bin 1.",
"complexity": "low"
}
},
{
"id": "ssam_sophatmning_fni2",
"result": {
"structured": "TRIGGER: When sensor ssam sophatmning fni2 [sensor.ssam_sophatmning_fni2] attribute 'days_from_today' changes to 1. CONDITIONS: None. ACTIONS: Create a persistent notification with title 'Imorgon tömts kärl 2' and message 'Sophämtning', send a notification to mobile_app_mikael_iphone with title 'Imorgon tömts kärl 2' and message 'Sophämtning', and send a notification to mobile_app_lina_iphone with title 'Imorgon tömts kärl 2' and message 'Sophämtning'.",
"natural_language": {
"trigger": "When the sensor ssam sophatmning fni2 [sensor.ssam_sophatmning_fni2] reports that the 'days_from_today' attribute becomes 1.",
"conditions": "There are no conditions that must be met.",
"action": "Creates a persistent notification and sends a push notification to two mobile devices, all with the title 'Imorgon tömts kärl 2' and the message 'Sophämtning'."
},
"human_like": "Sends a reminder notification one day before the scheduled garbage collection for bin 2.",
"complexity": "low"
}
},
{
"id": "sovdags",
"result": {
"structured": "TRIGGER: When input boolean sovdags [input_boolean.sovdags] changes state. CONDITIONS: None. ACTIONS: Choose based on the state of input boolean sovdags [input_boolean.sovdags]. IF input boolean sovdags [input_boolean.sovdags] is on, THEN: Wait 10 seconds, THEN turn off lights: mikaels rum tak light [light.mikaels_rum_tak], mikaels rum hue play [light.mikaels_rum_hue_play], mikaels rum ljusslinga [light.mikaels_rum_ljusslinga], mikaels rum skrivbord light [light.mikaels_rum_skrivbord], linas skrivbord light [light.linas_skrivbord], barnrum tak 1 [light.barnrum_tak_1]; THEN wait 5 seconds, THEN turn on sleep mode switches: switch adaptive lighting sleep mode allrum [switch.adaptive_lighting_sleep_mode_allrum], switch adaptive lighting sleep mode allrum belysning filament [switch.adaptive_lighting_sleep_mode_allrum_belysning_filament], switch adaptive lighting sleep mode badrum [switch.adaptive_lighting_sleep_mode_badrum], switch adaptive lighting sleep mode kök [switch.adaptive_lighting_sleep_mode_kok], switch adaptive lighting sleep mode kök fönster [switch.adaptive_lighting_sleep_mode_kok_fonster], switch adaptive lighting sleep mode sovrum [switch.adaptive_lighting_sleep_mode_sovrum], switch adaptive lighting sleep mode tvättstuga [switch.adaptive_lighting_sleep_mode_tvattstuga], switch adaptive lighting sleep mode vardagsrum belysning filament [switch.adaptive_lighting_sleep_mode_vardagsrum_belysning_filament], switch adaptive lighting sleep mode vardagsrum tak [switch.adaptive_lighting_sleep_mode_vardagsrum_tak], switch adaptive lighting sleep mode hall [switch.adaptive_lighting_sleep_mode_hall], switch adaptive lighting sleep mode barnrum [switch.adaptive_lighting_sleep_mode_barnrum]; THEN wait 5 seconds, THEN turn off switch adaptive lighting mikaels rum [switch.adaptive_lighting_mikaels_rum]; THEN turn on barnrum fönster 1 [light.barnrum_fonster_1]; THEN turn off automations: automation barnrum belysning [automation.barnrum_belysning], automation barnrum belysning fönster [automation.barnrum_belysning_fonster]. IF input boolean sovdags [input_boolean.sovdags] is off, THEN: Turn off sleep mode switches: switch adaptive lighting sleep mode allrum [switch.adaptive_lighting_sleep_mode_allrum], switch adaptive lighting sleep mode allrum belysning filament [switch.adaptive_lighting_sleep_mode_allrum_belysning_filament], switch adaptive lighting sleep mode badrum [switch.adaptive_lighting_sleep_mode_badrum], switch adaptive lighting sleep mode kök [switch.adaptive_lighting_sleep_mode_kok], switch adaptive lighting sleep mode kök fönster [switch.adaptive_lighting_sleep_mode_kok_fonster], switch adaptive lighting sleep mode sovrum [switch.adaptive_lighting_sleep_mode_sovrum], switch adaptive lighting sleep mode tvättstuga [switch.adaptive_lighting_sleep_mode_tvattstuga], switch adaptive lighting sleep mode vardagsrum belysning filament [switch.adaptive_lighting_sleep_mode_vardagsrum_belysning_filament], switch adaptive lighting sleep mode hall [switch.adaptive_lighting_sleep_mode_hall]; THEN turn on switches: switch adaptive lighting sovrum [switch.adaptive_lighting_sovrum], switch adaptive lighting mikaels rum [switch.adaptive_lighting_mikaels_rum].",
"natural_language": {
"trigger": "Whenever the state of the input boolean sovdags [input_boolean.sovdags] changes.",
"conditions": "There are no additional conditions; the automation runs immediately upon the trigger.",
"action": "The automation performs different sequences depending on whether the input boolean sovdags [input_boolean.sovdags] is turned on or off. If it is turned on, it first waits 10 seconds, then turns off several lights in Mikael's room and the children's room. After a 5-second delay, it activates sleep mode for adaptive lighting in most rooms of the house. Following another 5-second delay, it turns off the adaptive lighting for Mikael's room, turns on a specific window light in the children's room, and disables two other automations related to children's room lighting. If the input boolean sovdags [input_boolean.sovdags] is turned off, it deactivates the sleep mode for adaptive lighting in the listed rooms and then turns the standard adaptive lighting back on for the bedroom and Mikael's room."
},
"human_like": "This automation manages a 'sleep mode' for the house, turning off lights, enabling night-time adaptive lighting, and controlling related automations when activated, and restoring normal lighting when deactivated.",
"complexity": "medium"
}
},
{
"id": "sovrum_belysning",
"result": {
"structured": "TRIGGER: When Sovrum belysning automation control [binary_sensor.sovrum_belysning_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn lights on or off based on the state of Sovrum belysning automation control [binary_sensor.sovrum_belysning_automation_control]. If the state is 'on', turn on sovrum byrå light [light.sovrum_byra], sovrum säng lina [light.sovrum_sang_lina], and sovrum säng mikael [light.sovrum_sang_mikael]. If the state is 'off', turn off the same lights.",
"natural_language": {
"trigger": "The automation runs either when the Sovrum belysning automation control [binary_sensor.sovrum_belysning_automation_control] changes its state, or when the Home Assistant system starts up.",
"conditions": "There are no conditions that must be met for the action to execute.",
"action": "The automation will control three lights in the bedroom: sovrum byrå light [light.sovrum_byra], sovrum säng lina [light.sovrum_sang_lina], and sovrum säng mikael [light.sovrum_sang_mikael]. It checks the current state of the Sovrum belysning automation control [binary_sensor.sovrum_belysning_automation_control]. If the control is 'on', it turns all three lights on. If the control is 'off', it turns all three lights off."
},
"human_like": "This automation turns the bedroom lights on or off based on the state of a central control switch, and also runs when Home Assistant restarts to ensure the lights are in the correct state.",
"complexity": "low"
}
},
{
"id": "sovrum_sang_mikael_knapp",
"result": {
"structured": "TRIGGER: When device sovrum säng mikael knapp device [device_id: d804ff674d445d8a0704fc6dc3634837] sends a single action OR a double action OR a hold action via MQTT. CONDITIONS: None. ACTIONS: If the trigger payload is 'single', toggle input boolean sovdags [input_boolean.sovdags]. If the trigger payload is 'double', toggle sovrum säng mikael [light.sovrum_sang_mikael]. If the trigger payload is 'hold', turn off sovrum light [light.sovrum] AND turn off switch adaptive lighting sovrum [switch.adaptive_lighting_sovrum].",
"natural_language": {
"trigger": "When the button device named sovrum säng mikael knapp device [device_id: d804ff674d445d8a0704fc6dc3634837] is pressed, sending a single, double, or hold action signal via MQTT.",
"conditions": "There are no conditions that must be met for the automation to proceed.",
"action": "Depending on the type of button press, different actions are taken. A single press toggles the state of the input boolean sovdags [input_boolean.sovdags]. A double press toggles the light named sovrum säng mikael [light.sovrum_sang_mikael]. A long press (hold) turns off the main sovrum light [light.sovrum] and also turns off the adaptive lighting switch for the room [switch.adaptive_lighting_sovrum]."
},
"human_like": "A bedside button controls room lighting and a daytime mode, with single, double, and long presses performing different functions.",
"complexity": "medium"
}
},
{
"id": "teknikrum_knapp",
"result": {
"structured": "TRIGGER: When the device teknikrum knapp device [device_id: 8f98424ec0a69a4e044ea99d3117134b] sends an MQTT action of type 'single'. CONDITIONS: None. ACTIONS: Toggle the state of teknikrum tak light [light.teknikrum_tak].",
"natural_language": {
"trigger": "When the teknikrum knapp device [device_id: 8f98424ec0a69a4e044ea99d3117134b] is pressed with a single click.",
"conditions": "There are no conditions for this automation.",
"action": "Toggles the teknikrum tak light [light.teknikrum_tak] on or off."
},
"human_like": "A single press of the button in the teknikrum toggles the ceiling light.",
"complexity": "low"
}
},
{
"id": "tibber_reload",
"result": {
"structured": "TRIGGER: Every 10 minutes (time pattern on minutes). CONDITIONS: The sensor electricity price sannesholma 2181 [sensor.electricity_price_sannesholma_2181] has no value (is unavailable). ACTIONS: Reload the configuration entry for the device tibber reload device [device_id: 03fdcc07bb636a9631c65c2dd1673eb5].",
"natural_language": {
"trigger": "The automation triggers every 10 minutes.",
"conditions": "It checks if the electricity price sensor, sensor electricity price sannesholma 2181 [sensor.electricity_price_sannesholma_2181], is unavailable or has no value.",
"action": "If the condition is met, it reloads the configuration entry for the Tibber integration device, tibber reload device [device_id: 03fdcc07bb636a9631c65c2dd1673eb5]."
},
"human_like": "Automatically reloads the Tibber integration if the electricity price sensor becomes unavailable, checking every 10 minutes.",
"complexity": "low"
}
},
{
"id": "torktumlare_klar",
"result": {
"structured": "TRIGGER: When binary sensor torktumlare [binary_sensor.torktumlare] changes from on to off. CONDITIONS: None. ACTIONS: Send a persistent notification with title 'Torktumlaren är klar' and message 'Torktumlare' AND Send a notification to mobile_app_mikael_iphone with title 'Torktumlaren är klar' and message 'Torktumlare klar' AND Send a notification to mobile_app_lina_iphone with title 'Torktumlaren är klar' and message 'Torktumlare'.",
"natural_language": {
"trigger": "When the binary sensor torktumlare [binary_sensor.torktumlare] changes from being on to off.",
"conditions": "There are no conditions for this automation.",
"action": "Sends a persistent notification with the title 'Torktumlaren är klar' and the message 'Torktumlare'. It also sends a notification to the mobile device 'mobile_app_mikael_iphone' with the title 'Torktumlaren är klar' and the message 'Torktumlare klar', and sends a similar notification to the mobile device 'mobile_app_lina_iphone' with the title 'Torktumlaren är klar' and the message 'Torktumlare'."
},
"human_like": "Notifies the household when the dryer finishes its cycle.",
"complexity": "low"
}
},
{
"id": "tvattmaskin_klar",
"result": {
"structured": "TRIGGER: When binary sensor tvättmaskin [binary_sensor.tvattmaskin] changes from on to off. CONDITIONS: None. ACTIONS: Create a persistent notification with title 'Tvätten är klar' and message 'Tvättmaskin'. Send a notification to mobile_app_mikael_iphone with title 'Tvätten är klar' and message 'Tvättmaskin klar'. Send a notification to mobile_app_lina_iphone with title 'Tvätten är klar' and message 'Tvättmaskin klar'.",
"natural_language": {
"trigger": "When the binary sensor tvättmaskin [binary_sensor.tvattmaskin] changes its state from on to off.",
"conditions": "There are no conditions that must be met.",
"action": "A persistent notification is created with the title 'Tvätten är klar' and the message 'Tvättmaskin'. A notification is also sent to the mobile device 'mobile_app_mikael_iphone' and to 'mobile_app_lina_iphone', both with the title 'Tvätten är klar' and the message 'Tvättmaskin klar'."
},
"human_like": "Sends a notification to the household when the washing machine finishes its cycle.",
"complexity": "low"
}
},
{
"id": "tvattstuga_belysning",
"result": {
"structured": "TRIGGER: When binary sensor tvättstuga belysning automation control [binary_sensor.tvattstuga_belysning_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn tvättstuga fönster light [light.tvattstuga_fonster] on if binary sensor tvättstuga belysning automation control [binary_sensor.tvattstuga_belysning_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "When the state of the binary sensor tvättstuga belysning automation control [binary_sensor.tvattstuga_belysning_automation_control] changes, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Sets the tvättstuga fönster light [light.tvattstuga_fonster] to match the state of the control sensor. If the control sensor is 'on', the light is turned on. If the control sensor is 'off', the light is turned off."
},
"human_like": "Controls the laundry room window light based on the state of an automation control switch, ensuring the light is on or off accordingly.",
"complexity": "low"
}
},
{
"id": "Utomhusbelysning",
"result": {
"structured": "TRIGGER: When binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control] is on, turn on grov entre dörr light [light.groventre_dorr], carport entre light [light.carport_entre], stolpe gång light [light.stolpe_gang], and stolpe grind light [light.stolpe_grind]. If it is off, turn off the same lights.",
"natural_language": {
"trigger": "The automation runs when the state of the binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control] changes, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Depending on the state of the control sensor, it either turns on or off a set of outdoor lights. If the sensor is on, it turns on the grov entre dörr light [light.groventre_dorr], carport entre light [light.carport_entre], stolpe gång light [light.stolpe_gang], and stolpe grind light [light.stolpe_grind]. If the sensor is off, it turns off all these lights."
},
"human_like": "Controls a group of outdoor lights based on a master switch sensor, ensuring they are in the correct state when Home Assistant starts or when the switch is toggled.",
"complexity": "medium"
}
},
{
"id": "Entré belysning",
"result": {
"structured": "TRIGGER: When binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control] is on, turn on entre dörr light [light.entre_dorr]; if it is off, turn off entre dörr light [light.entre_dorr].",
"natural_language": {
"trigger": "The automation runs when the state of the binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control] changes, or when Home Assistant starts up.",
"conditions": "There are no additional conditions.",
"action": "Depending on the state of the binary sensor utomhusbelysning automation control [binary_sensor.utomhusbelysning_automation_control], the automation either turns on or off the entre dörr light [light.entre_dorr]. If the sensor is on, the light turns on; if the sensor is off, the light turns off."
},
"human_like": "Controls the entrance door light based on an outdoor lighting automation switch, ensuring the light state matches the switch when it changes or when the system starts.",
"complexity": "low"
}
},
{
"id": "Entré närvarobelysning",
"result": {
"structured": "TRIGGER: When binary sensor entre presence automation control [binary_sensor.entre_presence_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor entre presence automation control [binary_sensor.entre_presence_automation_control] is on, then turn off switch adaptive lighting adapt brightness utomhusbelysning hue [switch.adaptive_lighting_adapt_brightness_utomhusbelysning_hue] AND turn on entre dörr light [light.entre_dorr] at 100% brightness. If binary sensor entre presence automation control [binary_sensor.entre_presence_automation_control] is off, then turn on switch adaptive lighting adapt brightness utomhusbelysning hue [switch.adaptive_lighting_adapt_brightness_utomhusbelysning_hue].",
"natural_language": {
"trigger": "The automation runs when the state of the binary sensor entre presence automation control [binary_sensor.entre_presence_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no additional conditions; the automation runs immediately upon trigger.",
"action": "Depending on the state of the control sensor, it performs one of two sequences. If the sensor is on, it turns off the adaptive outdoor lighting switch [switch.adaptive_lighting_adapt_brightness_utomhusbelysning_hue] and turns on the entrance door light [light.entre_dorr] at full brightness. If the sensor is off, it turns the adaptive outdoor lighting switch back on."
},
"human_like": "Controls the entrance and outdoor lighting based on a presence automation control switch, turning on the entrance light when needed and managing adaptive outdoor brightness.",
"complexity": "medium"
}
},
{
"id": "Utomhusbelysning film",
"result": {
"structured": "TRIGGER: When binary sensor utomhusbelysning film automation control [binary_sensor.utomhusbelysning_film_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor utomhusbelysning film automation control [binary_sensor.utomhusbelysning_film_automation_control] is on, turn on koks entre dörr light [light.koksentre_dorr], snickarboa entre light [light.snickarboa_entre], stall entre light [light.stall_entre], and kackorna entre light [light.kackorna_entre]. If it is off, turn off the same lights.",
"natural_language": {
"trigger": "The automation triggers either when the state of the binary sensor utomhusbelysning film automation control [binary_sensor.utomhusbelysning_film_automation_control] changes, or when the Home Assistant system starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Depending on the state of the control sensor, it will either turn on or off a set of outdoor entrance lights. If the sensor is on, it turns on the koks entre dörr light [light.koksentre_dorr], snickarboa entre light [light.snickarboa_entre], stall entre light [light.stall_entre], and kackorna entre light [light.kackorna_entre]. If the sensor is off, it turns off those same lights."
},
"human_like": "Controls a group of outdoor entrance lights based on a master switch, ensuring they are in the correct state when Home Assistant starts or when the switch is toggled.",
"complexity": "medium"
}
},
{
"id": "Ljusslingor",
"result": {
"structured": "TRIGGER: When binary sensor utomhusbelysning ljusslingor automation control [binary_sensor.utomhusbelysning_ljusslingor_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: If binary sensor utomhusbelysning ljusslingor automation control [binary_sensor.utomhusbelysning_ljusslingor_automation_control] is on, turn on entre ljusslinga [light.entre_ljusslinga], koks entre ljusslinga [light.koksentre_ljusslinga], växthus ljusslinga [light.vaxthus_ljusslinga], and lekstuga ljusslinga [light.lekstuga_ljusslinga]. If it is off, turn off the same four lights.",
"natural_language": {
"trigger": "When the state of the binary sensor utomhusbelysning ljusslingor automation control [binary_sensor.utomhusbelysning_ljusslingor_automation_control] changes, or when Home Assistant first starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Checks the state of the binary sensor utomhusbelysning ljusslingor automation control [binary_sensor.utomhusbelysning_ljusslingor_automation_control]. If it is on, it turns on the four light strings: entre ljusslinga [light.entre_ljusslinga], koks entre ljusslinga [light.koksentre_ljusslinga], växthus ljusslinga [light.vaxthus_ljusslinga], and lekstuga ljusslinga [light.lekstuga_ljusslinga]. If it is off, it turns all four of these lights off."
},
"human_like": "Controls all outdoor light strings based on a single automation switch, ensuring they turn on or off together when the switch is toggled or when the system restarts.",
"complexity": "medium"
}
},
{
"id": "Vardagsrum belysning filament",
"result": {
"structured": "TRIGGER: When binary sensor vardagsrum belysning filament automation control [binary_sensor.vardagsrum_belysning_filament_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn vardagsrum fönster fotogen light [light.vardagsrum_fonster_fotogen] and vardagsrum fönster hängande light [light.vardagsrum_fonster_hangande] on if binary sensor vardagsrum belysning filament automation control [binary_sensor.vardagsrum_belysning_filament_automation_control] is 'on', otherwise turn them off.",
"natural_language": {
"trigger": "This automation runs either when the binary sensor vardagsrum belysning filament automation control [binary_sensor.vardagsrum_belysning_filament_automation_control] changes its state, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "It turns on the vardagsrum fönster fotogen light [light.vardagsrum_fonster_fotogen] and the vardagsrum fönster hängande light [light.vardagsrum_fonster_hangande] if the control sensor is 'on'. If the control sensor is 'off', it turns both lights off."
},
"human_like": "Controls the filament-style window lights in the living room based on the state of an automation control switch, ensuring they are set correctly on system startup.",
"complexity": "low"
}
},
{
"id": "Vardagsrum belysning fönster",
"result": {
"structured": "TRIGGER: When binary sensor vardagsrum belysning fönster automation control [binary_sensor.vardagsrum_belysning_fonster_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn vardagsrum fönster piano light [light.vardagsrum_fonster_piano], vardagsrum fönster trappa light [light.vardagsrum_fonster_trappa], vardagsrum fönster ytterdörr light [light.vardagsrum_fonster_ytterdorr], vardagsrum fönster vitrinskåp light [light.vardagsrum_fonster_vitrinskap], and trappa light [light.trappa] on if binary sensor vardagsrum belysning fönster automation control [binary_sensor.vardagsrum_belysning_fonster_automation_control] is 'on', otherwise turn them off.",
"natural_language": {
"trigger": "When the state of the binary sensor vardagsrum belysning fönster automation control [binary_sensor.vardagsrum_belysning_fonster_automation_control] changes, or when Home Assistant starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Sets the state of a group of lights (vardagsrum fönster piano light [light.vardagsrum_fonster_piano], vardagsrum fönster trappa light [light.vardagsrum_fonster_trappa], vardagsrum fönster ytterdörr light [light.vardagsrum_fonster_ytterdorr], vardagsrum fönster vitrinskåp light [light.vardagsrum_fonster_vitrinskap], and trappa light [light.trappa]) to match the state of the control sensor. If the control sensor is 'on', the lights are turned on; if it is 'off', the lights are turned off."
},
"human_like": "Controls a set of window and stair lights based on the state of a central automation switch, ensuring they are synchronized when Home Assistant starts or the switch changes.",
"complexity": "medium"
}
},
{
"id": "Vardagsrum belysning tak",
"result": {
"structured": "TRIGGER: When binary sensor vardagsrum presence light automation control [binary_sensor.vardagsrum_presence_light_automation_control] changes state OR when Home Assistant starts. CONDITIONS: None. ACTIONS: Turn vardagsrum tak light [light.vardagsrum_tak] and vardagsrum bord light [light.vardagsrum_bord] on if binary sensor vardagsrum presence light automation control [binary_sensor.vardagsrum_presence_light_automation_control] is on, otherwise turn them off.",
"natural_language": {
"trigger": "The automation triggers whenever the binary sensor vardagsrum presence light automation control [binary_sensor.vardagsrum_presence_light_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "The automation turns on both the vardagsrum tak light [light.vardagsrum_tak] and the vardagsrum bord light [light.vardagsrum_bord] if the control sensor is on. If the control sensor is off, it turns both lights off."
},
"human_like": "This automation controls the main living room lights based on a presence automation control sensor, ensuring they are on or off as needed.",
"complexity": "low"
}
},
{
"id": "Vardagsrum värme",
"result": {
"structured": "TRIGGER: When the time matches minutes:2 OR When the time matches minutes:32. CONDITIONS: None. ACTIONS: Set climate vardagsrum varmegolv [climate.vardagsrum_varmegolv] HVAC mode to 'off' if binary sensor varmegolv block [binary_sensor.varmegolv_block] is 'on', otherwise set to 'heat'.",
"natural_language": {
"trigger": "The automation triggers every hour at two minutes past the hour and thirty-two minutes past the hour.",
"conditions": "There are no conditions that must be met for the action to execute.",
"action": "It sets the heating mode for the climate vardagsrum varmegolv [climate.vardagsrum_varmegolv]. If the binary sensor varmegolv block [binary_sensor.varmegolv_block] is on, the HVAC mode is set to off. If the block sensor is not on, the HVAC mode is set to heat."
},
"human_like": "Adjusts the living room floor heating mode twice an hour, turning it off if a block is active, otherwise setting it to heat.",
"complexity": "medium"
}
},
{
"id": "walk_in_closet_belysning",
"result": {
"structured": "TRIGGER: When binary sensor walk in closet presence light automation control [binary_sensor.walk_in_closet_presence_light_automation_control] changes state OR When Home Assistant starts. CONDITIONS: None. ACTIONS: Turn walk in closet light [light.walk_in_closet] on if binary sensor walk in closet presence light automation control [binary_sensor.walk_in_closet_presence_light_automation_control] is 'on', otherwise turn it off.",
"natural_language": {
"trigger": "The automation runs when the binary sensor walk in closet presence light automation control [binary_sensor.walk_in_closet_presence_light_automation_control] changes its state, or when Home Assistant first starts up.",
"conditions": "There are no conditions that must be met for the action to execute.",
"action": "The light in the walk-in closet, walk in closet light [light.walk_in_closet], is turned on if the control sensor is 'on', and turned off if the control sensor is 'off'."
},
"human_like": "This automation controls the walk-in closet light based on a presence sensor, turning the light on or off to match the sensor's state.",
"complexity": "low"
}
}
]