184 lines
13 KiB
JSON
184 lines
13 KiB
JSON
[
|
|
{
|
|
"id": "alert_action_handler",
|
|
"result": {
|
|
"structured": "TRIGGER: When a mobile app notification action event occurs. CONDITIONS: The notification action starts with 'alert.'. ACTIONS: Extract the action parts from the event data, construct the entity ID from the first two parts, and the command from the third part. If the command is 'mute', turn off the alert entity [{{ action_entity_id }}]. If the command is 'unmute', turn on the alert entity [{{ action_entity_id }}].",
|
|
"natural_language": {
|
|
"trigger": "When a user interacts with a notification on their mobile device, triggering a notification action event.",
|
|
"conditions": "The specific action taken by the user must begin with the text 'alert.'.",
|
|
"action": "The automation parses the action string to identify the specific alert entity and the command. If the command is 'mute', it silences the identified alert. If the command is 'unmute', it re-enables the identified alert."
|
|
},
|
|
"human_like": "Handles notification actions from a mobile device to mute or unmute specific alerts.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "alert_daily_unmute",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is 09:00:00 daily. CONDITIONS: None. ACTIONS: Turn on all alert entities whose state is 'off'.",
|
|
"natural_language": {
|
|
"trigger": "Every day at 9:00 AM.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Re-enables (turns on) all alert entities that are currently muted (in the 'off' state)."
|
|
},
|
|
"human_like": "Re-enables any muted alerts every morning at 9 AM to ensure they are not forgotten.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1727566814378'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunset occurs with an offset of 10 minutes before sunset. CONDITIONS: None. ACTIONS: Close all covers with label 'privacy' AND Turn on all switches with label 'exterior_lights'.",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers 10 minutes before sunset.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "It closes all cover devices labeled 'privacy' and turns on all switch devices labeled 'exterior_lights'."
|
|
},
|
|
"human_like": "Closes privacy covers and turns on exterior lights 10 minutes before sunset.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1727619363042'",
|
|
"result": {
|
|
"structured": "TRIGGER: At 08:00:00. CONDITIONS: None. ACTIONS: Set the position of all covers in the kitchen and office areas to 50% AND Open all covers in the dining_room and flex_room areas.",
|
|
"natural_language": {
|
|
"trigger": "Every day at 8:00 AM.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Sets the shades in the kitchen and office areas to a 50% open position, and fully opens the shades in the dining room and flex room areas."
|
|
},
|
|
"human_like": "Opens the shades in various rooms to 50% or fully at 8 AM every morning.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736729071588'",
|
|
"result": {
|
|
"structured": "TRIGGER: When heat mat switch [a19db08a70cc0f17f9cb1498921b491f] is turned on AND remains on for 4 hours. CONDITIONS: None. ACTIONS: Turn off heat mat switch [a19db08a70cc0f17f9cb1498921b491f].",
|
|
"natural_language": {
|
|
"trigger": "When the heat mat switch [a19db08a70cc0f17f9cb1498921b491f] is turned on and stays on for a continuous period of 4 hours.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "Turns off the heat mat switch [a19db08a70cc0f17f9cb1498921b491f]."
|
|
},
|
|
"human_like": "Automatically turns off the heat mat after it has been running for 4 hours to prevent overheating.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1740363545295'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is 23:00:00. CONDITIONS: None. ACTIONS: Turn off all switches in the group labeled 'exterior_lights'.",
|
|
"natural_language": {
|
|
"trigger": "At 11:00 PM every night.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Turns off all the exterior lights by sending a command to the switch group labeled 'exterior_lights'."
|
|
},
|
|
"human_like": "Turns off all the exterior lights at 11 PM each night.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "back_office_auto_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When back office light switch [switch.back_office_lightswitch] turns off OR When back office light switch [switch.back_office_lightswitch] turns on. CONDITIONS: None. ACTIONS: If the trigger was back office light switch [switch.back_office_lightswitch] turning off, then turn off back office wall lights [switch.back_office_wall_lights]. If the trigger was back office light switch [switch.back_office_lightswitch] turning on, then turn on back office wall lights [switch.back_office_wall_lights].",
|
|
"natural_language": {
|
|
"trigger": "When the back office light switch [switch.back_office_lightswitch] is turned either off or on.",
|
|
"conditions": "There are no additional conditions for this automation.",
|
|
"action": "If the light switch was turned off, the automation turns off the back office wall lights [switch.back_office_wall_lights]. If the light switch was turned on, the automation turns on the back office wall lights [switch.back_office_wall_lights]."
|
|
},
|
|
"human_like": "Automatically controls the back office wall lights to match the state of the main light switch.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "garage_double_auto_close",
|
|
"result": {
|
|
"structured": "TRIGGER: When garage door [cover.konnected_f0f5bd514400_garage_door] remains open for 10 minutes. CONDITIONS: garage lock [lock.konnected_f0f5bd514400_lock] is unlocked. ACTIONS: Close garage door [cover.konnected_f0f5bd514400_garage_door].",
|
|
"natural_language": {
|
|
"trigger": "When the garage door [cover.konnected_f0f5bd514400_garage_door] has been left open for 10 minutes.",
|
|
"conditions": "The garage lock [lock.konnected_f0f5bd514400_lock] must be unlocked.",
|
|
"action": "Closes the garage door [cover.konnected_f0f5bd514400_garage_door]."
|
|
},
|
|
"human_like": "Automatically closes the garage door if it has been left open for 10 minutes and the garage lock is unlocked.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "garage_double_auto_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When garage door [cover.konnected_f0f5bd514400_garage_door] starts opening OR When garage door [cover.konnected_f0f5bd514400_garage_door] becomes closed. CONDITIONS: None. ACTIONS: If triggered by garage door opening, then: (If garage lights previous state scene [scene.garage_lights_previous_state] state is unknown, create a scene snapshot of garage lights [switch.garage_lights] and outside garage lights [switch.outside_garage_lights]) AND Turn on garage lights [switch.garage_lights] and outside garage lights [switch.outside_garage_lights]. If triggered by garage door closed, then: Wait 5 minutes, then restore the saved scene garage lights previous state scene [scene.garage_lights_previous_state], then delete the scene garage lights previous state scene [scene.garage_lights_previous_state].",
|
|
"natural_language": {
|
|
"trigger": "When the garage door [cover.konnected_f0f5bd514400_garage_door] begins to open, or when it becomes fully closed.",
|
|
"conditions": "There are no conditions that must be met beyond the trigger events.",
|
|
"action": "If the door starts opening, the automation first checks if a scene named garage lights previous state scene [scene.garage_lights_previous_state] exists. If it doesn't (its state is 'unknown'), it creates a snapshot scene of the current states of the garage lights [switch.garage_lights] and outside garage lights [switch.outside_garage_lights]. Then, it turns on both sets of lights. If the door becomes closed, the automation waits for five minutes, then restores the lights to their previously saved state using the scene, and finally deletes that scene."
|
|
},
|
|
"human_like": "Automatically turns on the garage and outside lights when the garage door opens, and restores them to their previous state five minutes after the door closes.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "mudroom_closet_auto_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When mudroom closet door sensor [binary_sensor.mudroom_closet_door] opens (turns on) OR When mudroom closet door sensor [binary_sensor.mudroom_closet_door] closes (turns off) AND remains closed for 2 minutes. CONDITIONS: None. ACTIONS: If the trigger was door_opened, then turn on mudroom closet light switch [switch.mudroom_closet_light_switch]. If the trigger was door_closed, then turn off mudroom closet light switch [switch.mudroom_closet_light_switch].",
|
|
"natural_language": {
|
|
"trigger": "When the mudroom closet door sensor [binary_sensor.mudroom_closet_door] reports the door has opened, or when it reports the door has been closed for a continuous period of two minutes.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "If the door was opened, the mudroom closet light switch [switch.mudroom_closet_light_switch] is turned on. If the door was closed and remained closed for two minutes, the mudroom closet light switch [switch.mudroom_closet_light_switch] is turned off."
|
|
},
|
|
"human_like": "Automatically turns the closet light on when the door opens and turns it off two minutes after the door closes.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "mudroom_closet_lights_auto_off",
|
|
"result": {
|
|
"structured": "TRIGGER: When mudroom closet light switch [switch.mudroom_closet_light_switch] is on AND remains on for 1 hour. CONDITIONS: None. ACTIONS: Turn off mudroom closet light switch [switch.mudroom_closet_light_switch].",
|
|
"natural_language": {
|
|
"trigger": "When the mudroom closet light switch [switch.mudroom_closet_light_switch] has been turned on and remains in the on state for one hour.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "Turns off the mudroom closet light switch [switch.mudroom_closet_light_switch]."
|
|
},
|
|
"human_like": "Automatically turns off the mudroom closet light if it has been left on for an hour.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "theater_auto_pause_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When home theater media player [media_player.home_theater] remains in paused state for 2 seconds OR When home theater media player [media_player.home_theater] remains in idle state for 2 seconds. CONDITIONS: None. ACTIONS: Activate theater lights paused scene [scene.theater_lights_paused] with a transition time of 2 seconds.",
|
|
"natural_language": {
|
|
"trigger": "When the home theater media player [media_player.home_theater] has been paused for at least two seconds, or when it has been idle for at least two seconds.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Activates the theater lights paused scene [scene.theater_lights_paused], which will change the lights over a period of two seconds."
|
|
},
|
|
"human_like": "When the home theater is paused or idle, it automatically sets the room lights to a 'paused' scene.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "theater_auto_playing_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When home theater media player [media_player.home_theater] changes to state 'playing' AND remains in that state for 10 seconds. CONDITIONS: None. ACTIONS: Activate theater lights playing scene [scene.theater_lights_playing] with a transition time of 2 seconds.",
|
|
"natural_language": {
|
|
"trigger": "When the home theater media player [media_player.home_theater] starts playing content and remains in the playing state for at least 10 seconds.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Activates the theater lights playing scene [scene.theater_lights_playing], which adjusts the lighting over a 2-second transition period."
|
|
},
|
|
"human_like": "Automatically sets the theater lighting to a 'playing' scene when the Apple TV starts playing content for a short while.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "theater_auto_off_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When home theater media player [media_player.home_theater] changes to standby (from any state except unknown) OR When home theater media player [media_player.home_theater] changes to off (from any state except unknown). CONDITIONS: None. ACTIONS: Activate theater lights full scene [scene.theater_lights_full] with a transition time of 2 seconds.",
|
|
"natural_language": {
|
|
"trigger": "When the home theater media player [media_player.home_theater] is turned off or enters standby mode, provided it was not previously in an unknown state.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Turns on the theater lights full scene [scene.theater_lights_full], fading the lights over a 2-second transition."
|
|
},
|
|
"human_like": "Turns on the main theater lights when the Apple TV is turned off or put on standby.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |