171 lines
28 KiB
JSON
171 lines
28 KiB
JSON
[
|
|
{
|
|
"id": "bedroom_blackout",
|
|
"result": {
|
|
"structured": "TRIGGER: When weather sensor [sensor.weather] changes to 'night' OR When weather sensor [sensor.weather] changes from 'night' to any state except 'unavailable' OR When anyone asleep sensor [binary_sensor.anyone_asleep] changes to 'on' or 'off' OR When bedroom window sensor [binary_sensor.bedroom_window] changes to 'off' and remains for 3 seconds. CONDITIONS: (The automation uses a choose action with three conditional branches. Branch 1: (weather sensor [sensor.weather] is NOT 'night') AND (anyone asleep sensor [binary_sensor.anyone_asleep] is 'off'). Branch 2: (weather sensor [sensor.weather] is NOT 'night') AND (anyone asleep sensor [binary_sensor.anyone_asleep] is 'on') AND (bedroom window sensor [binary_sensor.bedroom_window] is 'off'). Branch 3: (The current time is before sunrise AND after sunrise with a -3 hour offset) AND (anyone asleep sensor [binary_sensor.anyone_asleep] is 'on') AND (bedroom window sensor [binary_sensor.bedroom_window] is 'off').) ACTIONS: Based on the satisfied branch: Branch 1: Activate bedroom blackout open scene [scene.bedroom_blackout_open]. Branch 2: Activate bedroom blackout scene [scene.bedroom_blackout]. Branch 3: Activate bedroom blackout scene [scene.bedroom_blackout].",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered in several ways: when the weather sensor [sensor.weather] indicates it is night, when the weather sensor [sensor.weather] changes from night to any other state (except 'unavailable'), when the anyone asleep sensor [binary_sensor.anyone_asleep] changes to either on or off, or when the bedroom window sensor [binary_sensor.bedroom_window] is closed (off) for at least three seconds.",
|
|
"conditions": "The automation selects one action from three possible scenarios. First, if it is not night and no one is asleep, it will open the blackout blinds. Second, if it is not night but someone is asleep and the bedroom window is closed, it will close the blackout blinds. Third, if it is within the three hours before sunrise, someone is asleep, and the bedroom window is closed, it will also close the blackout blinds.",
|
|
"action": "Depending on the conditions met, the automation either opens the blackout blinds by activating the bedroom blackout open scene [scene.bedroom_blackout_open], or closes them by activating the bedroom blackout scene [scene.bedroom_blackout]."
|
|
},
|
|
"human_like": "Automatically opens the bedroom blackout blinds when it's daytime and no one is asleep, and closes them when it's night or early morning and someone is sleeping with the window closed.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "bedroom_play",
|
|
"result": {
|
|
"structured": "TRIGGER: When bedroom play input boolean [input_boolean.bedroom_play] changes state to on OR off. CONDITIONS: None. ACTIONS: If bedroom play input boolean [input_boolean.bedroom_play] is on, then turn on bedroom bed left light [light.bedroom_bed_left], bedroom bed right light [light.bedroom_bed_right], bedroom wall left light [light.bedroom_wall_left], bedroom wall right light [light.bedroom_wall_right], bedroom left bedside light [light.bedroom_left_bedside], and bedroom right bedside light [light.bedroom_right_bedside]; wait 3 seconds; create a scene named bedroom play scene [scene.bedroom_play] from the current state of those lights; and execute bedroom play script [script.bedroom_play]. If bedroom play input boolean [input_boolean.bedroom_play] is off, then activate the saved bedroom play scene [scene.bedroom_play] and then delete that scene.",
|
|
"natural_language": {
|
|
"trigger": "Whenever the bedroom play input boolean [input_boolean.bedroom_play] is turned on or off.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "If the input boolean is turned on, the automation will turn on a set of six bedroom lights, wait for three seconds, create a snapshot of those lights' states as a scene named 'bedroom play', and then run the 'bedroom play' script. If the input boolean is turned off, the automation will first restore the lights to the state saved in the 'bedroom play' scene and then delete that scene."
|
|
},
|
|
"human_like": "Manages a 'play' mode for the bedroom by setting up specific lighting and running a script when enabled, and restoring the previous lighting state when disabled.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "dining_room_blinds",
|
|
"result": {
|
|
"structured": "TRIGGER: When sun sun [sun.sun] azimuth is above 220 OR sun sun [sun.sun] elevation is below 55 OR sun sun [sun.sun] elevation is below 45 OR sun sun [sun.sun] elevation is below 24 OR sun sun [sun.sun] elevation is below 5.5 OR weather sensor [sensor.weather] state changes to any state except unavailable OR dining room top windows sensor [binary_sensor.dining_room_top_windows] remains off for 3 seconds OR dining room bottom windows sensor [binary_sensor.dining_room_bottom_windows] remains off for 3 seconds OR loft tv media player [media_player.loft_tv] state changes to on OR off OR dining room play input boolean [input_boolean.dining_room_play] state changes to on OR off OR loft play input boolean [input_boolean.loft_play] state changes to on OR off. CONDITIONS: None. ACTIONS: Set a variable 'target' based on a series of conditional checks. The first matching condition sets 'target' as follows: 1. If sun sun [sun.sun] azimuth is above 220 AND sun sun [sun.sun] elevation is between 5.5 and 24 AND weather sensor [sensor.weather] is 'hot-day' OR 'day', then target = 100. 2. If dining room play input boolean [input_boolean.dining_room_play] is on, then target = 100. 3. If sun sun [sun.sun] azimuth is above 220 AND sun sun [sun.sun] elevation is between 24 and 45 AND weather sensor [sensor.weather] is 'hot-day' OR 'day', then target = 66. 4. If sun sun [sun.sun] azimuth is above 220 AND sun sun [sun.sun] elevation is between 45 and 55 AND weather sensor [sensor.weather] is 'hot-day' OR 'day', then target = 33. 5. If loft play input boolean [input_boolean.loft_play] is on, then target = 33. 6. If weather sensor [sensor.weather] is NOT 'night' AND loft tv media player [media_player.loft_tv] is on, then target = 33. 7. If weather sensor [sensor.weather] is NOT 'night', then target = 0. 8. If weather sensor [sensor.weather] is 'night', then target = -1. Then, based on the 'target' variable, activate a scene: If target >= 100 AND dining room top windows sensor [binary_sensor.dining_room_top_windows] is off AND dining room bottom windows sensor [binary_sensor.dining_room_bottom_windows] is off, activate dining room evening sun scene [scene.dining_room_evening_sun]. Else if target >= 66 AND dining room top windows sensor [binary_sensor.dining_room_top_windows] is off, activate dining room late afternoon sun scene [scene.dining_room_late_afternoon_sun]. Else if target >= 33 AND dining room top windows sensor [binary_sensor.dining_room_top_windows] is off, activate dining room afternoon sun scene [scene.dining_room_afternoon_sun]. Else if target >= 0, activate dining room daytime scene [scene.dining_room_daytime]. Else if target < 0, activate dining room nighttime scene [scene.dining_room_nighttime].",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered by several events: changes in the sun's position (azimuth above 220 or elevation below specific thresholds of 55, 45, 24, or 5.5), the weather sensor [sensor.weather] becoming available, the dining room top or bottom windows sensors [binary_sensor.dining_room_top_windows, binary_sensor.dining_room_bottom_windows] being off for 3 seconds, or changes in the state of the loft TV [media_player.loft_tv], the dining room play [input_boolean.dining_room_play], or the loft play [input_boolean.loft_play] input booleans.",
|
|
"conditions": "There are no separate conditions block. The logic is embedded within the action sequence using a series of choose blocks.",
|
|
"action": "The automation calculates a target value based on a priority list of scenarios. It first checks for specific combinations of sun position and weather to set a target for blind height (100, 66, 33). User overrides from the dining room play or loft play input booleans, or the loft TV being on, can also set the target. If none of the specific scenarios match and it's not night, the target is set to 0. If it is night, the target is set to -1. Finally, based on this target value and the state of the dining room top windows sensor, a specific scene is activated to adjust the blinds. For example, a target of 100 with the windows closed activates the evening sun scene, while a target of -1 activates the nighttime scene."
|
|
},
|
|
"human_like": "Automatically adjusts the dining room blinds throughout the day based on the sun's position, weather, and user activities like watching TV, creating an optimal lighting environment.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "dining_room_play",
|
|
"result": {
|
|
"structured": "TRIGGER: When dining room play input boolean [input_boolean.dining_room_play] changes to on OR off. CONDITIONS: None. ACTIONS: IF dining room play input boolean [input_boolean.dining_room_play] is on THEN turn on dining room beam light [light.dining_room_beam], dining room south left light [light.dining_room_south_left], dining room south right light [light.dining_room_south_right], dining room west left light [light.dining_room_west_left], dining room west center light [light.dining_room_west_center], and dining room west right light [light.dining_room_west_right]; wait 3 seconds; create a scene named dining room play scene [scene.dining_room_play] from the current states of those lights; run dining room play script [script.dining_room_play]. ELSE IF dining room play input boolean [input_boolean.dining_room_play] is off THEN activate the saved dining room play scene [scene.dining_room_play]; then delete dining room play scene [scene.dining_room_play].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the dining room play input boolean [input_boolean.dining_room_play] is turned on or off.",
|
|
"conditions": "There are no additional conditions; the automation runs based solely on the trigger.",
|
|
"action": "If the input boolean is turned on, the automation will turn on a set of six dining room lights, wait for three seconds, create a scene snapshot of those lights' current states, and then run the dining room play script [script.dining_room_play]. If the input boolean is turned off, the automation will first activate the previously saved dining room play scene [scene.dining_room_play] to restore the lights, and then delete that scene."
|
|
},
|
|
"human_like": "Manages a 'play' mode for the dining room by turning on specific lights, saving their state as a scene, and running a script when activated, then restoring the lights and cleaning up when deactivated.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "dining_room_tabletop",
|
|
"result": {
|
|
"structured": "TRIGGER: When dining room tabletop media player [media_player.dining_room_tabletop] changes state OR when weather sensor [sensor.weather] changes to 'night'. CONDITIONS: (dining room tabletop media player [media_player.dining_room_tabletop] is 'on' AND weather sensor [sensor.weather] is 'night') OR (dining room tabletop media player [media_player.dining_room_tabletop] is 'on') OR (the trigger is from dining room tabletop media player [media_player.dining_room_tabletop]). ACTIONS: If dining room tabletop media player [media_player.dining_room_tabletop] is on and weather sensor [sensor.weather] is night, run dining room dnd script [script.dining_room_dnd]. Otherwise, if dining room tabletop media player [media_player.dining_room_tabletop] is on, run dining room game setup script [script.dining_room_game_setup]. Otherwise, if the trigger is from dining room tabletop media player [media_player.dining_room_tabletop], run dining room game over script [script.dining_room_game_over].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers either when the dining room tabletop media player [media_player.dining_room_tabletop] changes its state, or when the weather sensor [sensor.weather] changes to indicate 'night'.",
|
|
"conditions": "The automation uses a choose action to select which script to run based on conditions. The first option runs if the dining room tabletop media player [media_player.dining_room_tabletop] is on and the weather sensor [sensor.weather] is reporting 'night'. The second option runs if the dining room tabletop media player [media_player.dining_room_tabletop] is on, regardless of the weather. The third option runs if the trigger that started the automation was specifically a change in the dining room tabletop media player [media_player.dining_room_tabletop].",
|
|
"action": "Depending on the conditions, the automation will run one of three scripts. If it's night and the tabletop is on, it runs the dining room dnd script [script.dining_room_dnd]. If the tabletop is on (but it's not night), it runs the dining room game setup script [script.dining_room_game_setup]. If the automation was triggered by a change in the tabletop's state (which could be turning off or another change), it runs the dining room game over script [script.dining_room_game_over]."
|
|
},
|
|
"human_like": "Controls dining room lighting scenes based on whether the tabletop TV is on and the time of day, running different scripts for game setup, a 'do not disturb' night mode, or a game over cleanup.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "door_opened_notification",
|
|
"result": {
|
|
"structured": "TRIGGER: When doors opened while not occupied sensor [binary_sensor.doors_opened_while_not_occupied] turns on. CONDITIONS: None. ACTIONS: Send a notification to mobile app scottys iphone notify [notify.mobile_app_scottys_iphone] with the title 'Door Opened' and a message containing the friendly name of the door entity stored in the 'door' attribute of doors opened while not occupied sensor [binary_sensor.doors_opened_while_not_occupied].",
|
|
"natural_language": {
|
|
"trigger": "When the sensor that detects doors opened while not occupied [binary_sensor.doors_opened_while_not_occupied] becomes active (turns on).",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Sends a push notification to the mobile device [notify.mobile_app_scottys_iphone] with the title 'Door Opened'. The message body will display the friendly name of the specific door that triggered the sensor, which is retrieved from the sensor's attributes."
|
|
},
|
|
"human_like": "Sends a phone notification when a door is opened while the house is empty.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "gaming_power_limit",
|
|
"result": {
|
|
"structured": "TRIGGER: When gaming power limit sensor [binary_sensor.gaming_power_limit] changes to on OR off OR when vecna lastsystemstatechange sensor [sensor.vecna_lastsystemstatechange] changes to null. CONDITIONS: None. ACTIONS: If gaming power limit sensor [binary_sensor.gaming_power_limit] is on, then press vecna power limit enable button [button.vecna_power_limit_enable] AND turn off office wall desk right switch top [switch.office_wall_desk_right_switch_top] AND turn off loft wall south switch top [switch.loft_wall_south_switch_top]. Otherwise, press vecna power limit disable button [button.vecna_power_limit_disable] AND turn on office wall desk right switch top [switch.office_wall_desk_right_switch_top] AND turn on loft wall south switch top [switch.loft_wall_south_switch_top].",
|
|
"natural_language": {
|
|
"trigger": "The automation runs when the gaming power limit sensor [binary_sensor.gaming_power_limit] turns on or off, or when the vecna lastsystemstatechange sensor [sensor.vecna_lastsystemstatechange] changes to a null state.",
|
|
"conditions": "There are no additional conditions that must be met for the automation to proceed.",
|
|
"action": "If the gaming power limit sensor [binary_sensor.gaming_power_limit] is on, the automation will press the vecna power limit enable button [button.vecna_power_limit_enable] and turn off two switches: the office wall desk right switch top [switch.office_wall_desk_right_switch_top] and the loft wall south switch top [switch.loft_wall_south_switch_top]. If the sensor is not on, it will instead press the vecna power limit disable button [button.vecna_power_limit_disable] and turn on both of those switches."
|
|
},
|
|
"human_like": "Manages power consumption by enabling a GPU power limit and turning off certain switches when a gaming power limit is active, and reversing those actions when it's not.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "home_off",
|
|
"result": {
|
|
"structured": "TRIGGER: When anyone home sensor [binary_sensor.anyone_home] changes to off OR when anyone asleep sensor [binary_sensor.anyone_asleep] changes to on. CONDITIONS: None. ACTIONS: Turn off lights in the kitchen, downstairs_bathroom, bathroom, stairs, and roof areas, and also turn off dining room chandelier light [light.dining_room_chandelier], dining room spots light [light.dining_room_spots], bedroom left closet light [light.bedroom_left_closet], and bedroom right closet light [light.bedroom_right_closet]. Pause media on dining room media player [media_player.dining_room], kitchen media player [media_player.kitchen], office media player [media_player.office], bedroom media player [media_player.bedroom], loft media player [media_player.loft], bathroom media player [media_player.bathroom], and downstairs bathroom media player [media_player.downstairs_bathroom]. Turn off loft tv media player [media_player.loft_tv].",
|
|
"natural_language": {
|
|
"trigger": "When the anyone home sensor [binary_sensor.anyone_home] indicates that nobody is home, or when the anyone asleep sensor [binary_sensor.anyone_asleep] indicates that someone is asleep.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Turn off a set of lights in specific areas and specific entities, pause media playback on a list of media players throughout the home, and turn off the loft TV."
|
|
},
|
|
"human_like": "Turns off lights and pauses media players when everyone leaves the house or goes to sleep, helping to save energy.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "kitchen_blinds",
|
|
"result": {
|
|
"structured": "TRIGGER: When sun sun sensor [sun.sun] azimuth rises above 115 OR When sun sun sensor [sun.sun] azimuth rises above 235 OR When weather sensor [sensor.weather] changes state from unavailable to any other state OR When loft tv media player [media_player.loft_tv] turns on or off OR When dining room play input boolean [input_boolean.dining_room_play] turns on or off OR When loft play input boolean [input_boolean.loft_play] turns on or off. ACTIONS: Choose the first matching condition sequence: 1. IF (sun sun sensor [sun.sun] azimuth is between 115 and 235) AND (weather sensor [sensor.weather] state is hot-day) THEN activate kitchen sun scene [scene.kitchen_sun]. 2. IF dining room play input boolean [input_boolean.dining_room_play] state is on THEN activate kitchen sun scene [scene.kitchen_sun]. 3. IF (weather sensor [sensor.weather] state is NOT night) AND (loft tv media player [media_player.loft_tv] state is on) THEN activate kitchen nighttime scene [scene.kitchen_nighttime]. 4. IF loft play input boolean [input_boolean.loft_play] state is on THEN activate kitchen nighttime scene [scene.kitchen_nighttime]. 5. IF weather sensor [sensor.weather] state is NOT night THEN activate kitchen daytime scene [scene.kitchen_daytime]. 6. IF weather sensor [sensor.weather] state is night THEN activate kitchen nighttime scene [scene.kitchen_nighttime].",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered by several events: when the sun's azimuth rises above 115 degrees, when it rises above 235 degrees, when the weather sensor [sensor.weather] becomes available (changes from 'unavailable'), when the loft tv media player [media_player.loft_tv] is turned on or off, when the dining room play input boolean [input_boolean.dining_room_play] is turned on or off, or when the loft play input boolean [input_boolean.loft_play] is turned on or off.",
|
|
"conditions": "The automation uses a choose action to select the appropriate scene based on the current state of various entities. The conditions are checked in order, and the first one that matches is executed. The conditions check for: 1) The sun's azimuth being between 115 and 235 degrees and the weather being a 'hot-day'. 2) The dining room play input boolean [input_boolean.dining_room_play] being on. 3) The weather not being 'night' and the loft tv media player [media_player.loft_tv] being on. 4) The loft play input boolean [input_boolean.loft_play] being on. 5) The weather not being 'night'. 6) The weather being 'night'.",
|
|
"action": "Depending on which condition is met, the automation will activate one of three scenes in the kitchen: the kitchen sun scene [scene.kitchen_sun], the kitchen daytime scene [scene.kitchen_daytime], or the kitchen nighttime scene [scene.kitchen_nighttime]."
|
|
},
|
|
"human_like": "Automatically adjusts the kitchen blinds by activating different lighting scenes based on the time of day, sun position, weather conditions, and media playback status in other rooms.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "kitchen_home_at_night",
|
|
"result": {
|
|
"structured": "TRIGGER: When anyone home sensor [binary_sensor.anyone_home] changes to on (excluding from unavailable) OR when Person Scotty [person.scotty] enters zone.home. CONDITIONS: weather sensor [sensor.weather] state is night. ACTIONS: Turn on entrance light [light.entrance], wait 15 minutes, then turn off entrance light [light.entrance].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when the anyone home sensor [binary_sensor.anyone_home] indicates someone is home, or when Person Scotty [person.scotty] enters the home zone.",
|
|
"conditions": "The automation only runs if the weather sensor [sensor.weather] reports that it is night.",
|
|
"action": "It turns on the entrance light [light.entrance], waits for 15 minutes, and then turns the light off."
|
|
},
|
|
"human_like": "Turns on the entrance light for 15 minutes when someone arrives home at night.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "kitchen_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When dining room motion occupancy sensor [binary_sensor.dining_room_motion_occupancy] turns on OR When anyone home sensor [binary_sensor.anyone_home] turns on (not from unavailable) OR When Person Scotty [person.scotty] enters zone.home. CONDITIONS: weather sensor [sensor.weather] state is night OR cloudy-day AND (kitchen counter light [light.kitchen_counter] is off OR kitchen lights automation [automation.kitchen_lights] attribute 'current' is 1) AND anyone home sensor [binary_sensor.anyone_home] is on. ACTIONS: IF kitchen counter light [light.kitchen_counter] is off THEN turn on kitchen counter light [light.kitchen_counter] with brightness 25% AND delay 3 seconds. THEN wait for a state change in kitchen counter light [light.kitchen_counter] for up to 15 minutes. IF the wait did NOT complete (timeout occurred) THEN turn off kitchen counter light [light.kitchen_counter].",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered in three ways: when motion is detected by the dining room motion occupancy sensor [binary_sensor.dining_room_motion_occupancy], when the anyone home sensor [binary_sensor.anyone_home] indicates someone is home (excluding transitions from an unavailable state), or when Person Scotty [person.scotty] arrives home by entering the home zone.",
|
|
"conditions": "Several conditions must be met for the automation to run. First, the weather sensor [sensor.weather] must report that it is either night or cloudy-day. Second, either the kitchen counter light [light.kitchen_counter] must be off, or the kitchen lights automation [automation.kitchen_lights] must be currently running (its 'current' attribute is 1). Finally, the anyone home sensor [binary_sensor.anyone_home] must be on, confirming that someone is home.",
|
|
"action": "If the kitchen counter light [light.kitchen_counter] is off, the automation will first turn it on at 25% brightness and wait for 3 seconds. It then waits for up to 15 minutes for a state change in the kitchen counter light. If no state change occurs within that 15-minute period, the automation will turn the light off."
|
|
},
|
|
"human_like": "Turns on the kitchen counter lights at a low brightness for 15 minutes when motion is detected or someone arrives home during cloudy or nighttime hours, provided someone is home.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "loft_play",
|
|
"result": {
|
|
"structured": "TRIGGER: When loft play input boolean [input_boolean.loft_play] changes to on OR off. CONDITIONS: None. ACTIONS: Choose based on the state of loft play input boolean [input_boolean.loft_play]. If state is on: Turn on loft balcony left light [light.loft_balcony_left], loft balcony center light [light.loft_balcony_center], loft balcony right light [light.loft_balcony_right], loft wall left light [light.loft_wall_left], loft wall center light [light.loft_wall_center], loft wall right light [light.loft_wall_right], loft east left light [light.loft_east_left], loft east right light [light.loft_east_right], loft south left light [light.loft_south_left], and loft south right light [light.loft_south_right]; Wait for 3 seconds; Create a scene named loft play [scene.loft_play] from the current state of the listed lights; Execute loft play script [script.loft_play]. If state is off: Turn on loft play scene [scene.loft_play]; Delete loft play scene [scene.loft_play].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the loft play input boolean [input_boolean.loft_play] is turned on or off.",
|
|
"conditions": "There are no additional conditions for this automation.",
|
|
"action": "Depending on the state of the input boolean, different actions are taken. When it is turned on, it first turns on a specific set of lights in the loft, waits three seconds, creates a scene snapshot of those lights' current states, and then runs the loft play script [script.loft_play]. When it is turned off, it activates the previously saved loft play scene [scene.loft_play] and then immediately deletes that scene."
|
|
},
|
|
"human_like": "Manages a 'play' mode for the loft by turning on specific lights and saving their state as a scene when activated, and restoring that scene before cleaning it up when deactivated.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "loft_tv",
|
|
"result": {
|
|
"structured": "TRIGGER: When loft tv media player [media_player.loft_tv] changes state to on OR off. CONDITIONS: None. ACTIONS: If loft tv media player [media_player.loft_tv] is on, turn off loft ceiling light [light.loft_ceiling]. If loft tv media player [media_player.loft_tv] is off AND loft wall light [light.loft_wall] is on, turn on loft ceiling light [light.loft_ceiling].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the loft tv media player [media_player.loft_tv] is turned on or off.",
|
|
"conditions": "There are no global conditions for this automation. The actions are selected based on the state of the media player and the wall light.",
|
|
"action": "If the loft tv media player [media_player.loft_tv] is turned on, the automation turns off the loft ceiling light [light.loft_ceiling]. If the loft tv media player [media_player.loft_tv] is turned off and the loft wall light [light.loft_wall] is on, the automation turns on the loft ceiling light [light.loft_ceiling]."
|
|
},
|
|
"human_like": "Automatically dims the room for TV viewing by turning off the ceiling lights when the TV is on, and turns them back on when the TV is off and the wall light is on.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |