AutomationDataset/covertbert/automation-descriptions.json

392 lines
42 KiB
JSON

[
{
"id": "Config - Update, Check & Restart",
"result": {
"structured": "TRIGGER: When a webhook with ID -Z7gIJKDlN9QKCG6poK8q67CT is received via HTTP POST. CONDITIONS: None. ACTIONS: Execute shell_command.git_pull, then run homeassistant.check_config, then call homeassistant.restart.",
"natural_language": {
"trigger": "When a specific webhook request (with ID -Z7gIJKDlN9QKCG6poK8q67CT) is sent to the Home Assistant instance via an HTTP POST method.",
"conditions": "There are no conditions; the automation runs immediately upon receiving the webhook.",
"action": "Performs a sequence of three actions: first, it runs a shell command to pull the latest Git repository changes; second, it checks the Home Assistant configuration for errors; and third, it restarts the Home Assistant service."
},
"human_like": "Automatically updates the configuration from Git, validates it, and restarts Home Assistant when triggered by a webhook.",
"complexity": "low"
}
},
{
"id": "Dehumidifier - Basement - Toggle",
"result": {
"structured": "TRIGGER: When electricity current rate sensor [sensor.octopus_energy_electricity_22l3444132_1610012177566_current_rate] changes state. CONDITIONS: None. ACTIONS: If cheap electricity input boolean [input_boolean.cheap_electricity] is on, then turn on basement dehumidifier switch [switch.dehumidifier_basement_switch]. If cheap electricity input boolean [input_boolean.cheap_electricity] is off, then turn off basement dehumidifier switch [switch.dehumidifier_basement_switch].",
"natural_language": {
"trigger": "Whenever the electricity current rate sensor [sensor.octopus_energy_electricity_22l3444132_1610012177566_current_rate] updates its value.",
"conditions": "There are no additional conditions that must be met.",
"action": "The automation checks the state of the cheap electricity input boolean [input_boolean.cheap_electricity]. If it is on, it turns on the basement dehumidifier switch [switch.dehumidifier_basement_switch]. If it is off, it turns off the basement dehumidifier switch [switch.dehumidifier_basement_switch]."
},
"human_like": "Turns the basement dehumidifier on or off based on whether cheap electricity rates are currently available.",
"complexity": "medium"
}
},
{
"id": "Dehumidifier - Bedroom - Toggle",
"result": {
"structured": "TRIGGER: When bedroom dehumidifier schedule [schedule.bedroom_dehumidifier] changes state OR at every 15th minute of the hour (time pattern). CONDITIONS: None (conditions are evaluated inside the choose action). ACTIONS: Choose action based on conditions: IF bedroom dehumidifier schedule [schedule.bedroom_dehumidifier] is off THEN turn off bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch]. ELSE IF bedroom dehumidifier schedule [schedule.bedroom_dehumidifier] is on AND bedroom window opening sensor [binary_sensor.bedroom_window_opening] is off THEN turn on bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch].",
"natural_language": {
"trigger": "The automation runs either when the bedroom dehumidifier schedule [schedule.bedroom_dehumidifier] changes its state, or every 15 minutes (at minutes 0, 15, 30, and 45).",
"conditions": "The automation does not have global conditions. Instead, it uses a decision block to check specific conditions before performing actions. It first checks if the dehumidifier schedule is off. If not, it then checks if the schedule is on and the bedroom window opening sensor [binary_sensor.bedroom_window_opening] reports the window is closed.",
"action": "If the dehumidifier schedule is off, the automation turns off the bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch]. If the schedule is on and the bedroom window is closed, it turns the dehumidifier switch on."
},
"human_like": "Controls the bedroom dehumidifier based on its schedule and whether the window is closed, turning it off when scheduled off or on when scheduled on and the window is shut.",
"complexity": "medium"
}
},
{
"id": "Dehumidifier - Bedroom - Window",
"result": {
"structured": "TRIGGER: When bedroom window opening sensor [binary_sensor.bedroom_window_opening] changes state. CONDITIONS: None. ACTIONS: If bedroom window opening sensor [binary_sensor.bedroom_window_opening] is on, turn off bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch]. If bedroom window opening sensor [binary_sensor.bedroom_window_opening] is off, then check the state of bedroom dehumidifier schedule [schedule.bedroom_dehumidifier]. If it is on, turn on bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch]. If it is off, turn off bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch].",
"natural_language": {
"trigger": "Whenever the state of the bedroom window opening sensor [binary_sensor.bedroom_window_opening] changes.",
"conditions": "There are no additional conditions that must be met for the automation to run.",
"action": "If the window is detected as open, the automation will turn off the bedroom dehumidifier switch [switch.dehumidifier_bedroom_switch]. If the window is detected as closed, the automation will check the state of the bedroom dehumidifier schedule [schedule.bedroom_dehumidifier]. If the schedule is active (on), it will turn the dehumidifier on. If the schedule is inactive (off), it will turn the dehumidifier off."
},
"human_like": "Automatically turns the bedroom dehumidifier off when the window is open, and otherwise follows the dehumidifier schedule when the window is closed.",
"complexity": "medium"
}
},
{
"id": "Cheap Energy",
"result": {
"structured": "TRIGGER: When electricity current rate sensor [sensor.octopus_energy_electricity_22l3444132_1610012177566_current_rate] changes state. CONDITIONS: None. ACTIONS: If the numeric value of electricity current rate sensor [sensor.octopus_energy_electricity_22l3444132_1610012177566_current_rate] is greater than the numeric value of average electricity rate sensor [sensor.average_electricity_rate], then turn off cheap electricity input boolean [input_boolean.cheap_electricity]. Otherwise, if the numeric value of electricity current rate sensor [sensor.octopus_energy_electricity_22l3444132_1610012177566_current_rate] is less than the numeric value of average electricity rate sensor [sensor.average_electricity_rate], then turn on cheap electricity input boolean [input_boolean.cheap_electricity].",
"natural_language": {
"trigger": "Whenever the electricity current rate sensor [sensor.octopus_energy_electricity_22l3444132_1610012177566_current_rate] updates its value.",
"conditions": "There are no additional conditions that must be met for the actions to run.",
"action": "The automation compares the current electricity rate to the average rate. If the current rate is higher than the average, it turns off the cheap electricity input boolean [input_boolean.cheap_electricity]. If the current rate is lower than the average, it turns on the cheap electricity input boolean [input_boolean.cheap_electricity]."
},
"human_like": "Automatically toggles a 'cheap electricity' indicator based on whether the current electricity rate is above or below the average rate.",
"complexity": "low"
}
},
{
"id": "Heating - Attic - Schedule",
"result": {
"structured": "TRIGGER: When attic wfh schedule [schedule.attic_wfh] changes state OR when home state input boolean [input_boolean.home_state] changes state OR every 15 minutes (time_pattern). CONDITIONS: None. ACTIONS: If attic wfh schedule [schedule.attic_wfh] is on, then if home state input boolean [input_boolean.home_state] is on, set attic climate [climate.attic] temperature to 21°C, else if home state input boolean [input_boolean.home_state] is off, set attic climate [climate.attic] temperature to 18°C. If attic wfh schedule [schedule.attic_wfh] is off, set attic climate [climate.attic] temperature to 20°C.",
"natural_language": {
"trigger": "The automation runs when the attic wfh schedule [schedule.attic_wfh] changes state, when the home state input boolean [input_boolean.home_state] changes state, or every 15 minutes.",
"conditions": "There are no explicit conditions; the logic is handled within the action sequence.",
"action": "If the attic wfh schedule [schedule.attic_wfh] is active (on), it checks the home state. If the home state input boolean [input_boolean.home_state] indicates someone is home (on), it sets the attic climate [climate.attic] temperature to 21°C. If the home state indicates no one is home (off), it sets the temperature to 18°C. If the attic wfh schedule is not active (off), it sets the attic climate temperature to 20°C."
},
"human_like": "Adjusts the attic temperature based on the work-from-home schedule and whether anyone is home, using a 15-minute timer for regular updates.",
"complexity": "medium"
}
},
{
"id": "Heating - Basement - Schedule",
"result": {
"structured": "TRIGGER: Every 15 minutes (on minutes divisible by 15). CONDITIONS: None. ACTIONS: Choose based on conditions: IF basement humidity sensor [sensor.basement_humidity] is above 70 AND basement dehumidifier switch [switch.dehumidifier_basement_switch] is on, THEN set basement climate [climate.basement] temperature to 21°C. OTHERWISE (default), set basement climate [climate.basement] temperature to 18°C.",
"natural_language": {
"trigger": "The automation runs every 15 minutes, at times like 0, 15, 30, and 45 minutes past the hour.",
"conditions": "There are no global conditions. The action logic itself checks if the basement humidity sensor [sensor.basement_humidity] reads above 70% and if the basement dehumidifier switch [switch.dehumidifier_basement_switch] is turned on.",
"action": "If both the high humidity and dehumidifier-on conditions are met, the basement climate [climate.basement] is set to 21°C. Otherwise, it is set to 18°C."
},
"human_like": "Adjusts the basement temperature every 15 minutes, setting it to a warmer 21°C only when it's humid and the dehumidifier is running, otherwise keeping it at 18°C.",
"complexity": "medium"
}
},
{
"id": "Heating - Bathroom - Schedule",
"result": {
"structured": "TRIGGER: When bathroom boost schedule [schedule.bathroom_boost] changes state OR at every 15th minute of the hour. CONDITIONS: None. ACTIONS: If bathroom boost schedule [schedule.bathroom_boost] is on, then check home state input boolean [input_boolean.home_state]. If home state input boolean [input_boolean.home_state] is on, set bathroom climate [climate.bathroom] temperature to 25°C. If home state input boolean [input_boolean.home_state] is off, set bathroom climate [climate.bathroom] temperature to 17°C. If bathroom boost schedule [schedule.bathroom_boost] is off, set bathroom climate [climate.bathroom] temperature to 19°C.",
"natural_language": {
"trigger": "The automation runs whenever the bathroom boost schedule [schedule.bathroom_boost] changes its state, or at regular intervals every 15 minutes.",
"conditions": "There are no conditions that must be met before the action can run; the automation proceeds directly after a trigger.",
"action": "If the bathroom boost schedule [schedule.bathroom_boost] is active (on), it checks the home state input boolean [input_boolean.home_state]. If the home state is on, it sets the bathroom climate [climate.bathroom] temperature to 25°C. If the home state is off, it sets the temperature to 17°C. If the bathroom boost schedule is not active (off), it sets the bathroom climate temperature to 19°C."
},
"human_like": "Automatically adjusts the bathroom temperature based on a boost schedule and whether the home is occupied, setting different temperatures for comfort or energy saving.",
"complexity": "medium"
}
},
{
"id": "Heating - Bedroom - Schedule",
"result": {
"structured": "TRIGGER: When bedroom daytime schedule [schedule.bedroom_daytime] changes state OR when home state input boolean [input_boolean.home_state] changes state OR every 15 minutes (time pattern). CONDITIONS: upstairs windows sensor [binary_sensor.upstairs_windows] is off. ACTIONS: If bedroom daytime schedule [schedule.bedroom_daytime] is on, then if home state input boolean [input_boolean.home_state] is on, set bedroom climate [climate.bedroom] temperature to 20°C; if home state input boolean [input_boolean.home_state] is off, set bedroom climate [climate.bedroom] temperature to 18°C. If bedroom daytime schedule [schedule.bedroom_daytime] is off, set bedroom climate [climate.bedroom] temperature to 19°C.",
"natural_language": {
"trigger": "This automation runs whenever the bedroom daytime schedule [schedule.bedroom_daytime] changes its state, when the home state input boolean [input_boolean.home_state] changes, or every 15 minutes.",
"conditions": "The automation only proceeds if the upstairs windows sensor [binary_sensor.upstairs_windows] indicates that all windows are closed (off).",
"action": "If the bedroom daytime schedule [schedule.bedroom_daytime] is active (on), it checks the home state. If the home is occupied (home state input boolean [input_boolean.home_state] is on), it sets the bedroom climate [climate.bedroom] to 20°C. If the home is not occupied (home state input boolean [input_boolean.home_state] is off), it sets the temperature to 18°C. If the bedroom daytime schedule [schedule.bedroom_daytime] is not active (off), it sets the bedroom climate [climate.bedroom] to 19°C."
},
"human_like": "Adjusts the bedroom temperature based on the time of day and whether someone is home, but only if the upstairs windows are closed.",
"complexity": "medium"
}
},
{
"id": "Heating - Bedroom - Window",
"result": {
"structured": "TRIGGER: When the state of upstairs windows sensor [binary_sensor.upstairs_windows] changes. CONDITIONS: None. ACTIONS: Choose based on the state of upstairs windows sensor [binary_sensor.upstairs_windows]. If state is 'on', turn off bedroom climate [climate.bedroom]. If state is 'off', choose based on the state of bedroom daytime schedule [schedule.bedroom_daytime]. If schedule is 'on', set bedroom climate [climate.bedroom] temperature to 20°C. If schedule is 'off', set bedroom climate [climate.bedroom] temperature to 18°C.",
"natural_language": {
"trigger": "Whenever the state of the upstairs windows sensor [binary_sensor.upstairs_windows] changes.",
"conditions": "There are no separate conditions; the logic is handled within the action sequence.",
"action": "If the windows are reported as open, the bedroom climate [climate.bedroom] is turned off. If the windows are reported as closed, the automation checks the bedroom daytime schedule [schedule.bedroom_daytime]. If the schedule is active, it sets the bedroom climate [climate.bedroom] to 20°C. If the schedule is inactive, it sets the bedroom climate [climate.bedroom] to 18°C."
},
"human_like": "Controls the bedroom heating based on whether the upstairs windows are open or closed, adjusting the temperature according to the daytime schedule when windows are closed.",
"complexity": "medium"
}
},
{
"id": "Heating - Hallway - Schedule",
"result": {
"structured": "TRIGGER: When hallway daytime schedule [schedule.hallway_daytime] changes state OR When home state input boolean [input_boolean.home_state] changes state OR When the time matches a pattern (every 15 minutes). CONDITIONS: living room window opening sensor [binary_sensor.living_room_window_opening] is closed (off). ACTIONS: If hallway daytime schedule [schedule.hallway_daytime] is on, then: If home state input boolean [input_boolean.home_state] is on, set hallway climate [climate.hallway] temperature to 21°C. If home state input boolean [input_boolean.home_state] is off, set hallway climate [climate.hallway] temperature to 18°C. If hallway daytime schedule [schedule.hallway_daytime] is off, set hallway climate [climate.hallway] temperature to 20°C.",
"natural_language": {
"trigger": "The automation runs when the hallway daytime schedule [schedule.hallway_daytime] changes, when the home state input boolean [input_boolean.home_state] changes, or every 15 minutes.",
"conditions": "The automation only proceeds if the living room window opening sensor [binary_sensor.living_room_window_opening] indicates the window is closed.",
"action": "Depending on the state of the schedule, it sets the hallway climate [climate.hallway] to different temperatures. If the daytime schedule is active, it sets the temperature to 21°C when the home state is 'on' (someone is home) or to 18°C when the home state is 'off' (no one is home). If the daytime schedule is not active, it sets the temperature to 20°C."
},
"human_like": "Automatically adjusts the hallway temperature based on the time of day and whether anyone is home, but only if the living room window is closed.",
"complexity": "medium"
}
},
{
"id": "Heating - Hallway - Window",
"result": {
"structured": "TRIGGER: When living room window opening sensor [binary_sensor.living_room_window_opening] changes state. CONDITIONS: None. ACTIONS: If living room window opening sensor [binary_sensor.living_room_window_opening] is on, turn off hallway climate [climate.hallway]. If living room window opening sensor [binary_sensor.living_room_window_opening] is off, then if hallway daytime schedule [schedule.hallway_daytime] is on, set hallway climate [climate.hallway] temperature to 21°C, otherwise if hallway daytime schedule [schedule.hallway_daytime] is off, set hallway climate [climate.hallway] temperature to 20°C.",
"natural_language": {
"trigger": "Whenever the state of the living room window opening sensor [binary_sensor.living_room_window_opening] changes.",
"conditions": "There are no additional conditions that must be met for the automation to run.",
"action": "If the window is detected as open, the heating in the hallway is turned off. If the window is detected as closed, the automation checks the hallway daytime schedule [schedule.hallway_daytime]. If the schedule is active (on), it sets the hallway climate [climate.hallway] temperature to 21°C. If the schedule is not active (off), it sets the temperature to 20°C."
},
"human_like": "Controls the hallway heating based on the living room window: turns it off when the window is open, and sets it to a day or night temperature when the window is closed.",
"complexity": "medium"
}
},
{
"id": "Heating - Kitchen - Schedule",
"result": {
"structured": "TRIGGER: When kitchen evening schedule [schedule.kitchen_evening] changes state OR when home state input boolean [input_boolean.home_state] changes state OR every 15 minutes (time pattern). CONDITIONS: None (conditions are evaluated inside the choose action). ACTIONS: If kitchen evening schedule [schedule.kitchen_evening] is on, then: if home state input boolean [input_boolean.home_state] is on, set kitchen climate [climate.kitchen] temperature to 21°C; if home state input boolean [input_boolean.home_state] is off, set kitchen climate [climate.kitchen] temperature to 19°C. If kitchen evening schedule [schedule.kitchen_evening] is off, set kitchen climate [climate.kitchen] temperature to 20°C.",
"natural_language": {
"trigger": "The automation runs when the kitchen evening schedule [schedule.kitchen_evening] changes state, when the home state input boolean [input_boolean.home_state] changes state, or every 15 minutes.",
"conditions": "There are no global conditions. The logic is handled within the action sequence, which checks the state of the schedule and the home state to decide the target temperature.",
"action": "If the kitchen evening schedule [schedule.kitchen_evening] is active (on), it sets the kitchen climate [climate.kitchen] temperature to 21°C when the home state input boolean [input_boolean.home_state] indicates someone is home (on), or to 19°C when the home state indicates away (off). If the kitchen evening schedule [schedule.kitchen_evening] is not active (off), it sets the kitchen climate [climate.kitchen] temperature to 20°C."
},
"human_like": "Adjusts the kitchen temperature based on the evening schedule and whether someone is home, with a fallback temperature when the schedule is off.",
"complexity": "medium"
}
},
{
"id": "Heating - Living Room - Schedule",
"result": {
"structured": "TRIGGER: When living room evening schedule [schedule.living_room_evening] changes state OR When home state input boolean [input_boolean.home_state] changes state OR When the time matches a pattern (every 15 minutes). CONDITIONS: living room window opening sensor [binary_sensor.living_room_window_opening] is closed (off). ACTIONS: If living room evening schedule [schedule.living_room_evening] is on, then if home state input boolean [input_boolean.home_state] is on, set living room climate [climate.living_room] temperature to 22°C, otherwise if home state input boolean [input_boolean.home_state] is off, set living room climate [climate.living_room] temperature to 18°C. If living room evening schedule [schedule.living_room_evening] is off, set living room climate [climate.living_room] temperature to 20°C.",
"natural_language": {
"trigger": "The automation runs when the living room evening schedule [schedule.living_room_evening] changes, when the home state input boolean [input_boolean.home_state] changes, or every 15 minutes.",
"conditions": "It only proceeds if the living room window opening sensor [binary_sensor.living_room_window_opening] indicates the window is closed.",
"action": "Based on the schedule, it sets the living room climate [climate.living_room] temperature. If the evening schedule is active, it sets the temperature to 22°C when the home state is 'on' (someone home) or 18°C when the home state is 'off' (away). If the evening schedule is not active, it sets the temperature to 20°C."
},
"human_like": "Automatically adjusts the living room temperature based on the evening schedule and whether someone is home, but only if the window is closed.",
"complexity": "medium"
}
},
{
"id": "Heating - Living Room - Window",
"result": {
"structured": "TRIGGER: When the state of living room window opening sensor [binary_sensor.living_room_window_opening] changes. CONDITIONS: None. ACTIONS: If living room window opening sensor [binary_sensor.living_room_window_opening] is on, turn off living room climate [climate.living_room]. If living room window opening sensor [binary_sensor.living_room_window_opening] is off, then if living room evening schedule [schedule.living_room_evening] is on, set living room climate [climate.living_room] temperature to 22; otherwise, set living room climate [climate.living_room] temperature to 20.",
"natural_language": {
"trigger": "Whenever the living room window opening sensor [binary_sensor.living_room_window_opening] changes its state.",
"conditions": "There are no global conditions for this automation.",
"action": "If the window is detected as open, the heating is turned off for the living room climate [climate.living_room]. If the window is detected as closed, the automation checks the living room evening schedule [schedule.living_room_evening]. If the evening schedule is active, it sets the living room heating temperature to 22 degrees. If the evening schedule is not active, it sets the temperature to 20 degrees."
},
"human_like": "Controls the living room heating based on the window status: turns it off when the window is open, and sets it to a scheduled temperature when the window is closed.",
"complexity": "medium"
}
},
{
"id": "Heating - Nursery - Schedule",
"result": {
"structured": "TRIGGER: When home state input boolean [input_boolean.home_state] changes state OR at every quarter past the hour (minutes divisible by 15). CONDITIONS: None. ACTIONS: If home state input boolean [input_boolean.home_state] is on, set nursery climate [climate.nursery] temperature to 21°C. If home state input boolean [input_boolean.home_state] is off, set nursery climate [climate.nursery] temperature to 19°C.",
"natural_language": {
"trigger": "The automation runs whenever the home state input boolean [input_boolean.home_state] changes its state, or every 15 minutes on the clock.",
"conditions": "There are no conditions that must be met for the automation to proceed.",
"action": "Depending on the state of the home state input boolean [input_boolean.home_state], it sets the temperature for the nursery climate [climate.nursery]. If the home state is 'on', it sets the temperature to 21°C. If the home state is 'off', it sets the temperature to 19°C."
},
"human_like": "Adjusts the nursery temperature based on whether the home state is set to 'on' or 'off', ensuring the room is warmer when someone is home.",
"complexity": "medium"
}
},
{
"id": "Homekit Presence - Restart",
"result": {
"structured": "TRIGGER: When Home Assistant starts. CONDITIONS: None. ACTIONS: In parallel, for each person: If bertie present input boolean [input_boolean.bertie_present] is on, then update device tracker homekit_bertie to 'home'. If stoof present input boolean [input_boolean.stoof_present] is on, then update device tracker homekit_stoof to 'home'. If housesitter present input boolean [input_boolean.housesitter_present] is on, then update device tracker homekit_housesitter to 'home'.",
"natural_language": {
"trigger": "When Home Assistant starts up.",
"conditions": "There are no conditions that must be met.",
"action": "The automation runs three independent checks in parallel. It checks the state of each person's presence input boolean. If bertie present input boolean [input_boolean.bertie_present] is on, it updates the HomeKit device tracker for Bertie to show they are at home. Similarly, if stoof present input boolean [input_boolean.stoof_present] is on, it updates the HomeKit device tracker for Stoof to show they are at home. Finally, if housesitter present input boolean [input_boolean.housesitter_present] is on, it updates the HomeKit device tracker for the housesitter to show they are at home."
},
"human_like": "Restores HomeKit presence status for each person when Home Assistant restarts, based on their saved presence state.",
"complexity": "medium"
}
},
{
"id": "Homekit Presence - Toggle",
"result": {
"structured": "TRIGGER: When bertie present input boolean [input_boolean.bertie_present] changes state OR When stoof present input boolean [input_boolean.stoof_present] changes state OR When housesitter present input boolean [input_boolean.housesitter_present] changes state. CONDITIONS: None. ACTIONS: If the new state of the triggering entity is 'on', then call device_tracker.see with dev_id: homekit_{{ trigger.to_state.name }} and location_name: home. If the new state of the triggering entity is 'off', then call device_tracker.see with dev_id: homekit_{{ trigger.to_state.name }} and location_name: not_home.",
"natural_language": {
"trigger": "Whenever the state of bertie present input boolean [input_boolean.bertie_present], stoof present input boolean [input_boolean.stoof_present], or housesitter present input boolean [input_boolean.housesitter_present] changes.",
"conditions": "There are no conditions that must be met.",
"action": "Depending on the new state of the input boolean that triggered the automation: if it was turned on, it reports the corresponding person (Bertie, Stoof, or Housesitter) as being at home in the device tracker. If it was turned off, it reports that person as not at home."
},
"human_like": "Updates the HomeKit device tracker status for Bertie, Stoof, or the housesitter whenever their corresponding presence input boolean is toggled.",
"complexity": "medium"
}
},
{
"id": "Home State - Update",
"result": {
"structured": "TRIGGER: When the state of family group [group.family] changes. CONDITIONS: None. ACTIONS: If family group [group.family] is home, then turn on home state input boolean [input_boolean.home_state]. Otherwise, if family group [group.family] is not_home, then turn off home state input boolean [input_boolean.home_state].",
"natural_language": {
"trigger": "Whenever the state of the family group [group.family] changes.",
"conditions": "There are no additional conditions that must be met.",
"action": "If the family group [group.family] is at home, the automation turns on the home state input boolean [input_boolean.home_state]. If the family group [group.family] is not at home, it turns off the home state input boolean [input_boolean.home_state]."
},
"human_like": "Updates a home state indicator to reflect whether the family is at home or away.",
"complexity": "low"
}
},
{
"id": "Lights - Bedroom - Schedule",
"result": {
"structured": "TRIGGER: At 20:30:00. CONDITIONS: (bertie person [person.bertie] is home) OR (stoof person [person.stoof] is home). ACTIONS: Turn on bedroom light [light.bedroom] with color temperature 2600 Kelvin and brightness 100%.",
"natural_language": {
"trigger": "The automation triggers every day at 8:30 PM.",
"conditions": "At least one of the residents, either bertie person [person.bertie] or stoof person [person.stoof], must be home.",
"action": "Turns on the bedroom light [light.bedroom] to a warm white color (2600K) at full brightness."
},
"human_like": "Turns on the bedroom light at 8:30 PM if someone is home.",
"complexity": "low"
}
},
{
"id": "Lights - Landing - Schedule",
"result": {
"structured": "TRIGGER: When sun sun [sun.sun] elevation drops below 5 degrees OR when the time reaches 21:00:00. CONDITIONS: home state input boolean [input_boolean.home_state] is on. ACTIONS: If the current time is between 14:30:00 and 21:00:00, turn on hare light [light.hare] with a color temperature of 2600 Kelvin and 70% brightness. If the current time is between 21:00:00 and 06:00:00, turn off hare light [light.hare].",
"natural_language": {
"trigger": "The automation triggers either when the sun's elevation falls below 5 degrees, or at exactly 9:00 PM.",
"conditions": "The automation only runs if the home state input boolean [input_boolean.home_state] is set to 'on', indicating the home is in an active state.",
"action": "Depending on the time of day, the automation performs different actions. If it's between 2:30 PM and 9:00 PM, it turns on the hare light [light.hare] with a warm white color (2600K) at 70% brightness. If it's between 9:00 PM and 6:00 AM, it turns off the hare light [light.hare]."
},
"human_like": "Automatically turns on the landing light in the evening and turns it off at night, but only when the home is in an active state.",
"complexity": "medium"
}
},
{
"id": "Lights - Living Room - Schedule",
"result": {
"structured": "TRIGGER: When sun sun [sun.sun] elevation falls below 7 degrees OR at 01:00:00. CONDITIONS: home state input boolean [input_boolean.home_state] is on AND living room light [light.living_room] is off. ACTIONS: If the current time is between 14:30:00 and 23:59:00, turn on living room light [light.living_room] with color temperature 2600K and brightness 70%. If the current time is between 23:59:00 and 06:00:00, turn off living room light [light.living_room].",
"natural_language": {
"trigger": "The automation triggers either when the sun's elevation drops below 7 degrees, indicating evening or night, or at exactly 1:00 AM.",
"conditions": "The automation only runs if the home state input boolean [input_boolean.home_state] is set to 'on', meaning the home is in an active state, and the living room light [light.living_room] is currently off.",
"action": "Depending on the time of day, the automation will either turn on or off the living room light. If the time is between 2:30 PM and 11:59 PM, it turns the light on with a warm white color (2600K) at 70% brightness. If the time is between 11:59 PM and 6:00 AM, it turns the light off."
},
"human_like": "Automatically turns on the living room light in the evening with a cozy warm glow, and turns it off late at night, but only when the home is set to 'on' and the light isn't already on.",
"complexity": "medium"
}
},
{
"id": "Lights - Living Room - TV",
"result": {
"structured": "TRIGGER: When plex apple tv media player [media_player.plex_plex_for_apple_tv_apple_tv] changes state from playing OR when plex apple tv media player [media_player.plex_plex_for_apple_tv_apple_tv] changes state to playing. CONDITIONS: home state input boolean [input_boolean.home_state] is on. ACTIONS: If plex apple tv media player [media_player.plex_plex_for_apple_tv_apple_tv] is playing, then turn on living room light [light.living_room] with a color temperature of 2600 Kelvin and 30% brightness. Otherwise, turn on living room light [light.living_room] with a color temperature of 2600 Kelvin and 60% brightness.",
"natural_language": {
"trigger": "When the Plex Apple TV media player [media_player.plex_plex_for_apple_tv_apple_tv] starts playing media or stops playing media.",
"conditions": "The home must be in an 'on' state, as indicated by the home state input boolean [input_boolean.home_state].",
"action": "If the media player is currently playing, the living room light [light.living_room] is turned on to a dim, warm setting (30% brightness, 2600K). If the media player is not playing, the living room light [light.living_room] is turned on to a brighter, warm setting (60% brightness, 2600K)."
},
"human_like": "Adjusts the living room lights to a dim, theater-like setting when the TV starts playing, and to a brighter setting when it stops.",
"complexity": "medium"
}
},
{
"id": "Lights - Home - Presence",
"result": {
"structured": "TRIGGER: When home state input boolean [input_boolean.home_state] changes state. CONDITIONS: None. ACTIONS: If home state input boolean [input_boolean.home_state] is on AND sun sun [sun.sun] elevation is below 5, then turn on bedroom light [light.bedroom], landing light [light.landing], living room light [light.living_room], and study corner light [light.study_corner] to 100% brightness. Otherwise, if home state input boolean [input_boolean.home_state] is off, then turn off attic workstation switch [switch.attic_workstation_switch] and turn off bedroom light [light.bedroom], landing light [light.landing], living room light [light.living_room], and study light [light.study].",
"natural_language": {
"trigger": "Whenever the home state input boolean [input_boolean.home_state] changes its state.",
"conditions": "There are no global conditions. The actions are chosen based on the state of the home state input boolean and, in one case, the sun's elevation.",
"action": "If the home state is turned on and the sun's elevation is below 5 degrees, it turns on the bedroom, landing, living room, and study corner lights to full brightness. If the home state is turned off, it turns off the attic workstation switch and the bedroom, landing, living room, and study lights."
},
"human_like": "Turns on specific lights when someone is home and it's dark, and turns off lights and a workstation switch when no one is home.",
"complexity": "medium"
}
},
{
"id": "Sensor Low Battery",
"result": {
"structured": "TRIGGER: When nursery window battery sensor [sensor.nursery_window_battery] battery level falls below 10% OR When nursery window battery sensor [sensor.nursery_window_battery] becomes unavailable for 6 hours. CONDITIONS: None. ACTIONS: Send a notification to mobile app with a message containing the friendly name and current state of the triggering entity.",
"natural_language": {
"trigger": "When the battery level reported by the nursery window battery sensor [sensor.nursery_window_battery] drops below 10%, or when the sensor has been reporting as unavailable for six consecutive hours.",
"conditions": "There are no additional conditions that must be met.",
"action": "Sends a notification to a mobile device, stating the friendly name of the sensor and its current battery level or status."
},
"human_like": "Sends a phone notification when the nursery window sensor's battery is low or the sensor is offline for an extended period.",
"complexity": "low"
}
},
{
"id": "Octopus - Wheel of Fortune spins",
"result": {
"structured": "TRIGGER: When octopus wheel of fortune electricity spins [sensor.octopus_energy_a_e94ebeba_wheel_of_fortune_spins_electricity] OR octopus wheel of fortune gas spins [sensor.octopus_energy_a_e94ebeba_wheel_of_fortune_spins_gas] has a numeric state above 0. CONDITIONS: None. ACTIONS: Create a persistent notification with title 'Wheel of Fortune spins available' and message 'Octopus - Wheel of Fortune spins available'.",
"natural_language": {
"trigger": "When either the octopus wheel of fortune electricity spins [sensor.octopus_energy_a_e94ebeba_wheel_of_fortune_spins_electricity] or the octopus wheel of fortune gas spins [sensor.octopus_energy_a_e94ebeba_wheel_of_fortune_spins_gas] sensor reports a value greater than zero.",
"conditions": "There are no additional conditions that must be met.",
"action": "Creates a persistent notification on the Home Assistant interface with the title 'Wheel of Fortune spins available' and the message 'Octopus - Wheel of Fortune spins available'."
},
"human_like": "Sends a notification when there are available spins on the Octopus Energy Wheel of Fortune for either electricity or gas.",
"complexity": "low"
}
},
{
"id": "Hass Startup Notification",
"result": {
"structured": "TRIGGER: When Home Assistant shutdown event occurs. CONDITIONS: None. ACTIONS: Send notification to mobile_app_berties_iphone with message '🌶 Home Assistant is shutting down'.",
"natural_language": {
"trigger": "When Home Assistant begins its shutdown process.",
"conditions": "There are no conditions for this automation.",
"action": "Sends a notification to the mobile device 'mobile_app_berties_iphone' with the message '🌶 Home Assistant is shutting down'."
},
"human_like": "Sends a notification to a user's phone when Home Assistant is shutting down.",
"complexity": "low"
}
},
{
"id": "Hass Startup Notification",
"result": {
"structured": "TRIGGER: When Home Assistant starts. CONDITIONS: None. ACTIONS: Send a notification to mobile_app_berties_iphone with the message '🌵 Home Assistant has started'.",
"natural_language": {
"trigger": "When Home Assistant finishes starting up.",
"conditions": "There are no conditions that must be met.",
"action": "Sends a notification to the device associated with mobile_app_berties_iphone, containing the message '🌵 Home Assistant has started'."
},
"human_like": "Sends a phone notification when Home Assistant starts up to confirm the system is running.",
"complexity": "low"
}
},
{
"id": "Update Available Notification",
"result": {
"structured": "TRIGGER: When home assistant core update [update.home_assistant_core_update] OR home assistant os update [update.home_assistant_operating_system_update] OR home assistant supervisor update [update.home_assistant_supervisor_update] changes to 'on'. CONDITIONS: None. ACTIONS: Send a notification to mobile_app_berties_iphone with the message '🛵 {{ state_attr(trigger.entity_id, 'friendly_name') }}'.",
"natural_language": {
"trigger": "When the state of any of the following updates becomes 'on', indicating an update is available: home assistant core update [update.home_assistant_core_update], home assistant os update [update.home_assistant_operating_system_update], or home assistant supervisor update [update.home_assistant_supervisor_update].",
"conditions": "There are no conditions that must be met for the action to run.",
"action": "Sends a push notification to a mobile device (mobile_app_berties_iphone) with a scooter emoji and the friendly name of the specific update that triggered the automation."
},
"human_like": "Sends a phone notification whenever a Home Assistant update becomes available.",
"complexity": "low"
}
},
{
"id": "Workstation - Attic - Schedule",
"result": {
"structured": "TRIGGER: When attic wfh schedule [schedule.attic_wfh] changes state. CONDITIONS: bertie person [person.bertie] is home. ACTIONS: If attic wfh schedule [schedule.attic_wfh] is on, then turn on attic workstation switch [switch.attic_workstation_switch]. If attic wfh schedule [schedule.attic_wfh] is off, then turn off attic workstation switch [switch.attic_workstation_switch].",
"natural_language": {
"trigger": "Whenever the attic wfh schedule [schedule.attic_wfh] changes its state.",
"conditions": "Bertie person [person.bertie] must be at home.",
"action": "If the schedule is turned on, the attic workstation switch [switch.attic_workstation_switch] is turned on. If the schedule is turned off, the attic workstation switch [switch.attic_workstation_switch] is turned off."
},
"human_like": "Turns the attic workstation on or off based on the work-from-home schedule, but only when Bertie is home.",
"complexity": "medium"
}
}
]