AutomationDataset/greenspeedracer/description-ready.json

152 lines
5.4 KiB
JSON

[
{
"id": "Thermostat Update",
"automation": "- alias: Thermostat Update\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - climate.living_room_ac\n attribute: temperature\n - trigger: state\n entity_id:\n - climate.living_room_ac\n attribute: hvac_action\n - trigger: state\n entity_id:\n - climate.living_room_ac\n conditions: []\n actions:\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: script.ce_to_pmtsd\n data: {}\n - action: script.pmstd_to_w100\n data: {}\n mode: queued",
"config": [
{
"name": "living room ac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_ac",
"device_id": null
}
},
{
"name": "ce to pmtsd script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.ce_to_pmtsd",
"device_id": null
}
},
{
"name": "pmstd to w100 script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.pmstd_to_w100",
"device_id": null
}
}
]
},
{
"id": "W100 PMSTD Request",
"automation": "- alias: W100 PMSTD Request\n description: ''\n triggers:\n - trigger: mqtt\n topic: zigbee2mqtt/Living Room Thermostat/action\n payload: W100_PMTSD_request\n conditions: []\n actions:\n - action: script.ce_to_pmtsd\n data: {}\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: script.pmstd_to_w100\n data: {}\n mode: single",
"config": [
{
"name": "ce to pmtsd script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.ce_to_pmtsd",
"device_id": null
}
},
{
"name": "pmstd to w100 script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.pmstd_to_w100",
"device_id": null
}
},
{
"name": "living room thermostat mqtt",
"room": "living_room",
"type": "device",
"id": {
"entity_id": null,
"device_id": "zigbee2mqtt/Living Room Thermostat/action"
}
}
]
},
{
"id": "W100 Update",
"automation": "- alias: W100 Update\n triggers:\n - entity_id:\n - sensor.living_room_thermostat_pmtsd_from_w100_data\n trigger: state\n conditions:\n - condition: template\n value_template: '{% set bad = [''unknown'', ''unavailable'', ''none'', ''''] %}\n {{ trigger.to_state.state not in bad and trigger.to_state.state != trigger.from_state.state\n and not (trigger.from_state.state in bad and trigger.to_state.state not in bad)\n }}\n\n '\n actions:\n - action: script.w100_to_pmtsd\n data: {}\n - action: script.pmtsd_to_ce\n data: {}\n - delay:\n milliseconds: 500\n - action: script.ce_to_pmtsd\n data: {}\n - action: script.pmstd_to_w100\n data: {}\n mode: single",
"config": [
{
"name": "living room thermostat",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_thermostat_pmtsd_from_w100_data",
"device_id": null
}
},
{
"name": "ce to pmtsd script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.ce_to_pmtsd",
"device_id": null
}
},
{
"name": "pmstd to w100 script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.pmstd_to_w100",
"device_id": null
}
},
{
"name": "w100 to pmtsd script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.w100_to_pmtsd",
"device_id": null
}
},
{
"name": "pmtsd to ce script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.pmtsd_to_ce",
"device_id": null
}
}
]
},
{
"id": "Thermostat Update",
"automation": "- -id: thermostat_update\n alias: Thermostat Update\n triggers:\n - trigger: state\n entity_id:\n - climate.living_room_ac\n attribute: temperature\n - trigger: state\n entity_id:\n - climate.living_room_ac\n attribute: hvac_action\n - trigger: state\n entity_id:\n - climate.living_room_ac\n conditions: []\n actions:\n - delay:\n hours: 0\n minutes: 0\n seconds: 0\n milliseconds: 500\n - action: script.ce_to_pmtsd\n data: {}\n - action: script.pmstd_to_w100\n data: {}\n mode: queued\n description: ''",
"config": [
{
"name": "living room ac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_ac",
"device_id": null
}
},
{
"name": "ce to pmtsd script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.ce_to_pmtsd",
"device_id": null
}
},
{
"name": "pmstd to w100 script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.pmstd_to_w100",
"device_id": null
}
}
]
}
]