AutomationDataset/Evgen2/automation-descriptions.json

28 lines
2.7 KiB
JSON

[
{
"id": "Report outdoor temp to SmartTerm from weather",
"result": {
"structured": "TRIGGER: Every 30 seconds. CONDITIONS: forecast home assistant weather [weather.forecast_home_assistant] is not unavailable AND NAME t outdoor [number.NAME_t_outdoor] is not unavailable. ACTIONS: If the absolute difference between the temperature attribute of forecast home assistant weather [weather.forecast_home_assistant] and the state value of NAME t outdoor [number.NAME_t_outdoor] is greater than or equal to 0.1, then set the value of NAME t outdoor [number.NAME_t_outdoor] to the temperature attribute of forecast home assistant weather [weather.forecast_home_assistant] rounded to two decimal places.",
"natural_language": {
"trigger": "The automation runs every 30 seconds.",
"conditions": "Both the forecast home assistant weather [weather.forecast_home_assistant] and the NAME t outdoor [number.NAME_t_outdoor] entities must be available and not in an 'unavailable' state.",
"action": "If the outdoor temperature from the weather forecast differs from the current value stored in the number entity by at least 0.1 degrees, then update the number entity with the new temperature value, rounded to two decimal places."
},
"human_like": "Updates the outdoor temperature display on a controller if the weather forecast temperature changes by at least 0.1 degrees.",
"complexity": "medium"
}
},
{
"id": "Report indoor temp to SmarTherm controller",
"result": {
"structured": "TRIGGER: Every 10 seconds. CONDITIONS: YOUR SENSOR [sensor.YOUR_SENSOR] is not in an 'unavailable' state. ACTIONS: If the absolute difference between the numeric value of YOUR SENSOR [sensor.YOUR_SENSOR] and the numeric value of NAME t indoor [number.NAME_t_indoor] is greater than or equal to 0.05, then set the value of NAME t indoor [number.NAME_t_indoor] to the numeric value of YOUR SENSOR [sensor.YOUR_SENSOR] rounded to two decimal places.",
"natural_language": {
"trigger": "The automation runs every 10 seconds.",
"conditions": "It only proceeds if the temperature sensor YOUR SENSOR [sensor.YOUR_SENSOR] is available and reporting a value.",
"action": "If the temperature reading from YOUR SENSOR [sensor.YOUR_SENSOR] differs from the current value of the controller's indoor temperature setting NAME t indoor [number.NAME_t_indoor] by at least 0.05 degrees, it updates the controller's setting to match the sensor's value, rounded to two decimal places."
},
"human_like": "Regularly checks the indoor temperature and updates the SmartTherm controller if the reading has changed significantly.",
"complexity": "medium"
}
}
]