AutomationDataset/pascaliske/automation-descriptions.json

119 lines
11 KiB
JSON

[
{
"id": "Check Home Assistant Version once a day",
"result": {
"structured": "TRIGGER: When Home Assistant starts OR at 08:00:00 daily. CONDITIONS: The value of latest version sensor [sensor.latest_version] is greater than the value of current version sensor [sensor.current_version]. ACTIONS: Send a notification to Secret Discord Channel [secret discord_channel] with title 'Update available' and a detailed embed message, AND create a persistent notification with title 'Update available' and a message containing the latest version and links.",
"natural_language": {
"trigger": "The automation runs either when Home Assistant first starts up, or every day at 8:00 AM.",
"conditions": "It only proceeds if the latest version sensor [sensor.latest_version] reports a version number that is greater than the current version sensor [sensor.current_version], indicating a new version is available.",
"action": "Sends a rich notification to a specified Discord channel [secret discord_channel] and creates a persistent notification within Home Assistant, both alerting the user about the available update and providing details like version numbers and links to release notes."
},
"human_like": "Checks daily for new Home Assistant updates and sends notifications when one is available.",
"complexity": "medium"
}
},
{
"id": "Good Night",
"result": {
"structured": "TRIGGER: When the time is 00:00 (midnight) OR When an iOS action named 'Good Night' is fired OR When vacation mode input boolean [input_boolean.vacation_mode] turns on. CONDITIONS: None. ACTIONS: Turn off all switches group [group.all_switches] AND Turn off all lights group [group.all_lights].",
"natural_language": {
"trigger": "The automation can be triggered in three ways: at midnight (00:00), when a 'Good Night' action is fired from an iOS device, or when the vacation mode input boolean [input_boolean.vacation_mode] is turned on.",
"conditions": "There are no conditions that must be met for the actions to run.",
"action": "Turns off all switches in the home via the all switches group [group.all_switches] and turns off all lights via the all lights group [group.all_lights]."
},
"human_like": "Turns off all lights and switches at midnight, when the 'Good Night' iOS action is used, or when vacation mode is activated.",
"complexity": "low"
}
},
{
"id": "Office Desk Turn Off After Sunrise",
"result": {
"structured": "TRIGGER: When sun sun [sun.sun] elevation rises above 2.5 degrees. CONDITIONS: None. ACTIONS: Turn off office desk wled light [light.office_desk_wled] with a 30-second transition.",
"natural_language": {
"trigger": "When the sun's elevation rises above 2.5 degrees.",
"conditions": "There are no additional conditions that must be met.",
"action": "Turns off the office desk wled light [light.office_desk_wled] with a 30-second fade-out transition."
},
"human_like": "Turns off the office desk light with a gentle fade shortly after sunrise.",
"complexity": "low"
}
},
{
"id": "Startup Checks",
"result": {
"structured": "TRIGGER: When Home Assistant starts. CONDITIONS: None. ACTIONS: Set the frontend theme to 'Google - Dark' AND send a notification to Secret Discord Channel [secret discord_channel] with title 'Home Assistant' and message ':white_check_mark: System has been started successfully'.",
"natural_language": {
"trigger": "When the Home Assistant system starts up.",
"conditions": "There are no conditions for this automation.",
"action": "Changes the user interface theme to 'Google - Dark' and sends a notification to the Secret Discord Channel [secret discord_channel] to confirm the system has started successfully."
},
"human_like": "Applies a dark theme and sends a startup notification to Discord when Home Assistant boots.",
"complexity": "low"
}
},
{
"id": "Travel Log Tag",
"result": {
"structured": "TRIGGER: When travel log tag [tag_id: d8011321-ba8d-482b-81ad-41f5dfbedd74] is scanned. CONDITIONS: NOT (pascals iphone device tracker [device_tracker.pascals_iphone] is home). ACTIONS: Set variables latitude and longitude to the latitude and longitude attributes of pascals iphone device tracker [device_tracker.pascals_iphone]. Call service rest_command.travel_log with data containing latitude and longitude. Send notification to mobile_app_pascals_iphone with title 'Travel Log Created' and message containing the logged coordinates.",
"natural_language": {
"trigger": "When the travel log tag [tag_id: d8011321-ba8d-482b-81ad-41f5dfbedd74] is scanned.",
"conditions": "The automation only runs if pascals iphone device tracker [device_tracker.pascals_iphone] is not at home.",
"action": "It fetches the current latitude and longitude from the phone's device tracker, sends this location data to a travel log service via a REST command, and then sends a notification to the phone confirming the log was created with the coordinates."
},
"human_like": "Logs the phone's current location to a travel log when a specific NFC tag is scanned, but only if the phone is not at home.",
"complexity": "medium"
}
},
{
"id": "Vacation Mode Notification",
"result": {
"structured": "TRIGGER: When hallway entrance door contact sensor [binary_sensor.hallway_entrance_door_lumi_contact] changes from closed (off) to open (on) OR When kitchen balcony door contact sensor [binary_sensor.kitchen_balcony_door_lumi_contact] changes from closed (off) to open (on) OR When guest bathroom window contact sensor [binary_sensor.guest_bathroom_window_lumi_contact] changes from closed (off) to open (on). CONDITIONS: vacation mode input boolean [input_boolean.vacation_mode] is on. ACTIONS: Send a notification to Secret Discord Channel [secret discord_channel] with the title 'Vacation Mode Notification' and a message containing a door emoji and the friendly name of the entity that triggered the automation.",
"natural_language": {
"trigger": "When the hallway entrance door contact sensor [binary_sensor.hallway_entrance_door_lumi_contact], the kitchen balcony door contact sensor [binary_sensor.kitchen_balcony_door_lumi_contact], or the guest bathroom window contact sensor [binary_sensor.guest_bathroom_window_lumi_contact] is opened (changes from closed to open).",
"conditions": "The vacation mode input boolean [input_boolean.vacation_mode] must be turned on.",
"action": "Sends a notification to the Secret Discord Channel [secret discord_channel] with a title of 'Vacation Mode Notification' and a message that includes a door emoji and the name of the specific door or window that was opened."
},
"human_like": "Sends a Discord notification when a door or window is opened while the house is in vacation mode.",
"complexity": "low"
}
},
{
"id": "Vacation Mode Tag",
"result": {
"structured": "TRIGGER: When vacation mode tag [tag_id: 598a8118-a5e4-4610-9078-ee90a1dda05b] is scanned. ACTIONS: 1. Send a notification to Secret Discord Channel [secret discord_channel] with title 'Vacation Mode' and a message stating Vacation Mode will be enabled in 3 minutes if vacation mode switch [switch.vacation_mode] is off, or disabled immediately if it is on. 2. Delay for 3 minutes if vacation mode switch [switch.vacation_mode] is off, else delay for 0 minutes. 3. Toggle vacation mode switch [switch.vacation_mode]. 4. If vacation mode switch [switch.vacation_mode] is on after toggling, turn off all switches group [group.all_switches] AND all lights group [group.all_lights].",
"natural_language": {
"trigger": "When the vacation mode tag [tag_id: 598a8118-a5e4-4610-9078-ee90a1dda05b] is scanned.",
"conditions": "There are no conditions that must be met before the actions are executed.",
"action": "The automation first sends a notification to the Secret Discord Channel [secret discord_channel] stating whether Vacation Mode will be enabled in 3 minutes or disabled immediately, based on the current state of the vacation mode switch [switch.vacation_mode]. It then waits for either 3 minutes (if the switch is off) or no time at all (if the switch is on). After the delay, it toggles the vacation mode switch. Finally, if the vacation mode switch ends up in the 'on' state after toggling, it turns off all switches in the all switches group [group.all_switches] and all lights in the all lights group [group.all_lights]."
},
"human_like": "Toggles Vacation Mode when a specific tag is scanned, notifying a Discord channel and turning off all lights and switches if the mode is enabled.",
"complexity": "medium"
}
},
{
"id": "Window Close Reminder",
"result": {
"structured": "TRIGGER: When guest bathroom window contact sensor [binary_sensor.guest_bathroom_window_lumi_contact] becomes open (on) AND remains open for 5 minutes. CONDITIONS: (vacation mode input boolean [input_boolean.vacation_mode] is on) OR (weather home [weather.home] temperature attribute is below 16°C). ACTIONS: Send a notification to Secret Discord Channel [secret discord_channel] with title 'Close Reminder' and a message containing the friendly name of the triggered entity and the current outside temperature.",
"natural_language": {
"trigger": "When the guest bathroom window contact sensor [binary_sensor.guest_bathroom_window_lumi_contact] detects the window is open and it stays open for 5 minutes.",
"conditions": "Either the vacation mode input boolean [input_boolean.vacation_mode] is turned on, or the outside temperature reported by weather home [weather.home] is below 16°C.",
"action": "Sends a Discord notification to the Secret Discord Channel [secret discord_channel] reminding someone to close the window, including the window's name and the current outside temperature."
},
"human_like": "Sends a reminder to close a window if it's been open for 5 minutes while either in vacation mode or when it's cold outside.",
"complexity": "medium"
}
},
{
"id": "Work",
"result": {
"structured": "TRIGGER: When an iOS action named 'Work' is fired. CONDITIONS: None. ACTIONS: Run office desk activate script [script.office_desk_activate] with the variable 'preset' set to 'Morning'.",
"natural_language": {
"trigger": "When a specific iOS shortcut or button named 'Work' is activated on a mobile device.",
"conditions": "There are no additional conditions that must be met.",
"action": "Activates the office desk activate script [script.office_desk_activate], setting its 'preset' variable to 'Morning'."
},
"human_like": "Activates a morning preset for the office desk when the 'Work' iOS shortcut is triggered.",
"complexity": "low"
}
}
]