80 lines
20 KiB
JSON
80 lines
20 KiB
JSON
[
|
|
{
|
|
"id": "Room Togglers",
|
|
"result": {
|
|
"structured": "TRIGGER: When camera toggle [input_boolean.camera_toggle] changes from off to on OR When attic toggle [input_boolean.attic_toggle] changes from off to on OR When living room toggle [input_boolean.living_room_toggle] changes from off to on OR When garage toggle [input_boolean.garage_toggle] changes from off to on OR When office toggle [input_boolean.office_toggle] changes from off to on OR When bedroom toggle [input_boolean.bedroom_toggle] changes from off to on OR When kitchen toggle [input_boolean.kitchen_toggle] changes from off to on OR When basement toggle [input_boolean.basement_toggle] changes from off to on OR When exterior toggle [input_boolean.exterior] changes from off to on OR When breezeway toggle [input_boolean.breezeway_toggle] changes from off to on OR When dining room toggle [input_boolean.dining_room_toggle] changes from off to on OR When guest room toggle [input_boolean.guest_room_toggle] changes from off to on OR When kida room toggle [input_boolean.kida_room] changes from off to on OR When kidb room toggle [input_boolean.kidb_room] changes from off to on. CONDITIONS: None. ACTIONS: Choose based on which trigger occurred: If attic toggle [input_boolean.attic_toggle] triggered, turn off all other toggles (camera toggle [input_boolean.camera_toggle], garage toggle [input_boolean.garage_toggle], basement toggle [input_boolean.basement_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], dining room toggle [input_boolean.dining_room_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If camera toggle [input_boolean.camera_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], basement toggle [input_boolean.basement_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], dining room toggle [input_boolean.dining_room_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If garage toggle [input_boolean.garage_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], camera toggle [input_boolean.camera_toggle], basement toggle [input_boolean.basement_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], dining room toggle [input_boolean.dining_room_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If basement toggle [input_boolean.basement_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], dining room toggle [input_boolean.dining_room_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If bedroom toggle [input_boolean.bedroom_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], basement toggle [input_boolean.basement_toggle], breezeway toggle [input_boolean.breezeway_toggle], dining room toggle [input_boolean.dining_room_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If breezeway toggle [input_boolean.breezeway_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], basement toggle [input_boolean.basement_toggle], dining room toggle [input_boolean.dining_room_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If dining room toggle [input_boolean.dining_room_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If kida room toggle [input_boolean.kida_room] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], dining room toggle [input_boolean.dining_room_toggle], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If kidb room toggle [input_boolean.kidb_room] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], dining room toggle [input_boolean.dining_room_toggle], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If exterior toggle [input_boolean.exterior] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], dining room toggle [input_boolean.dining_room_toggle], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If living room toggle [input_boolean.living_room_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], dining room toggle [input_boolean.dining_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If office toggle [input_boolean.office_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], dining room toggle [input_boolean.dining_room_toggle], kitchen toggle [input_boolean.kitchen_toggle], guest room toggle [input_boolean.guest_room_toggle]). If kitchen toggle [input_boolean.kitchen_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], dining room toggle [input_boolean.dining_room_toggle], guest room toggle [input_boolean.guest_room_toggle]). If guest room toggle [input_boolean.guest_room_toggle] triggered, turn off all other toggles (attic toggle [input_boolean.attic_toggle], garage toggle [input_boolean.garage_toggle], camera toggle [input_boolean.camera_toggle], bedroom toggle [input_boolean.bedroom_toggle], breezeway toggle [input_boolean.breezeway_toggle], basement toggle [input_boolean.basement_toggle], kida room toggle [input_boolean.kida_room], kidb room toggle [input_boolean.kidb_room], exterior toggle [input_boolean.exterior], living room toggle [input_boolean.living_room_toggle], office toggle [input_boolean.office_toggle], kitchen toggle [input_boolean.kitchen_toggle], dining room toggle [input_boolean.dining_room_toggle]).",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers when any one of the 14 room toggle switches is turned on from an off state. These include: camera toggle [input_boolean.camera_toggle], attic toggle [input_boolean.attic_toggle], living room toggle [input_boolean.living_room_toggle], garage toggle [input_boolean.garage_toggle], office toggle [input_boolean.office_toggle], bedroom toggle [input_boolean.bedroom_toggle], kitchen toggle [input_boolean.kitchen_toggle], basement toggle [input_boolean.basement_toggle], exterior toggle [input_boolean.exterior], breezeway toggle [input_boolean.breezeway_toggle], dining room toggle [input_boolean.dining_room_toggle], guest room toggle [input_boolean.guest_room_toggle], kida room toggle [input_boolean.kida_room], and kidb room toggle [input_boolean.kidb_room].",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "The action depends on which specific toggle triggered the automation. For each possible trigger, the automation turns off all the other 13 toggle switches. This ensures that only one room toggle can be in the 'on' state at a time, creating a mutually exclusive selection system."
|
|
},
|
|
"human_like": "This automation ensures only one room toggle is active at a time, turning off all others when a new one is selected.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "kid's LED Light Strip",
|
|
"result": {
|
|
"structured": "TRIGGER: When a ZHA remote device [device_id: 18063a02016a5f1c93d6bee56ab7bb8f] sends a 'press-on' event OR a 'double-on' event OR a 'hold-on' event OR a 'dim-up' event OR a 'dim-down' event OR a 'press-off' event OR a 'double-off' event OR a 'hold-off' event OR a 'hold-dim-down' event OR a 'hold-dim-up' event. CONDITIONS: None. ACTIONS: For triggers press-on, double-on, hold-on, press-off, hold-off: IF kid light color loop [input_boolean.kid_light_color_loop] is on, THEN turn it off. For trigger press-on: Turn on kids led strip [light.kids_led_strip] with brightness 255 and color temperature 3700K. For trigger double-on: Cycle to the next color in kid light color select [input_select.kid_light_color_select] and turn on kids led strip [light.kids_led_strip] with that color. For trigger hold-on: Turn on kid's dance party [input_boolean.kid_s_dance_party]. For trigger dim-up: IF kids led strip [light.kids_led_strip] is on AND its brightness is less than 250, THEN increase brightness by 25; ELSE IF kids led strip [light.kids_led_strip] is on, THEN flash the light twice (off/on with 125ms delays). For trigger hold-dim-up: IF kids led strip [light.kids_led_strip] is on AND its brightness is less than 254, THEN increase brightness by 10; ELSE IF kids led strip [light.kids_led_strip] is on, THEN flash the light twice (off/on with 125ms delays). For trigger dim-down: IF kids led strip [light.kids_led_strip] is on AND its brightness is greater than 10, THEN decrease brightness by 25; ELSE IF kids led strip [light.kids_led_strip] is on, THEN flash the light twice (off/on with 125ms delays). For trigger hold-dim-down: IF kids led strip [light.kids_led_strip] is on AND its brightness is greater than 10, THEN decrease brightness by 10; ELSE IF kids led strip [light.kids_led_strip] is on, THEN flash the light twice (off/on with 125ms delays). For trigger press-off: Turn off kid's dance party [input_boolean.kid_s_dance_party], wait 250ms, then turn off kids led strip [light.kids_led_strip]. For trigger double-off: Turn on kid light color loop [input_boolean.kid_light_color_loop] and start a loop that cycles kid light color select [input_select.kid_light_color_select] and sets kids led strip [light.kids_led_strip] to that color every 2 seconds until kid light color loop [input_boolean.kid_light_color_loop] is turned off. For trigger hold-off: Turn off kid's dance party [input_boolean.kid_s_dance_party].",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered by various button presses from a ZHA remote device in the kids' room. These include single press, double press, and long press of the on and off buttons, as well as dim up, dim down, and long press dim up and dim down actions.",
|
|
"conditions": "There are no conditions that must be met for the automation to run; it executes based solely on the trigger events.",
|
|
"action": "The actions vary depending on which button was pressed. A single press of the 'on' button turns the kids led strip [light.kids_led_strip] on to a bright white. A double press of 'on' cycles to the next color in a predefined list and sets the light to that color. A long press of 'on' activates a 'dance party' mode. Pressing the dim up or dim down buttons adjusts the light's brightness if possible; if the brightness is already at its limit, the light flashes twice. Long pressing the dim buttons makes finer brightness adjustments or causes flashing. A single press of the 'off' button turns off the dance party mode and then turns off the light. A double press of 'off' starts a color loop that cycles through colors every two seconds until stopped. A long press of 'off' turns off the dance party mode. Additionally, for several button presses, if a color loop mode is active, it is turned off first."
|
|
},
|
|
"human_like": "This automation controls a kids' LED light strip using a remote, allowing for turning it on/off, changing colors, adjusting brightness, and activating fun modes like a color loop or dance party.",
|
|
"complexity": "high"
|
|
}
|
|
},
|
|
{
|
|
"id": "rtl_433 Frequency Switch",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is 23:53:00 OR when the time is 23:59:00. CONDITIONS: None. ACTIONS: If the trigger is switch-to-915 (time 23:53:00), then execute rtl 433 915 shell command [shell_command.rtl_433_915] and restart the addon 9b13b3f4_rtl433-next. If the trigger is switch-to-433 (time 23:59:00), then execute rtl 433 433 shell command [shell_command.rtl_433_433] and restart the addon 9b13b3f4_rtl433-next.",
|
|
"natural_language": {
|
|
"trigger": "The automation runs at two specific times: 11:53 PM and 11:59 PM.",
|
|
"conditions": "There are no conditions; the automation runs whenever the trigger time is reached.",
|
|
"action": "If the trigger occurs at 11:53 PM, it switches the rtl_433 device to 915 MHz by executing the rtl 433 915 shell command [shell_command.rtl_433_915] and then restarts the rtl433-next addon. If the trigger occurs at 11:59 PM, it switches the device back to 433 MHz by executing the rtl 433 433 shell command [shell_command.rtl_433_433] and restarts the addon again."
|
|
},
|
|
"human_like": "Switches the rtl_433 receiver to 915 MHz at 11:53 PM and back to 433 MHz at 11:59 PM, restarting the addon each time to apply the change.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "Bus Reminder",
|
|
"result": {
|
|
"structured": "TRIGGER: At 08:06:00. CONDITIONS: school today sensor [sensor.school_today] is 'Yes'. ACTIONS: Generate a kind and humorous reminder text via google_generative_ai_conversation.generate_content and store the result in variable 'bus_reminder'. Then, speak the generated text using tts.speak on all speakers media player [media_player.all_speakers] via home assistant cloud tts [tts.home_assistant_cloud]. Finally, store the generated content in the variable 'bus_reminder'.",
|
|
"natural_language": {
|
|
"trigger": "Every day at 8:06 AM.",
|
|
"conditions": "The school today sensor [sensor.school_today] must be in the state 'Yes'.",
|
|
"action": "First, it asks a generative AI to create a kind and humorous reminder that it's time to get ready for the school bus. Then, it uses text-to-speech to play that generated reminder message on all connected speakers."
|
|
},
|
|
"human_like": "Plays a friendly, AI-generated voice reminder to get ready for the school bus at 8:06 AM, but only on school days.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "timer N-2 end automation",
|
|
"result": {
|
|
"structured": "TRIGGER: When n-2 timer [timer.timer.n_2_timer] finishes. CONDITIONS: None. ACTIONS: Execute light off warning script [script.light_off_warning] AND start 2 minutes timer [timer.timer_2_minutes].",
|
|
"natural_language": {
|
|
"trigger": "When the n-2 timer [timer.timer.n_2_timer] finishes.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "Runs the light off warning script [script.light_off_warning] and then starts the 2 minutes timer [timer.timer_2_minutes]."
|
|
},
|
|
"human_like": "When a specific timer ends, it triggers a warning script and starts a 2-minute countdown.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "turn light off after timer",
|
|
"result": {
|
|
"structured": "TRIGGER: When timer.finished event occurs for 2 minutes timer [timer.timer_2_minutes]. CONDITIONS: None. ACTIONS: Turn off your light entity [light.your_light_entity].",
|
|
"natural_language": {
|
|
"trigger": "When the 2 minutes timer [timer.timer_2_minutes] finishes.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Turns off the light named your light entity [light.your_light_entity]."
|
|
},
|
|
"human_like": "Turns off a light when a 2-minute timer finishes.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |