AutomationDataset/greenspeedracer/automation-descriptions.json

54 lines
4.7 KiB
JSON

[
{
"id": "Thermostat Update",
"result": {
"structured": "TRIGGER: When living room ac [climate.living_room_ac] temperature attribute changes OR When living room ac [climate.living_room_ac] hvac_action attribute changes OR When living room ac [climate.living_room_ac] state changes. CONDITIONS: None. ACTIONS: Wait 500 milliseconds, then execute ce to pmtsd script [script.ce_to_pmtsd], then execute pmstd to w100 script [script.pmstd_to_w100].",
"natural_language": {
"trigger": "When the temperature setting, the HVAC action, or the general state of the living room ac [climate.living_room_ac] changes.",
"conditions": "There are no conditions that need to be met.",
"action": "After a brief 500-millisecond delay, it runs the ce to pmtsd script [script.ce_to_pmtsd] and then the pmstd to w100 script [script.pmstd_to_w100]."
},
"human_like": "Updates other systems whenever the living room air conditioner's status changes.",
"complexity": "low"
}
},
{
"id": "W100 PMSTD Request",
"result": {
"structured": "TRIGGER: When an MQTT message with payload 'W100_PMTSD_request' is received on topic 'zigbee2mqtt/Living Room Thermostat/action'. CONDITIONS: None. ACTIONS: Execute script ce to pmtsd script [script.ce_to_pmtsd], wait 500 milliseconds, then execute script pmstd to w100 script [script.pmstd_to_w100].",
"natural_language": {
"trigger": "When the Living Room Thermostat sends an MQTT message with the specific payload 'W100_PMTSD_request'.",
"conditions": "There are no conditions that must be met.",
"action": "First, it runs the script 'ce to pmtsd script' [script.ce_to_pmtsd]. After a very short delay of 500 milliseconds, it then runs the script 'pmstd to w100 script' [script.pmstd_to_w100]."
},
"human_like": "Responds to a specific request from the living room thermostat by running two scripts in sequence with a tiny delay.",
"complexity": "low"
}
},
{
"id": "W100 Update",
"result": {
"structured": "TRIGGER: When the state of living room thermostat [sensor.living_room_thermostat_pmtsd_from_w100_data] changes. CONDITIONS: The new state is not 'unknown', 'unavailable', 'none', or an empty string AND the new state is different from the old state AND it is NOT the case that the old state was one of the bad values ('unknown', 'unavailable', 'none', or empty) and the new state is not. ACTIONS: Execute script w100 to pmtsd script [script.w100_to_pmtsd], then execute script pmtsd to ce script [script.pmtsd_to_ce], then wait 500 milliseconds, then execute script ce to pmtsd script [script.ce_to_pmtsd], then execute script pmstd to w100 script [script.pmstd_to_w100].",
"natural_language": {
"trigger": "Whenever the state of the living room thermostat [sensor.living_room_thermostat_pmtsd_from_w100_data] changes.",
"conditions": "The new state must be a valid value (not 'unknown', 'unavailable', 'none', or empty), it must be different from the previous state, and the change must not be a transition from an invalid state to a valid one.",
"action": "First, run the script to convert W100 data to PMTSD format [script.w100_to_pmtsd]. Then, run the script to convert PMTSD data to CE format [script.pmtsd_to_ce]. After a short 500-millisecond delay, run the script to convert CE data back to PMTSD format [script.ce_to_pmtsd]. Finally, run the script to convert PMTSD data to W100 format [script.pmstd_to_w100]."
},
"human_like": "Updates thermostat data by converting it through a series of format transformations whenever a valid new value is received.",
"complexity": "medium"
}
},
{
"id": "Thermostat Update",
"result": {
"structured": "TRIGGER: When living room ac [climate.living_room_ac] temperature attribute changes OR When living room ac [climate.living_room_ac] hvac_action attribute changes OR When living room ac [climate.living_room_ac] state changes. CONDITIONS: None. ACTIONS: Wait 500 milliseconds, then execute ce to pmtsd script [script.ce_to_pmtsd], then execute pmstd to w100 script [script.pmstd_to_w100].",
"natural_language": {
"trigger": "When the temperature setting, the HVAC operation mode, or the overall state of the living room air conditioner [climate.living_room_ac] changes.",
"conditions": "There are no conditions that must be met.",
"action": "After a very brief delay of half a second, the automation runs two scripts in sequence: first the 'ce to pmtsd script' [script.ce_to_pmtsd], followed by the 'pmstd to w100 script' [script.pmstd_to_w100]."
},
"human_like": "Updates related systems whenever the living room air conditioner's status changes by running two processing scripts.",
"complexity": "low"
}
}
]