509 lines
39 KiB
JSON
509 lines
39 KiB
JSON
[
|
|
{
|
|
"id": "unset_auto_lock",
|
|
"result": {
|
|
"structured": "TRIGGER: When the time reaches 5 minutes before the next alarm [sensor.galaxys24_next_alarm] OR When sleep mode [input_boolean.sleep_mode] changes from on to off OR When home mode [input_boolean.home_mode] changes from off to on OR When front door lock [lock.front_door_lock] changes from locked to unlocked OR When the mqtt device [device_id: 9d09874393e2b3fd2b18669638d127be] triggers a config_double action. CONDITIONS: auto lock front door [input_boolean.auto_lock_front_door] is on. ACTIONS: Turn off auto lock front door [input_boolean.auto_lock_front_door].",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered in five different ways: when the time is five minutes before the next alarm [sensor.galaxys24_next_alarm], when sleep mode [input_boolean.sleep_mode] is turned off, when home mode [input_boolean.home_mode] is turned on, when the front door lock [lock.front_door_lock] is unlocked, or when a specific MQTT device [device_id: 9d09874393e2b3fd2b18669638d127be] sends a 'config_double' action signal.",
|
|
"conditions": "The only condition is that the auto lock front door [input_boolean.auto_lock_front_door] feature must be currently enabled (on).",
|
|
"action": "The automation disables the auto-lock feature by turning off the auto lock front door [input_boolean.auto_lock_front_door] input boolean."
|
|
},
|
|
"human_like": "Temporarily disables the front door auto-lock feature when you wake up, come home, unlock the door, or press a button, ensuring the door doesn't lock automatically in these situations.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "set_auto_lock",
|
|
"result": {
|
|
"structured": "TRIGGER: When sunset occurs OR When mqtt device [device_id:9d09874393e2b3fd2b18669638d127be] sends an action of type config_single. CONDITIONS: auto lock front door [input_boolean.auto_lock_front_door] is off. ACTIONS: Turn on auto lock front door [input_boolean.auto_lock_front_door].",
|
|
"natural_language": {
|
|
"trigger": "When the sun sets, or when the mqtt device [device_id:9d09874393e2b3fd2b18669638d127be] sends a specific configuration action.",
|
|
"conditions": "The automation only runs if the auto lock front door [input_boolean.auto_lock_front_door] is currently turned off.",
|
|
"action": "Turns on the auto lock front door [input_boolean.auto_lock_front_door] input boolean."
|
|
},
|
|
"human_like": "Enables the front door auto-lock feature either at sunset or via a remote command from a device.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "auto_lock_on_led",
|
|
"result": {
|
|
"structured": "TRIGGER: When auto lock front door [input_boolean.auto_lock_front_door] turns on. CONDITIONS: None. ACTIONS: Set the value of entryway light led color when on [number.entryway_light_ledcolorwhenon] to 5 AND set the value of entryway light led color when off [number.entryway_light_ledcolorwhenoff] to 5 AND publish an MQTT message to the topic 'zigbee2mqtt/Entryway Light/set' with payload '{\"led_effect\": {\"effect\":\"chase\",\"color\":5,\"duration\":10,\"level\":25}}'.",
|
|
"natural_language": {
|
|
"trigger": "When the auto lock front door [input_boolean.auto_lock_front_door] is turned on.",
|
|
"conditions": "There are no conditions that need to be met.",
|
|
"action": "Set the LED color value for both the 'when on' and 'when off' states of the entryway light to 5, and send a command to the light via MQTT to activate a specific LED chase effect with a color value of 5, a duration of 10 seconds, and a brightness level of 25."
|
|
},
|
|
"human_like": "When automatic door locking is enabled, it sets the entryway light's LED color and activates a visual chase effect.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "auto_lock_off_led",
|
|
"result": {
|
|
"structured": "TRIGGER: When auto lock front door [input_boolean.auto_lock_front_door] changes to off. CONDITIONS: None. ACTIONS: Publish MQTT message to topic 'zigbee2mqtt/Entryway Light/set' with payload {\"led_effect\": {\"effect\":\"off\"}} AND Set entryway light led color when on [number.entryway_light_ledcolorwhenon] and entryway light led color when off [number.entryway_light_ledcolorwhenoff] to value 170.",
|
|
"natural_language": {
|
|
"trigger": "When the auto lock front door [input_boolean.auto_lock_front_door] is turned off.",
|
|
"conditions": "There are no conditions that need to be met.",
|
|
"action": "Sends an MQTT command to turn off the LED effect on the Entryway Light and sets the 'led color when on' [number.entryway_light_ledcolorwhenon] and 'led color when off' [number.entryway_light_ledcolorwhenoff] values to 170."
|
|
},
|
|
"human_like": "When automatic door locking is disabled, it turns off the entryway light's LED effect and sets its color parameters to a default value.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "charging_started",
|
|
"result": {
|
|
"structured": "TRIGGER: When ev battery charge [binary_sensor.my_ev6_ev_battery_charge] changes from off to on. CONDITIONS: None. ACTIONS: Execute script notify_apps with data: title 'Car', message containing ev battery level [sensor.my_ev6_ev_battery_level] and estimated charge duration [sensor.my_ev6_estimated_charge_duration] formatted as a human-readable time.",
|
|
"natural_language": {
|
|
"trigger": "When the car's charging status changes from not charging to charging.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Sends a notification to mobile apps with the title 'Car' and a message stating that charging has started, the current battery level, and the estimated time until the charge is complete."
|
|
},
|
|
"human_like": "Sends a notification when the car starts charging, including the current battery level and estimated time to full charge.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "charging_stopped",
|
|
"result": {
|
|
"structured": "TRIGGER: When ev battery charge [binary_sensor.my_ev6_ev_battery_charge] changes from on to off. CONDITIONS: None. ACTIONS: Execute the script script.notify_apps with data: title 'Car', message 'Charging complete. Currently at [sensor.my_ev6_ev_battery_level]%. Estimated range [sensor.my_ev6_ev_range] km.'",
|
|
"natural_language": {
|
|
"trigger": "When the ev battery charge [binary_sensor.my_ev6_ev_battery_charge] stops charging, changing its state from on to off.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Sends a notification via the script 'notify_apps' with the title 'Car' and a message stating that charging is complete, including the current battery level from ev battery level [sensor.my_ev6_ev_battery_level] and the estimated range from ev range [sensor.my_ev6_ev_range]."
|
|
},
|
|
"human_like": "Sends a notification when the car finishes charging, showing the current battery level and estimated range.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "charged_full",
|
|
"result": {
|
|
"structured": "TRIGGER: When ev battery level [sensor.my_ev6_ev_battery_level] changes to 100. CONDITIONS: None. ACTIONS: Set ev6 last full charge [input_datetime.ev6_last_full_charge] to the current date and time.",
|
|
"natural_language": {
|
|
"trigger": "When the ev battery level [sensor.my_ev6_ev_battery_level] reaches 100%.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Records the current date and time to ev6 last full charge [input_datetime.ev6_last_full_charge]."
|
|
},
|
|
"human_like": "Records the time when the electric vehicle battery is fully charged.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "detect_door_open",
|
|
"result": {
|
|
"structured": "TRIGGER: When front door contact [binary_sensor.front_door_contact] changes from closed (off) to open (on) OR When sliding door contact [binary_sensor.sliding_door_contact] changes from closed (off) to open (on). CONDITIONS: home mode [input_boolean.home_mode] is off. ACTIONS: Execute script notify_apps with data: title 'Doors' and message containing the friendly_name attribute of the triggering entity.",
|
|
"natural_language": {
|
|
"trigger": "When the front door contact [binary_sensor.front_door_contact] opens, or when the sliding door contact [binary_sensor.sliding_door_contact] opens.",
|
|
"conditions": "The automation only runs if the home mode [input_boolean.home_mode] is set to off, indicating the house is in 'away' mode.",
|
|
"action": "Sends a notification to mobile apps with the title 'Doors' and a message stating which specific door is open, using the door's friendly name."
|
|
},
|
|
"human_like": "Sends a mobile notification when a door is opened while the house is in away mode.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "detect_front_door_open",
|
|
"result": {
|
|
"structured": "TRIGGER: When front door contact [binary_sensor.front_door_contact] becomes open (on) AND remains open for 1 minute. CONDITIONS: None. ACTIONS: Execute script notify_apps with data: title 'Doors', message 'Front Door left open for 1 minute.'.",
|
|
"natural_language": {
|
|
"trigger": "When the front door contact [binary_sensor.front_door_contact] is opened and stays open for one minute.",
|
|
"conditions": "There are no additional conditions for this automation.",
|
|
"action": "Sends a notification to mobile apps with the title 'Doors' and the message 'Front Door left open for 1 minute.' by running the script notify_apps."
|
|
},
|
|
"human_like": "Sends a notification if the front door is left open for more than a minute.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "fan_timer_stop",
|
|
"result": {
|
|
"structured": "TRIGGER: When stop fan timer [timer.stop_fan] finishes. ACTIONS: Turn off bedroom fan [switch.bedroom_fan].",
|
|
"natural_language": {
|
|
"trigger": "When the stop fan timer [timer.stop_fan] finishes.",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "Turns off the bedroom fan [switch.bedroom_fan]."
|
|
},
|
|
"human_like": "Automatically turns off the bedroom fan when its timer runs out.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "fan_cancel_timer",
|
|
"result": {
|
|
"structured": "TRIGGER: When bedroom fan [switch.bedroom_fan] turns off. CONDITIONS: stop fan timer [timer.stop_fan] is active OR paused. ACTIONS: Cancel stop fan timer [timer.stop_fan].",
|
|
"natural_language": {
|
|
"trigger": "When the bedroom fan [switch.bedroom_fan] is turned off.",
|
|
"conditions": "If the stop fan timer [timer.stop_fan] is currently either active or paused.",
|
|
"action": "Cancels the stop fan timer [timer.stop_fan]."
|
|
},
|
|
"human_like": "Cancels the fan's scheduled stop timer when the fan is turned off manually.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "fan_switch_on",
|
|
"result": {
|
|
"structured": "TRIGGER: When mqtt device 2 [device_id: 9670c4fd4d208a0f5cce5158f1b7c786] sends an 'up_double' action OR When the temperature attribute of weather ksea [weather.ksea] rises above 80. CONDITIONS: bedroom fan [switch.bedroom_fan] is off. ACTIONS: Turn on bedroom fan [switch.bedroom_fan].",
|
|
"natural_language": {
|
|
"trigger": "When the MQTT device named 'mqtt device 2' sends a double-up action, or when the temperature reported by the weather entity 'weather ksea' exceeds 80 degrees.",
|
|
"conditions": "The bedroom fan switch must currently be off.",
|
|
"action": "Turns on the bedroom fan."
|
|
},
|
|
"human_like": "Turns on the bedroom fan either when a specific MQTT button is double-pressed or when the outside temperature gets too hot.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "start_washing_machine",
|
|
"result": {
|
|
"structured": "TRIGGER: When washing machine vibration [binary_sensor.washing_machine_vibration] turns on and remains on for 7 seconds. CONDITIONS: washing machine status [input_select.washing_machine_status] is 'off' OR 'completed'. ACTIONS: Set washing machine status [input_select.washing_machine_status] to 'running' AND Set washing machine start [input_datetime.washing_machine_start] to the current timestamp.",
|
|
"natural_language": {
|
|
"trigger": "When the washing machine vibration sensor [binary_sensor.washing_machine_vibration] detects vibration and stays in the 'on' state for at least 7 seconds.",
|
|
"conditions": "The washing machine status [input_select.washing_machine_status] must be set to either 'off' or 'completed'.",
|
|
"action": "Changes the washing machine status [input_select.washing_machine_status] to 'running' and records the current time in the washing machine start [input_datetime.washing_machine_start] input."
|
|
},
|
|
"human_like": "Starts tracking a washing machine cycle when vibration is detected, provided the machine wasn't already running.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "complete_washing_machine",
|
|
"result": {
|
|
"structured": "TRIGGER: When washing machine vibration [binary_sensor.washing_machine_vibration] remains off for 5 minutes. CONDITIONS: washing machine status [input_select.washing_machine_status] is running. ACTIONS: Set washing machine status [input_select.washing_machine_status] to 'completed' AND set washing machine start [input_datetime.washing_machine_start] to the current timestamp.",
|
|
"natural_language": {
|
|
"trigger": "When the washing machine vibration [binary_sensor.washing_machine_vibration] sensor reports no vibration for a continuous period of 5 minutes.",
|
|
"conditions": "If the washing machine status [input_select.washing_machine_status] is currently set to 'running'.",
|
|
"action": "Changes the washing machine status [input_select.washing_machine_status] to 'completed' and updates the washing machine start [input_datetime.washing_machine_start] timestamp to the current time."
|
|
},
|
|
"human_like": "Marks the washing machine cycle as completed and updates its start time when it has been still for 5 minutes.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "start_dryer",
|
|
"result": {
|
|
"structured": "TRIGGER: When dryer vibration [binary_sensor.dryer_vibration] turns on and remains on for 10 seconds. CONDITIONS: dryer status [input_select.dryer_status] is 'off' OR 'completed'. ACTIONS: Set dryer status [input_select.dryer_status] to 'running' AND set dryer start [input_datetime.dryer_start] to the current timestamp.",
|
|
"natural_language": {
|
|
"trigger": "When the dryer vibration [binary_sensor.dryer_vibration] sensor detects vibration and stays active for at least 10 seconds.",
|
|
"conditions": "The dryer status [input_select.dryer_status] must be set to either 'off' or 'completed'.",
|
|
"action": "Change the dryer status [input_select.dryer_status] to 'running' and record the current time in the dryer start [input_datetime.dryer_start] input."
|
|
},
|
|
"human_like": "Starts tracking a dryer cycle when vibration is detected and the dryer is not already running.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "complete_dryer",
|
|
"result": {
|
|
"structured": "TRIGGER: When dryer vibration [binary_sensor.dryer_vibration] remains off for 2 minutes. CONDITIONS: dryer status [input_select.dryer_status] is running. ACTIONS: Set dryer status [input_select.dryer_status] to 'completed' AND Set dryer start [input_datetime.dryer_start] to the current timestamp.",
|
|
"natural_language": {
|
|
"trigger": "When the dryer vibration [binary_sensor.dryer_vibration] sensor stops detecting vibration and remains still for two minutes.",
|
|
"conditions": "The dryer status [input_select.dryer_status] must currently be set to 'running'.",
|
|
"action": "Changes the dryer status [input_select.dryer_status] to 'completed' and updates the dryer start [input_datetime.dryer_start] time to the current moment."
|
|
},
|
|
"human_like": "Marks the dryer cycle as completed and records the finish time when the dryer has been still for two minutes.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "notify_laundry_completion",
|
|
"result": {
|
|
"structured": "TRIGGER: When washing machine status [input_select.washing_machine_status] changes from running to completed OR when dryer status [input_select.dryer_status] changes from running to completed. CONDITIONS: None. ACTIONS: 1. Execute script notify_single_action_apps with title 'Laundry', message containing the trigger alias, action_key 'finish_laundry', and action_title 'Finish'. 2. Wait for either a mobile_app_notification_action event with action 'finish_laundry' OR a mobile_app_notification_cleared event with action 'finish_laundry' for up to 30 minutes. If the timeout occurs, stop the automation. 3. If the wait was triggered by a mobile_app_notification_action event, then set the entity that triggered the automation (either washing machine status [input_select.washing_machine_status] or dryer status [input_select.dryer_status]) to the option 'off'.",
|
|
"natural_language": {
|
|
"trigger": "When the washing machine status [input_select.washing_machine_status] changes from 'running' to 'completed', or when the dryer status [input_select.dryer_status] changes from 'running' to 'completed'.",
|
|
"conditions": "There are no conditions that must be checked before proceeding with the actions.",
|
|
"action": "First, a notification is sent to a mobile app with the title 'Laundry', a message indicating which appliance completed its cycle, and an action button labeled 'Finish'. The automation then waits for up to 30 minutes for the user to either tap the 'Finish' button in the notification or to clear the notification. If the user taps the 'Finish' button, the status of the appliance that triggered the automation (washing machine or dryer) is set to 'off'. If the notification times out after 30 minutes without any user interaction, the automation stops and does not change the appliance status."
|
|
},
|
|
"human_like": "Sends a notification when a laundry appliance finishes its cycle and resets its status to 'off' if the user acknowledges the notification.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "living_room_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When eric person [person.eric] OR laura person [person.laura] arrives home OR at sunset with a 15-minute offset before sunset. CONDITIONS: (sun down condition: after sunset with a 15-minute offset before sunset) AND (lights off condition: twinkle lights [light.twinkle_lights] is off) AND (not away condition: home mode [input_boolean.home_mode] is on) AND (not sleep condition: sleep mode [input_boolean.sleep_mode] is off). ACTIONS: IF sony xr tv [media_player.sony_xr_75x90j] is on THEN set living room scene [input_select.living_room_scene] to 'lo' OTHERWISE set living room scene [input_select.living_room_scene] to 'mid'.",
|
|
"natural_language": {
|
|
"trigger": "When either eric person [person.eric] or laura person [person.laura] arrives home, or when it is 15 minutes before sunset.",
|
|
"conditions": "The sun must be down (after sunset with a 15-minute offset), the twinkle lights [light.twinkle_lights] must be off, the home mode [input_boolean.home_mode] must be on (indicating someone is home), and the sleep mode [input_boolean.sleep_mode] must be off.",
|
|
"action": "If the sony xr tv [media_player.sony_xr_75x90j] is on, the automation sets the living room scene [input_select.living_room_scene] to 'lo'. Otherwise, it sets the scene to 'mid'."
|
|
},
|
|
"human_like": "Turns on the living room lights to a suitable brightness level when someone arrives home or at dusk, depending on whether the TV is on.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "select_living_room_scene",
|
|
"result": {
|
|
"structured": "TRIGGER: When living room scene [input_select.living_room_scene] changes state. CONDITIONS: None. ACTIONS: Choose based on the state of living room scene [input_select.living_room_scene]. If state is 'off', turn on living room off scene [scene.living_room_off]. If state is 'lo', turn on living room lo scene [scene.living_room_lo]. If state is 'mid', turn on living room mid scene [scene.living_room_mid]. If state is 'hi', turn on living room hi scene [scene.living_room_hi]. If state is 'max', turn on living room max scene [scene.living_room_max].",
|
|
"natural_language": {
|
|
"trigger": "Whenever the selected option for the living room scene [input_select.living_room_scene] changes.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Depending on the new selected scene, the automation will activate the corresponding lighting scene. If 'off' is selected, it turns on the living room off scene [scene.living_room_off]. If 'lo' is selected, it turns on the living room lo scene [scene.living_room_lo]. If 'mid' is selected, it turns on the living room mid scene [scene.living_room_mid]. If 'hi' is selected, it turns on the living room hi scene [scene.living_room_hi]. If 'max' is selected, it turns on the living room max scene [scene.living_room_max]."
|
|
},
|
|
"human_like": "Automatically activates the correct lighting scene in the living room whenever a new scene is selected from the dropdown.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "select_next_living_room_scene",
|
|
"result": {
|
|
"structured": "TRIGGER: When the MQTT device [device_id: 9d09874393e2b3fd2b18669638d127be] sends an 'up_double' action. CONDITIONS: None. ACTIONS: Select the next option for the living room scene [input_select.living_room_scene].",
|
|
"natural_language": {
|
|
"trigger": "When a specific MQTT device sends a double-press-up action.",
|
|
"conditions": "There are no conditions that need to be met.",
|
|
"action": "Cycles to the next option in the living room scene [input_select.living_room_scene] selector."
|
|
},
|
|
"human_like": "Cycles to the next living room scene when a button is double-pressed.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "select_prev_living_room_scene",
|
|
"result": {
|
|
"structured": "TRIGGER: When the MQTT device [device_id: 9d09874393e2b3fd2b18669638d127be] receives a 'down_double' action. CONDITIONS: None. ACTIONS: Select the previous option for living room scene [input_select.living_room_scene].",
|
|
"natural_language": {
|
|
"trigger": "When a specific MQTT device [device_id: 9d09874393e2b3fd2b18669638d127be] sends a 'down_double' action signal.",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "Cycles the living room scene [input_select.living_room_scene] selector to the previous option."
|
|
},
|
|
"human_like": "Cycles to the previous living room scene when a specific button is double-pressed.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "sleep_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When sleep mode [input_boolean.sleep_mode] changes from off to on. CONDITIONS: None. ACTIONS: Set living room scene [input_select.living_room_scene] to 'off' AND Turn off bedroom light [light.bedroom_light] AND Turn off dining light [light.dining_light].",
|
|
"natural_language": {
|
|
"trigger": "When the sleep mode [input_boolean.sleep_mode] is switched on from an off state.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "It sets the living room scene [input_select.living_room_scene] to 'off', turns off the bedroom light [light.bedroom_light], and turns off the dining light [light.dining_light]."
|
|
},
|
|
"human_like": "Turns off all specified lights and sets the living room scene to 'off' when sleep mode is activated.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "notify_away_lights",
|
|
"result": {
|
|
"structured": "TRIGGER: When torch light [light.torch_light] OR arc lamp [light.arc_lamp] OR twinkle lights [light.twinkle_lights] OR dining light [light.dining_light] OR bedroom light [light.bedroom_light] OR tv room light [light.tv_room_light] turns on. CONDITIONS: home mode [input_boolean.home_mode] is off. ACTIONS: Execute script notify_apps with data: title 'Lights', message 'The [trigger.entity_id] light is on.'.",
|
|
"natural_language": {
|
|
"trigger": "When any of the specified lights (torch light [light.torch_light], arc lamp [light.arc_lamp], twinkle lights [light.twinkle_lights], dining light [light.dining_light], bedroom light [light.bedroom_light], or tv room light [light.tv_room_light]) turns on.",
|
|
"conditions": "The home mode [input_boolean.home_mode] is set to off, indicating the house is in 'away' mode.",
|
|
"action": "Sends a notification via the script notify_apps, with the title 'Lights' and a message stating which specific light turned on."
|
|
},
|
|
"human_like": "Sends a notification when any monitored light is turned on while the home is in 'away' mode.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "daily_unlock_door",
|
|
"result": {
|
|
"structured": "TRIGGER: When sleep mode [input_boolean.sleep_mode] changes from on to off. CONDITIONS: home mode [input_boolean.home_mode] is on AND away mode [input_boolean.away_mode] is off AND front door lock [lock.front_door_lock] is NOT unlocked. ACTIONS: Unlock front door lock [lock.front_door_lock].",
|
|
"natural_language": {
|
|
"trigger": "When the sleep mode [input_boolean.sleep_mode] is turned off.",
|
|
"conditions": "If the home mode [input_boolean.home_mode] is active, the away mode [input_boolean.away_mode] is not active, and the front door lock [lock.front_door_lock] is currently locked.",
|
|
"action": "Unlocks the front door lock [lock.front_door_lock]."
|
|
},
|
|
"human_like": "Automatically unlocks the front door when you wake up and are at home, provided the door is currently locked.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "lock_door_nightly",
|
|
"result": {
|
|
"structured": "TRIGGER: When sleep mode [input_boolean.sleep_mode] turns on (from off to on). CONDITIONS: (front door lock [lock.front_door_lock] is NOT locked) AND (front door contact [binary_sensor.front_door_contact] is closed (off)). ACTIONS: Lock front door lock [lock.front_door_lock].",
|
|
"natural_language": {
|
|
"trigger": "When the sleep mode [input_boolean.sleep_mode] is activated, changing from off to on.",
|
|
"conditions": "The front door lock [lock.front_door_lock] must not already be locked, and the front door contact [binary_sensor.front_door_contact] must report that the door is closed.",
|
|
"action": "Locks the front door lock [lock.front_door_lock]."
|
|
},
|
|
"human_like": "Automatically locks the front door when sleep mode is turned on, provided the door is closed and not already locked.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "auto_lock_door",
|
|
"result": {
|
|
"structured": "TRIGGER: When front door contact [binary_sensor.front_door_contact] changes from open (on) to closed (off) AND remains closed for 1 second. CONDITIONS: auto lock front door [input_boolean.auto_lock_front_door] is on. ACTIONS: Lock front door lock [lock.front_door_lock].",
|
|
"natural_language": {
|
|
"trigger": "When the front door contact [binary_sensor.front_door_contact] changes from being open to closed and stays closed for at least one second.",
|
|
"conditions": "The automation is only active if the auto lock front door [input_boolean.auto_lock_front_door] is switched on.",
|
|
"action": "Locks the front door lock [lock.front_door_lock]."
|
|
},
|
|
"human_like": "Automatically locks the front door a second after it is closed, provided the auto-lock feature is enabled.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "auto_unlock_door",
|
|
"result": {
|
|
"structured": "TRIGGER: When eric person [person.eric] OR laura person [person.laura] arrives home (state changes to home). CONDITIONS: (front door lock [lock.front_door_lock] is NOT unlocked) AND (sleep mode [input_boolean.sleep_mode] is off) AND (away mode [input_boolean.away_mode] is off). ACTIONS: Unlock front door lock [lock.front_door_lock].",
|
|
"natural_language": {
|
|
"trigger": "When either eric person [person.eric] or laura person [person.laura] arrives home.",
|
|
"conditions": "The front door lock [lock.front_door_lock] must be locked (i.e., not unlocked). Additionally, both sleep mode [input_boolean.sleep_mode] and away mode [input_boolean.away_mode] must be turned off.",
|
|
"action": "Unlock the front door lock [lock.front_door_lock]."
|
|
},
|
|
"human_like": "Automatically unlocks the front door when Eric or Laura arrives home, provided the door is locked and neither sleep nor away modes are active.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "notify_door",
|
|
"result": {
|
|
"structured": "TRIGGER: When front door lock [lock.front_door_lock] changes state, provided the new state is not 'unavailable' or 'unknown' AND the previous state was not 'unavailable' or 'unknown'. CONDITIONS: None. ACTIONS: Run script notify_apps with data: title 'Doors', message 'Front door is {{ states('lock.front_door_lock') }}.'.",
|
|
"natural_language": {
|
|
"trigger": "Whenever the front door lock [lock.front_door_lock] changes its state, but only if both the new state and the previous state are not 'unavailable' or 'unknown'.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Sends a notification via the 'notify_apps' script with the title 'Doors' and a message stating the current state of the front door lock."
|
|
},
|
|
"human_like": "Sends a notification whenever the front door lock state changes, but filters out unreliable 'unavailable' or 'unknown' status updates.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "update_erics_meds",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID b47d9601-9f16-4ab4-b31e-11f6a529817e is scanned. CONDITIONS: None. ACTIONS: Set the date and time of erics meds last [input_datetime.erics_meds_last] to the current timestamp.",
|
|
"natural_language": {
|
|
"trigger": "When a specific tag (ID: b47d9601-9f16-4ab4-b31e-11f6a529817e) is scanned.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Updates the 'erics meds last' [input_datetime.erics_meds_last] tracker to the current date and time."
|
|
},
|
|
"human_like": "Updates a timestamp to record when Eric's medication was last taken, triggered by scanning a specific tag.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "remind_eric_meds",
|
|
"result": {
|
|
"structured": "TRIGGER: When sleep mode [input_boolean.sleep_mode] changes from on to off AND remains off for 30 minutes. CONDITIONS: home mode [input_boolean.home_mode] is on AND the timestamp stored in erics meds last [input_datetime.erics_meds_last] is earlier than today at 00:00 (midnight). ACTIONS: Run script script.notify_apps with data title 'Medications' and message 'Reminder to take your meds.'.",
|
|
"natural_language": {
|
|
"trigger": "When the sleep mode [input_boolean.sleep_mode] is turned off and stays off for 30 minutes.",
|
|
"conditions": "The system must be in home mode [input_boolean.home_mode], and the last recorded medication time in erics meds last [input_datetime.erics_meds_last] must be from a previous day (i.e., before today's midnight).",
|
|
"action": "Sends a notification via the 'notify_apps' script with the title 'Medications' and the message 'Reminder to take your meds.'."
|
|
},
|
|
"human_like": "Reminds Eric to take his medications when he wakes up and hasn't taken them yet today, but only if he is at home.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "set_home_mode",
|
|
"result": {
|
|
"structured": "TRIGGER: When zone home [zone.home] numeric state is above 0. CONDITIONS: home mode [input_boolean.home_mode] is off. ACTIONS: Turn on home mode [input_boolean.home_mode].",
|
|
"natural_language": {
|
|
"trigger": "When the number of devices or people in the home zone [zone.home] becomes greater than zero.",
|
|
"conditions": "If the home mode [input_boolean.home_mode] is currently set to off.",
|
|
"action": "Activates the home mode by turning on home mode [input_boolean.home_mode]."
|
|
},
|
|
"human_like": "Turns on the home mode when someone or something enters the home area.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "unset_home_mode",
|
|
"result": {
|
|
"structured": "TRIGGER: When zone home [zone.home] is below 1. CONDITIONS: home mode [input_boolean.home_mode] is on. ACTIONS: Turn off home mode [input_boolean.home_mode].",
|
|
"natural_language": {
|
|
"trigger": "When the zone home [zone.home] has a value below 1.",
|
|
"conditions": "If the home mode [input_boolean.home_mode] is currently set to on.",
|
|
"action": "Turns off the home mode [input_boolean.home_mode]."
|
|
},
|
|
"human_like": "Disables the home mode when the home zone occupancy count drops to zero.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "set_sleep_mode",
|
|
"result": {
|
|
"structured": "TRIGGER: When mqtt device 2 [device_id: 9670c4fd4d208a0f5cce5158f1b7c786] sends an action of type config_single OR When galaxy s24 do not disturb [sensor.galaxys24_do_not_disturb_sensor] changes to any state that is NOT off, unknown, or unavailable. CONDITIONS: sleep mode [input_boolean.sleep_mode] is off. ACTIONS: Wait 5 seconds, then turn on sleep mode [input_boolean.sleep_mode].",
|
|
"natural_language": {
|
|
"trigger": "The automation can be triggered in two ways: either when the MQTT device named 'mqtt device 2' sends a specific action signal, or when the sensor 'galaxy s24 do not disturb' changes to a state that is not 'off', 'unknown', or 'unavailable'.",
|
|
"conditions": "The automation will only proceed if the 'sleep mode' input boolean is currently turned off.",
|
|
"action": "After a 5-second delay, the automation turns on the 'sleep mode' input boolean."
|
|
},
|
|
"human_like": "Activates sleep mode when a specific MQTT device action is received or when the phone's 'Do Not Disturb' is enabled, provided sleep mode isn't already on.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "unset_sleep_mode",
|
|
"result": {
|
|
"structured": "TRIGGER: When mqtt device 2 [device_id: 9670c4fd4d208a0f5cce5158f1b7c786] sends an MQTT action of type config_double. CONDITIONS: sleep mode [input_boolean.sleep_mode] is on. ACTIONS: Turn off sleep mode [input_boolean.sleep_mode].",
|
|
"natural_language": {
|
|
"trigger": "When the MQTT device named mqtt device 2 [device_id: 9670c4fd4d208a0f5cce5158f1b7c786] sends a specific action signal, specifically a double configuration action.",
|
|
"conditions": "The automation only runs if the sleep mode [input_boolean.sleep_mode] is currently active (on).",
|
|
"action": "Deactivates the sleep mode by turning off the sleep mode [input_boolean.sleep_mode] input boolean."
|
|
},
|
|
"human_like": "Turns off the sleep mode when a specific action is performed on a connected MQTT device.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "sleep_mode_on_led",
|
|
"result": {
|
|
"structured": "TRIGGER: When sleep mode [input_boolean.sleep_mode] turns on. CONDITIONS: None. ACTIONS: Set bedroom light led color when on [number.bedroom_light_ledcolorwhenon] to 200 AND Set bedroom light led color when off [number.bedroom_light_ledcolorwhenoff] to 200.",
|
|
"natural_language": {
|
|
"trigger": "When the sleep mode [input_boolean.sleep_mode] is turned on.",
|
|
"conditions": "There are no conditions for this automation.",
|
|
"action": "Sets the LED color value for both the 'when on' and 'when off' states of the bedroom light to 200, by adjusting the number entities bedroom light led color when on [number.bedroom_light_ledcolorwhenon] and bedroom light led color when off [number.bedroom_light_ledcolorwhenoff]."
|
|
},
|
|
"human_like": "Changes the bedroom light's LED color settings when sleep mode is activated.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "sleep_mode_off_led",
|
|
"result": {
|
|
"structured": "TRIGGER: When sleep mode [input_boolean.sleep_mode] turns off. CONDITIONS: None. ACTIONS: Set the value of bedroom light led color when on [number.bedroom_light_ledcolorwhenon] to 170 AND set the value of bedroom light led color when off [number.bedroom_light_ledcolorwhenoff] to 170.",
|
|
"natural_language": {
|
|
"trigger": "When the sleep mode [input_boolean.sleep_mode] is turned off.",
|
|
"conditions": "There are no conditions that need to be met.",
|
|
"action": "Sets the LED color value for both the bedroom light led color when on [number.bedroom_light_ledcolorwhenon] and the bedroom light led color when off [number.bedroom_light_ledcolorwhenoff] to 170."
|
|
},
|
|
"human_like": "Changes the bedroom light's LED color setting to 170 when sleep mode is deactivated.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "turn_on_light_and_tv",
|
|
"result": {
|
|
"structured": "TRIGGER: When MQTT device 3 [device_id:0d1e1ef71dff51f437db183f4d67d7ed] sends an action of type 'config_single'. CONDITIONS: tv room light [light.tv_room_light] is off AND sony xr tv [media_player.sony_xr_75x90j] is off. ACTIONS: Turn on tv room light [light.tv_room_light] AND Turn on sony xr tv [media_player.sony_xr_75x90j].",
|
|
"natural_language": {
|
|
"trigger": "When the MQTT device 3 [device_id:0d1e1ef71dff51f437db183f4d67d7ed] triggers a specific 'config_single' action.",
|
|
"conditions": "Both the tv room light [light.tv_room_light] and the sony xr tv [media_player.sony_xr_75x90j] must be off.",
|
|
"action": "Turns on the tv room light [light.tv_room_light] and then turns on the sony xr tv [media_player.sony_xr_75x90j]."
|
|
},
|
|
"human_like": "Turns on the TV and the room light when a specific MQTT device button is pressed, but only if both are currently off.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "turn_off_light_when_playing_media",
|
|
"result": {
|
|
"structured": "TRIGGER: When sony tv [media_player.sony_tv] has a media_content_type attribute that is not None for 30 seconds. CONDITIONS: tv room light [light.tv_room_light] is on. ACTIONS: Turn off tv room light [light.tv_room_light].",
|
|
"natural_language": {
|
|
"trigger": "When the Sony TV [media_player.sony_tv] is playing media, indicated by its media content type being set, and this state persists for 30 seconds.",
|
|
"conditions": "The TV room light [light.tv_room_light] must be turned on.",
|
|
"action": "Turns off the TV room light [light.tv_room_light]."
|
|
},
|
|
"human_like": "Turns off the TV room light when the TV has been playing media for half a minute.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "turn_on_light_when_tv_off",
|
|
"result": {
|
|
"structured": "TRIGGER: When sony xr tv [media_player.sony_xr_75x90j] changes from on to off. CONDITIONS: tv room light [light.tv_room_light] is off AND the current time is after sunset AND before 30 minutes before sunrise. ACTIONS: Turn on tv room light [light.tv_room_light].",
|
|
"natural_language": {
|
|
"trigger": "When the sony xr tv [media_player.sony_xr_75x90j] is turned off.",
|
|
"conditions": "The tv room light [light.tv_room_light] must be off, and it must be nighttime, specifically after sunset but before 30 minutes before sunrise.",
|
|
"action": "Turns on the tv room light [light.tv_room_light]."
|
|
},
|
|
"human_like": "Automatically turns on the TV room light when the TV is turned off at night, provided the light is not already on.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |