340 lines
29 KiB
JSON
340 lines
29 KiB
JSON
[
|
|
{
|
|
"id": "'1736176173682'",
|
|
"result": {
|
|
"structured": "TRIGGER: When wss04 action sensor [sensor.wss04_action] reports a button press event. CONDITIONS: None. ACTIONS: Depending on the specific button press event: For button one short press, toggle all covers in the bedroom area. For button one double press, set all covers in the bedroom area to 30% position. For button two short press, if the current time is before 23:00:00, toggle bed light [light.esp01_bed_light] with 100% brightness and 1-second transition, otherwise toggle it with 30% brightness and 1-second transition. For button two double press, toggle zss02 light [light.zss02_l1]. For button three short press, if wss01 socket [switch.wss01_socket_1] is on, turn it off, otherwise turn it on. For button three double press, if wss01 socket [switch.wss01_socket_1] is on, turn it off, otherwise run control bed heater script [script.control_bed_heater] with the variable 'heater' set to switch.wss01_socket_1.",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered by a button press event detected by the wss04 action sensor [sensor.wss04_action].",
|
|
"conditions": "There are no conditions that must be met before the actions can run; the automation executes immediately upon the trigger.",
|
|
"action": "The action performed depends on which button and press pattern is detected. A single press of button one toggles all window covers in the bedroom area. A double press of button one sets all bedroom covers to a 30% open position. A single press of button two toggles the bed light [light.esp01_bed_light]; if it's before 11 PM, the light turns on or off at full brightness, otherwise it uses a dim 30% brightness. A double press of button two toggles the zss02 light [light.zss02_l1]. A single press of button three toggles the wss01 socket [switch.wss01_socket_1] on or off. A double press of button three also toggles the wss01 socket [switch.wss01_socket_1] off if it's on, but if it's off, it starts the control bed heater script [script.control_bed_heater] instead."
|
|
},
|
|
"human_like": "This automation maps different button presses on a bedside switch to control bedroom lights, window covers, a power socket, and a heater script, with some actions adapting based on the time of day.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736176998592'",
|
|
"result": {
|
|
"structured": "TRIGGER: When wss05 action sensor [sensor.wss05_action] reports a button press. CONDITIONS: None. ACTIONS: Based on the specific button press: For button one short press, toggle the cover in the bedroom area. For button one double press, set the cover position in the bedroom area to 30%. For button two short press, if the current time is after 23:00, toggle bed light [light.esp01_bed_light] with a 1-second transition and 30% brightness, otherwise toggle it with a 1-second transition and 100% brightness. For button two double press, toggle zss02 light [light.zss02_l1].",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered by actions from the wss05 action sensor [sensor.wss05_action], specifically when its buttons are pressed.",
|
|
"conditions": "There are no general conditions that apply to all actions. However, for the action triggered by button two short press, there is a time-based check: if the time is after 11:00 PM.",
|
|
"action": "Depending on which button is pressed, different actions occur: A single press of button one toggles the bedroom window cover. A double press of button one sets the bedroom window cover to 30% open. A single press of button two toggles the bed light [light.esp01_bed_light] with different brightness levels depending on the time of day (30% brightness after 11 PM, 100% brightness otherwise). A double press of button two toggles the zss02 light [light.zss02_l1]."
|
|
},
|
|
"human_like": "This automation uses a smart switch to control bedroom covers and lights, with different button presses for different functions, including time-based dimming for the bed light.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736361188282'",
|
|
"result": {
|
|
"structured": "TRIGGER: When ultrasonic right sensor [sensor.esp01_ultrasonic_right_sensor] OR ultrasonic left sensor [sensor.esp01_ultrasonic_left_sensor] reports a value below 2. CONDITIONS: None. ACTIONS: Turn on bed light [light.esp01_bed_light] with a 2-second transition to 20% brightness, then wait for up to 5 minutes for bed right occupancy [binary_sensor.esp01_bed_right_occupancy] OR bed left occupancy [binary_sensor.esp01_bed_left_occupancy] to change from off to on. If the occupancy change occurs within the wait period, the automation proceeds. Finally, turn off bedroom light device [ec0f3ac6e30c6a4234b532c0a52d1df1].",
|
|
"natural_language": {
|
|
"trigger": "When either the ultrasonic right sensor [sensor.esp01_ultrasonic_right_sensor] or the ultrasonic left sensor [sensor.esp01_ultrasonic_left_sensor] detects a distance reading below 2.",
|
|
"conditions": "There are no conditions that must be met for the automation to run.",
|
|
"action": "First, the bed light [light.esp01_bed_light] is turned on with a smooth 2-second transition to a dim 20% brightness. Then, the automation waits for up to 5 minutes for either the bed right occupancy [binary_sensor.esp01_bed_right_occupancy] or the bed left occupancy [binary_sensor.esp01_bed_left_occupancy] to become occupied (change from off to on). After the wait period ends (either by the occupancy trigger or by timeout), the bedroom light device [ec0f3ac6e30c6a4234b532c0a52d1df1] is turned off."
|
|
},
|
|
"human_like": "Turns on a dim bed light when someone is detected near the bed, then waits for them to get into bed before turning the light off after a short delay.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736361583980'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunrise occurs. CONDITIONS: None. ACTIONS: Turn off the input boolean associated with label_id 'flag_night_mode'.",
|
|
"natural_language": {
|
|
"trigger": "At sunrise.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "Turns off the input boolean associated with the label 'flag_night_mode'."
|
|
},
|
|
"human_like": "Turns off the night mode flag at sunrise.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736361791549'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is 23:00:00 OR When bed right occupancy [binary_sensor.esp01_bed_right_occupancy] changes from off to on AND remains on for 20 minutes OR When bed left occupancy [binary_sensor.esp01_bed_left_occupancy] changes from off to on AND remains on for 20 minutes. CONDITIONS: The current time is after 21:00:00 AND bedroom occupancy [binary_sensor.occupancy_bedroom] is on. ACTIONS: Turn on bedroom night mode input [input_boolean.bedroom_night_mode].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers either at 11:00 PM, or when the bed right occupancy [binary_sensor.esp01_bed_right_occupancy] sensor detects occupancy and stays on for 20 minutes, or when the bed left occupancy [binary_sensor.esp01_bed_left_occupancy] sensor detects occupancy and stays on for 20 minutes.",
|
|
"conditions": "The automation only runs if the current time is after 9:00 PM and the main bedroom occupancy [binary_sensor.occupancy_bedroom] sensor indicates the room is occupied.",
|
|
"action": "It activates the bedroom night mode by turning on the bedroom night mode input [input_boolean.bedroom_night_mode]."
|
|
},
|
|
"human_like": "Activates bedroom night mode at 11 PM or after 20 minutes of bed occupancy in the evening, provided the bedroom is occupied.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736423920854'",
|
|
"result": {
|
|
"structured": "TRIGGER: When ms08 occupancy [binary_sensor.ms08_occupancy] changes state. CONDITIONS: None. ACTIONS: Turn on zss3g02 right light [light.zss3g02_right] when occupancy is detected, and turn it off when occupancy is not detected for 30 seconds.",
|
|
"natural_language": {
|
|
"trigger": "Whenever the occupancy sensor ms08 occupancy [binary_sensor.ms08_occupancy] changes its state, either to occupied or unoccupied.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "If the room becomes occupied, the light zss3g02 right light [light.zss3g02_right] is turned on. If the room becomes unoccupied, the automation waits for 30 seconds and then turns the light off, provided the room remains unoccupied during that time."
|
|
},
|
|
"human_like": "Automatically turns the light in Mom's room on when someone enters and off 30 seconds after they leave.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736503798847'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is exactly 13:00:00 OR when the time is exactly 19:00:00. CONDITIONS: None. ACTIONS: If the trigger was the 13:00:00 time event, then turn on the aquarium light device [device_id:cdd8a4f42cf5052d2c020771d66c1959]. Otherwise, if the trigger was the 19:00:00 time event, then turn off the aquarium light device [device_id:cdd8a4f42cf5052d2c020771d66c1959].",
|
|
"natural_language": {
|
|
"trigger": "The automation runs at two specific times: at 1:00 PM (13:00) and at 7:00 PM (19:00).",
|
|
"conditions": "There are no conditions that must be met for the action to run.",
|
|
"action": "If the automation was triggered at 1:00 PM, it turns on the aquarium light device [device_id:cdd8a4f42cf5052d2c020771d66c1959]. If it was triggered at 7:00 PM, it turns the same light off."
|
|
},
|
|
"human_like": "Turns the aquarium light on at 1:00 PM and off at 7:00 PM every day.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736688453558'",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID e886a1ae-4a3f-4138-b862-7395f2c8eccb is scanned. CONDITIONS: None. ACTIONS: Toggle aquarium heater socket [switch.sp23_aquarium_heater_socket_1] AND toggle aquarium filter socket [switch.sp22_aquarium_filter_socket_1].",
|
|
"natural_language": {
|
|
"trigger": "When a specific NFC or RFID tag with the ID e886a1ae-4a3f-4138-b862-7395f2c8eccb is scanned.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Toggles the power state of both the aquarium heater socket [switch.sp23_aquarium_heater_socket_1] and the aquarium filter socket [switch.sp22_aquarium_filter_socket_1]."
|
|
},
|
|
"human_like": "Scans a specific tag to toggle the aquarium's heater and filter power sockets on or off.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1739712917701'",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID 270bd906-01e8-4d84-bf0f-bf42103e532a is scanned. CONDITIONS: None. ACTIONS: Toggle the aquarium light device [device_id: cdd8a4f42cf5052d2c020771d66c1959].",
|
|
"natural_language": {
|
|
"trigger": "When a specific RFID or NFC tag with the ID 270bd906-01e8-4d84-bf0f-bf42103e532a is scanned by a compatible reader.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Toggle the state of the aquarium light device [device_id: cdd8a4f42cf5052d2c020771d66c1959], turning it on if it's off, or off if it's on."
|
|
},
|
|
"human_like": "Toggles the aquarium light on or off when a specific tag is scanned.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1740226912912'",
|
|
"result": {
|
|
"structured": "TRIGGER: When wss01 action sensor [sensor.wss01_action] reports a button press event. CONDITIONS: None. ACTIONS: For button one short press: no action. For button one double press: no action. For button two short press: toggle living room light device [3ab01da1e53eba62b7e1abae0920a44f]. For button three short press: toggle living room curtains [cover.curtains_living_room_side]. For button three double press: set curtains device [device_id: f7f43e4a623838e8bc0563300571e576] to position 50. For button four short press: toggle living room grow lights [light.living_room_grow_lights].",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered by a button press event detected by the wss01 action sensor [sensor.wss01_action].",
|
|
"conditions": "There are no conditions that must be met for the actions to run.",
|
|
"action": "Depending on which button is pressed, the automation performs different actions. A short press on button two toggles the living room light device [3ab01da1e53eba62b7e1abae0920a44f]. A short press on button three toggles the living room curtains [cover.curtains_living_room_side]. A double press on button three sets the curtains device [device_id: f7f43e4a623838e8bc0563300571e576] to a 50% open position. A short press on button four toggles the living room grow lights [light.living_room_grow_lights]. No actions are defined for a short or double press on button one."
|
|
},
|
|
"human_like": "This automation controls lights and curtains in the living room using button presses on a wireless switch, allowing you to toggle lights and adjust curtain positions.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1740585724620'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time pattern matches minutes:10 OR When the time pattern matches minutes:14. CONDITIONS: None. ACTIONS: If trigger id is start, then turn on grow lab fan switch [73f28fac90af8eeaafd08bf2bef49f2d]. If trigger id is stop, then turn off grow lab fan switch [73f28fac90af8eeaafd08bf2bef49f2d].",
|
|
"natural_language": {
|
|
"trigger": "The automation runs at 10 minutes past every hour and again at 14 minutes past every hour.",
|
|
"conditions": "There are no conditions to evaluate.",
|
|
"action": "At 10 minutes past the hour, the grow lab fan switch [73f28fac90af8eeaafd08bf2bef49f2d] is turned on. At 14 minutes past the hour, the same switch is turned off."
|
|
},
|
|
"human_like": "Turns the grow lab fan on for a four-minute interval every hour, starting at 10 minutes past and stopping at 14 minutes past.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1740915184838'",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID 0d5f3fec-48f6-4590-bf3e-45df7f6f9882 is scanned. CONDITIONS: None. ACTIONS: Toggle the living room plant stand lights device [device_id: 5de341f4e01cd6ccd2af3946d4a95004].",
|
|
"natural_language": {
|
|
"trigger": "When a specific NFC or RFID tag with the ID 0d5f3fec-48f6-4590-bf3e-45df7f6f9882 is scanned.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Toggle the state of the living room plant stand lights device [device_id: 5de341f4e01cd6ccd2af3946d4a95004], turning them on if they are off, or off if they are on."
|
|
},
|
|
"human_like": "Toggles the living room plant stand lights when a specific tag is scanned.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1741382226786'",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID 32a181ed-0284-4efc-b3f0-f6b3e0fc94ff is scanned. CONDITIONS: None. ACTIONS: Toggle wss03 socket light [light.wss03_socket_1].",
|
|
"natural_language": {
|
|
"trigger": "When a specific NFC or RFID tag with the ID 32a181ed-0284-4efc-b3f0-f6b3e0fc94ff is scanned.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Toggles the state of the wss03 socket light [light.wss03_socket_1], turning it on if it's off, or off if it's on."
|
|
},
|
|
"human_like": "Toggles a living room light when a specific tag is scanned.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1741383046471'",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID 438ab4d2-99ca-4d1d-a46f-8dae67ded75b is scanned. CONDITIONS: None. ACTIONS: Toggle living room plant light socket [light.sp10_living_room_plant_light_socket_1].",
|
|
"natural_language": {
|
|
"trigger": "When a specific NFC tag or Bluetooth tag with the ID 438ab4d2-99ca-4d1d-a46f-8dae67ded75b is scanned.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Toggles the state of the living room plant light socket [light.sp10_living_room_plant_light_socket_1], turning it on if it's off, or off if it's on."
|
|
},
|
|
"human_like": "Toggles the living room plant light when a specific tag is scanned.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1742032071122'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is 21:00:00 OR When the time is 08:00:00. CONDITIONS: None. ACTIONS: IF the trigger is night-start (21:00:00) THEN set bedroom air purifier [fan.master_bedroom_air_purifier] preset mode to sleep. IF the trigger is night-end (08:00:00) THEN set bedroom air purifier [fan.master_bedroom_air_purifier] preset mode to auto.",
|
|
"natural_language": {
|
|
"trigger": "The automation runs at two specific times: at 9:00 PM and at 8:00 AM.",
|
|
"conditions": "There are no additional conditions; the automation runs whenever the specified time triggers occur.",
|
|
"action": "Depending on which time triggered the automation, it changes the preset mode of the bedroom air purifier [fan.master_bedroom_air_purifier]. At 9:00 PM, it sets the purifier to 'sleep' mode. At 8:00 AM, it sets the purifier to 'auto' mode."
|
|
},
|
|
"human_like": "Automatically switches the bedroom air purifier to sleep mode at night and back to auto mode in the morning.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1742032398627'",
|
|
"result": {
|
|
"structured": "TRIGGER: When bedroom occupancy [binary_sensor.occupancy_bedroom] changes from occupied (on) to unoccupied (off) AND remains unoccupied for 10 minutes. CONDITIONS: The automation has not been triggered in the last 3 hours (10800 seconds) AND bedroom air purifier [fan.master_bedroom_air_purifier] preset_mode is auto. ACTIONS: Set bedroom air purifier [fan.master_bedroom_air_purifier] fan percentage to 100%. Then wait for up to 10 minutes for bedroom occupancy [binary_sensor.occupancy_bedroom] to become occupied (on). If occupancy is detected within 10 minutes, set bedroom air purifier [fan.master_bedroom_air_purifier] preset_mode back to auto.",
|
|
"natural_language": {
|
|
"trigger": "When the bedroom occupancy sensor [binary_sensor.occupancy_bedroom] detects that the room becomes unoccupied and stays that way for 10 minutes.",
|
|
"conditions": "This automation only runs if it hasn't been triggered in the last 3 hours, and the bedroom air purifier [fan.master_bedroom_air_purifier] is currently set to auto mode.",
|
|
"action": "First, the automation sets the bedroom air purifier [fan.master_bedroom_air_purifier] to run at 100% fan speed. It then waits for up to 10 minutes for someone to re-enter the room. If occupancy is detected within that time, it switches the purifier back to auto mode."
|
|
},
|
|
"human_like": "Boosts the bedroom air purifier to maximum speed for a deep clean when the room is empty for 10 minutes, then returns it to auto mode if someone re-enters.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1736453280269'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the sun sets with an offset of 5 minutes. CONDITIONS: home occupancy [binary_sensor.occupancy_home] is on. ACTIONS: Turn on bukhur quick script [script.bukhur_quick].",
|
|
"natural_language": {
|
|
"trigger": "Five minutes after sunset.",
|
|
"conditions": "If the home occupancy [binary_sensor.occupancy_home] sensor indicates that someone is home.",
|
|
"action": "Starts the bukhur quick script [script.bukhur_quick]."
|
|
},
|
|
"human_like": "Automatically starts a quick bukhur routine five minutes after sunset, but only when someone is home.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1728813664008'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sss02 action sensor [sensor.sss02_action] changes state. CONDITIONS: None. ACTIONS: If the trigger corresponds to a short press, toggle bedroom curtains [cover.curtains_bedroom]. If the trigger corresponds to a double press, set bedroom curtains [cover.curtains_bedroom] to 30% open. If the trigger corresponds to a long press, set bedroom curtains [cover.curtains_bedroom] to 10% open.",
|
|
"natural_language": {
|
|
"trigger": "When the sss02 action sensor [sensor.sss02_action] detects a button press event.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Depending on the type of button press detected, the automation performs different actions: a short press toggles the bedroom curtains [cover.curtains_bedroom] open or closed, a double press sets the curtains to a 30% open position, and a long press sets the curtains to a 10% open position."
|
|
},
|
|
"human_like": "Controls the bedroom curtains with a smart button, using different press types for toggling or setting specific positions.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'8196071004937'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunrise occurs with an offset of -15 minutes. CONDITIONS: bedroom occupancy [binary_sensor.occupancy_bedroom] is on. ACTIONS: Open bedroom curtains [cover.curtains_bedroom].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers 15 minutes before sunrise.",
|
|
"conditions": "The automation only runs if the bedroom occupancy [binary_sensor.occupancy_bedroom] sensor indicates the room is occupied.",
|
|
"action": "It opens the bedroom curtains [cover.curtains_bedroom]."
|
|
},
|
|
"human_like": "Opens the bedroom curtains 15 minutes before sunrise if the room is occupied.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'6573097207207'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunset occurs. CONDITIONS: bedroom occupancy [binary_sensor.occupancy_bedroom] is on. ACTIONS: Close bedroom curtains [cover.curtains_bedroom].",
|
|
"natural_language": {
|
|
"trigger": "At sunset.",
|
|
"conditions": "If the bedroom is occupied, as indicated by the bedroom occupancy [binary_sensor.occupancy_bedroom] sensor being on.",
|
|
"action": "Closes the bedroom curtains [cover.curtains_bedroom]."
|
|
},
|
|
"human_like": "Closes the bedroom curtains at sunset if the bedroom is occupied.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'5219250874162'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is 09:00:00. CONDITIONS: None. ACTIONS: Set bedroom curtains [cover.curtains_bedroom] position to 30%.",
|
|
"natural_language": {
|
|
"trigger": "At 9:00 AM.",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "Opens the bedroom curtains [cover.curtains_bedroom] to a 30% open position."
|
|
},
|
|
"human_like": "Opens the bedroom curtains to 30% at 9 AM to help with waking up.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'4448387364818'",
|
|
"result": {
|
|
"structured": "TRIGGER: When ms03 occupancy [binary_sensor.ms03_occupancy] changes from off to on OR When ms03 occupancy [binary_sensor.ms03_occupancy] changes from on to off and remains for 10 seconds OR When ds02 contact sensor [binary_sensor.ds02_contact] changes from on to off OR When ds02 contact sensor [binary_sensor.ds02_contact] changes from off to on. CONDITIONS: None. ACTIONS: Choose one of two sequences based on conditions. Sequence 1: IF the trigger was motion-on OR door-open AND ds02 contact sensor [binary_sensor.ds02_contact] is on, THEN turn on lights in the laundry area. Sequence 2: IF the trigger was motion-of OR door-closed, THEN turn off lights in the laundry area.",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered in four ways: when the ms03 occupancy [binary_sensor.ms03_occupancy] sensor first detects motion (changes from off to on), when it stops detecting motion for 10 seconds (changes from on to off), when the ds02 contact sensor [binary_sensor.ds02_contact] indicates the door has closed (changes from on to off), or when it indicates the door has opened (changes from off to on).",
|
|
"conditions": "There are no global conditions that must be met for the automation to run.",
|
|
"action": "The automation will perform one of two actions based on which trigger fired and the current state. If the trigger was motion detection starting or the door opening, and the door is currently open, it will turn on the lights in the laundry area. If the trigger was motion stopping for 10 seconds or the door closing, it will turn off the lights in the laundry area."
|
|
},
|
|
"human_like": "Automatically controls the laundry room lights, turning them on when motion is detected or the door opens, and turning them off when motion stops or the door closes.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "'1112311712098'",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time is at sunset (maghrib). CONDITIONS: bedroom occupancy [binary_sensor.occupancy_bedroom] is on. ACTIONS: Turn on bed light [light.esp01_bed_light] AND zss02 light [light.zss02_l1].",
|
|
"natural_language": {
|
|
"trigger": "At sunset (maghrib).",
|
|
"conditions": "If the bedroom occupancy [binary_sensor.occupancy_bedroom] sensor detects that the room is occupied.",
|
|
"action": "Turn on the bed light [light.esp01_bed_light] and the zss02 light [light.zss02_l1]."
|
|
},
|
|
"human_like": "Turns on the bedroom lights at sunset if the room is occupied.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'8513465843864'",
|
|
"result": {
|
|
"structured": "TRIGGER: When bedroom occupancy [binary_sensor.occupancy_bedroom] changes state. CONDITIONS: None. ACTIONS: Turn on bed light [light.esp01_bed_light] AND zss02 light [light.zss02_l1] when occupancy is detected (on). Turn off bed light [light.esp01_bed_light] AND zss02 light [light.zss02_l1] when occupancy is not detected (off).",
|
|
"natural_language": {
|
|
"trigger": "Whenever the bedroom occupancy [binary_sensor.occupancy_bedroom] sensor changes its state.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "If occupancy is detected, the automation turns on the bed light [light.esp01_bed_light] and the zss02 light [light.zss02_l1]. If occupancy is no longer detected, it turns both lights off."
|
|
},
|
|
"human_like": "Automatically turns the bedroom lights on when someone is present and off when the room is empty.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'8513465843844'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunrise occurs, offset by -30 minutes (i.e., 30 minutes before sunrise). CONDITIONS: bedroom occupancy [binary_sensor.occupancy_bedroom] is on. ACTIONS: Turn on bed light [light.esp01_bed_light] with a 1-second transition to 50% brightness, then turn off bed light [light.esp01_bed_light] with a 1200-second (20-minute) transition.",
|
|
"natural_language": {
|
|
"trigger": "The automation is triggered 30 minutes before sunrise.",
|
|
"conditions": "The automation only runs if the bedroom occupancy [binary_sensor.occupancy_bedroom] sensor indicates the room is occupied (state is 'on').",
|
|
"action": "First, the bed light [light.esp01_bed_light] is turned on, fading in over 1 second to 50% brightness. Immediately after, it is scheduled to turn off, fading out over a 20-minute period."
|
|
},
|
|
"human_like": "Gradually turns on the bedroom light before sunrise if someone is in the room, then slowly fades it out over 20 minutes.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "'3395120795'",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunrise occurs with a 1 hour offset OR when sunset occurs. CONDITIONS: None. ACTIONS: First, compute a list of grow light entities by combining all light entities from devices labeled 'Grow Lights' and all light entities directly labeled 'Grow Lights'. Then, if the trigger is sunrise with offset, attempt up to 5 times to turn on all currently off grow lights, wait up to 10 seconds for all grow lights to be on, check if all are on, and if so, stop with message 'All grow lights are on.' and delay 5 minutes before the next attempt. If the trigger is sunset, attempt up to 5 times to turn off all currently on grow lights, wait up to 10 seconds for all grow lights to be off, check if all are off, and if so, stop with message 'All grow lights are off.' and delay 5 minutes before the next attempt.",
|
|
"natural_language": {
|
|
"trigger": "The automation runs either one hour after sunrise or at sunset.",
|
|
"conditions": "There are no conditions; the automation runs whenever either trigger occurs.",
|
|
"action": "First, the automation builds a list of all light entities that are part of the 'Grow Lights' label, either via device or entity labels. If triggered by sunrise (delayed by one hour), it will try up to five times to turn on any grow lights that are currently off. After each attempt, it waits up to ten seconds to see if all grow lights are now on. If they are all on, it stops the process with a success message and waits five minutes before the next potential attempt. If triggered by sunset, it performs a similar process but to turn off all currently on grow lights, checking that they are all off before stopping and waiting."
|
|
},
|
|
"human_like": "Automatically turns grow lights on one hour after sunrise and off at sunset, retrying up to five times if needed to ensure all lights change state.",
|
|
"complexity": "high"
|
|
}
|
|
}
|
|
] |