54 lines
5.2 KiB
JSON
54 lines
5.2 KiB
JSON
[
|
|
{
|
|
"id": "DryingMachine",
|
|
"result": {
|
|
"structured": "TRIGGER: When drying machine power sensor [13febcca1216ffc189673489017dbd7f] power remains above 100 watts for 10 seconds OR When drying machine power sensor [13febcca1216ffc189673489017dbd7f] power remains below 10 watts for 30 seconds. CONDITIONS: None. ACTIONS: If the trigger was Start, turn on drying machine status [input_boolean.dryingmachine]. If the trigger was Stop AND drying machine status [input_boolean.dryingmachine] is on, turn off drying machine status [input_boolean.dryingmachine].",
|
|
"natural_language": {
|
|
"trigger": "When the drying machine power sensor [13febcca1216ffc189673489017dbd7f] reports power consumption above 100 watts for at least 10 seconds, or when it reports power consumption below 10 watts for at least 30 seconds.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "If the power consumption rises above 100 watts for 10 seconds, the automation marks the drying machine as active by turning on the drying machine status [input_boolean.dryingmachine]. If the power consumption drops and stays below 10 watts for 30 seconds and the drying machine status [input_boolean.dryingmachine] is currently on, the automation marks it as finished by turning it off."
|
|
},
|
|
"human_like": "Tracks when the drying machine starts and finishes a cycle by monitoring its power consumption, updating a status indicator accordingly.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "WashingMachine",
|
|
"result": {
|
|
"structured": "TRIGGER: When washing machine plug power [sensor.washing_machine_plug_power] power remains above 6 watts for 30 seconds (Start) OR When washing machine plug power [sensor.washing_machine_plug_power] power remains below 5 watts for 3 minutes (Stop). CONDITIONS: None. ACTIONS: Choose based on trigger: If the Start trigger fired, turn on washing machine status [input_boolean.washingmachine]. If the Stop trigger fired AND washing machine status [input_boolean.washingmachine] is on, turn off washing machine status [input_boolean.washingmachine].",
|
|
"natural_language": {
|
|
"trigger": "When the washing machine plug power [sensor.washing_machine_plug_power] remains above 6 watts for 30 seconds, or when it remains below 5 watts for 3 minutes.",
|
|
"conditions": "There are no additional conditions.",
|
|
"action": "If the trigger was the power rising above 6 watts, the automation turns on the washing machine status [input_boolean.washingmachine]. If the trigger was the power dropping below 5 watts and the washing machine status [input_boolean.washingmachine] is already on, it turns the status off."
|
|
},
|
|
"human_like": "Tracks the washing machine's cycle by monitoring its power consumption, turning a status indicator on when it starts and off when it finishes.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "weather_card_weekly_hourly",
|
|
"result": {
|
|
"structured": "TRIGGER: When weather card weekly [input_boolean.weather_card_weekly] turns on OR when weather card hourly [input_boolean.weather_card_hourly] turns on. CONDITIONS: None. ACTIONS: If the trigger was weather card weekly [input_boolean.weather_card_weekly] turning on, then turn off weather card hourly [input_boolean.weather_card_hourly]. If the trigger was weather card hourly [input_boolean.weather_card_hourly] turning on, then turn off weather card weekly [input_boolean.weather_card_weekly].",
|
|
"natural_language": {
|
|
"trigger": "The automation runs when either the weather card weekly [input_boolean.weather_card_weekly] or the weather card hourly [input_boolean.weather_card_hourly] is turned on.",
|
|
"conditions": "There are no conditions that must be met for the actions to run.",
|
|
"action": "Depending on which trigger occurred, the automation ensures only one weather card toggle is active at a time. If the weekly card was turned on, it turns off the hourly card. If the hourly card was turned on, it turns off the weekly card."
|
|
},
|
|
"human_like": "Ensures only one weather card (weekly or hourly) is active at a time by toggling the other off.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "PrinterLowToner",
|
|
"result": {
|
|
"structured": "TRIGGER: When printer black toner [sensor.brother_dcp_l2622dw_bk] falls below 30%. CONDITIONS: None. ACTIONS: Send a mobile notification [notify.mobile_app_sm_f956b] with title 'Printer Toner is low' and a message containing the printer info [sensor.brother_dcp_l2622dw] attribute 'info' and the current toner percentage.",
|
|
"natural_language": {
|
|
"trigger": "When the printer black toner [sensor.brother_dcp_l2622dw_bk] level drops below 30 percent.",
|
|
"conditions": "There are no additional conditions that must be met.",
|
|
"action": "Sends a notification to a mobile device [notify.mobile_app_sm_f956b] with the title 'Printer Toner is low'. The message includes the printer's current status information from printer info [sensor.brother_dcp_l2622dw] and the exact toner percentage that triggered the alert."
|
|
},
|
|
"human_like": "Sends a mobile notification when the printer's black toner level is low.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |