221 lines
11 KiB
JSON
221 lines
11 KiB
JSON
[
|
|
{
|
|
"id": "Défi Hilo Ancrage AM",
|
|
"automation": "- alias: Défi Hilo Ancrage AM\n description: Permet de gérer la période d'ancrage AM d'un défi Hilo/Manages the\n AM anchor phase of a Hilo Challenge\n mode: single\n triggers:\n - at: 01:00:00\n trigger: time\n - entity_id:\n - sensor.defi_hilo\n to: appreciation\n trigger: state\n conditions:\n - condition: and\n conditions:\n - condition: template\n value_template: '{{''am'' in state_attr(''sensor.defi_hilo'',''next_events'')[0][''period'']\n }}'\n - condition: template\n value_template: '{{ (state_attr(''sensor.defi_hilo'', ''next_events'')[0][''phases''][''preheat_start'']\n | as_datetime).strftime(''%Y-%m-%d'') == now().strftime(''%Y-%m-%d'') }}'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.defi_hilo\n state: appreciation\n - condition: state\n entity_id: sensor.defi_hilo\n state: scheduled\n - condition: time\n after: 00:55:00\n before: 01:05:00\n actions:\n - action: climate.set_temperature\n metadata: {}\n data: {}\n target:\n entity_id: climate.thermostat_cuisine",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat cuisine",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_cuisine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hilo Ancrage PM",
|
|
"automation": "- alias: Défi Hilo Ancrage PM\n description: Permet de gérer la période d'ancrage PM d'un défi Hilo/Manages the\n PM anchor phase of a Hilo Challenge\n mode: single\n triggers:\n - at: '12:00:00'\n trigger: time\n - entity_id:\n - sensor.defi_hilo\n to: appreciation\n trigger: state\n conditions:\n - condition: and\n conditions:\n - condition: template\n value_template: '{{''pm'' in state_attr(''sensor.defi_hilo'',''next_events'')[0][''period'']\n }}'\n - condition: template\n value_template: '{{ (state_attr(''sensor.defi_hilo'', ''next_events'')[0][''phases''][''preheat_start'']\n | as_datetime).strftime(''%Y-%m-%d'') == now().strftime(''%Y-%m-%d'') }}'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.defi_hilo\n state: appreciation\n - condition: state\n entity_id: sensor.defi_hilo\n state: scheduled\n - condition: time\n after: '11:55:00'\n before: '12:05:00'\n actions:\n - action: climate.set_temperature\n metadata: {}\n data: {}\n target:\n entity_id: climate.thermostat_cuisine",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat cuisine",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_cuisine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hilo Préchauffe AM",
|
|
"automation": "- alias: Défi Hilo Préchauffe AM\n description: Gère la préchauffe Hilo du matin/Manages the AM pre-heat phase of a\n Hilo Challenge\n mode: single\n triggers:\n - entity_id:\n - sensor.defi_hilo\n to: pre_heat\n trigger: state\n - at: 04:00:00\n trigger: time\n conditions:\n - condition: time\n before: 04:05:00\n after: 03:55:00\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.defi_hilo\n state: pre_heat\n - condition: state\n entity_id: sensor.defi_hilo\n state: reduction\n actions:\n - data:\n temperature: 15\n target:\n entity_id: climate.thermostat_salle_de_bain\n action: climate.set_temperature\n - metadata: {}\n data: {}\n target:\n entity_id: switch.prise_echangeur_d_air\n action: switch.turn_off",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat salle de bain",
|
|
"room": "bathroom",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_salle_de_bain",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "prise echangeur d air",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.prise_echangeur_d_air",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hio Préchauffe PM",
|
|
"automation": "- alias: Défi Hio Préchauffe PM\n description: Gère la préchauffe Hilo de l'après-midi/Manages the PM pre-heat phase\n of a Hilo Challenge\n mode: single\n triggers:\n - entity_id:\n - sensor.defi_hilo\n to: pre_heat\n trigger: state\n - at: '15:00:00'\n trigger: time\n conditions:\n - condition: time\n before: '15:05:00'\n after: '14:55:00'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.defi_hilo\n state: pre_heat\n - condition: state\n entity_id: sensor.defi_hilo\n state: reduction\n actions:\n - metadata: {}\n data: {}\n target:\n entity_id: switch.prise_echangeur_d_air\n action: switch.turn_off",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "prise echangeur d air",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.prise_echangeur_d_air",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hilo Recovery AM",
|
|
"automation": "- alias: Défi Hilo Recovery AM\n description: Permet de gérer la période de reprise AM/Manages the AM recovery phase\n of a Hilo Challenge\n mode: single\n triggers:\n - entity_id:\n - sensor.defi_hilo\n to: recovery\n from: reduction\n trigger: state\n - at: '10:00:00'\n trigger: time\n conditions:\n - condition: time\n before: '10:05:00'\n after: 09:55:00\n actions:\n - data:\n temperature: 18\n target:\n entity_id:\n - climate.thermostat_cuisine\n action: climate.set_temperature\n - metadata: {}\n data: {}\n target:\n entity_id: switch.prise_echangeur_d_air\n action: switch.turn_on",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat cuisine",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_cuisine",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "prise echangeur d air",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.prise_echangeur_d_air",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hilo Recovery PM",
|
|
"automation": "- alias: Défi Hilo Recovery PM\n description: Permet de gérer la période de reprise PM/Manages the PM recovery phase\n of a Hilo Challenge\n mode: single\n triggers:\n - entity_id:\n - sensor.defi_hilo\n to: recovery\n trigger: state\n - at: '21:00:00'\n trigger: time\n conditions:\n - condition: time\n before: '21:05:00'\n after: '20:55:00'\n actions:\n - data:\n temperature: 18\n target:\n entity_id:\n - climate.thermostat_cuisine\n action: climate.set_temperature\n - metadata: {}\n data: {}\n target:\n entity_id: switch.prise_echangeur_d_air\n action: switch.turn_on",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat cuisine",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_cuisine",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "prise echangeur d air",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.prise_echangeur_d_air",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hilo Réduction AM",
|
|
"automation": "- alias: Défi Hilo Réduction AM\n description: Permet de gérer la période de réduction AM/Manages the AM reduction\n phase of a Hilo Challenge\n mode: single\n triggers:\n - entity_id:\n - sensor.defi_hilo\n to: reduction\n trigger: state\n - at: 06:00:00\n trigger: time\n conditions:\n - condition: time\n before: 06:05:00\n after: 05:55:00\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.defi_hilo\n state: pre_heat\n - condition: state\n entity_id: sensor.defi_hilo\n state: reduction\n actions:\n - data:\n temperature: 15\n target:\n entity_id:\n - climate.thermostat_cuisine\n action: climate.set_temperature",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat cuisine",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_cuisine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Défi Hilo Réduction PM",
|
|
"automation": "- alias: Défi Hilo Réduction PM\n description: Permet de gérer la période de réduction PM/Manages the PM reduction\n phase of a Hilo Challenge\n mode: single\n triggers:\n - entity_id:\n - sensor.defi_hilo\n to: reduction\n enabled: true\n from: pre_heat\n trigger: state\n - at: '17:00:00'\n trigger: time\n conditions:\n - condition: time\n before: '17:05:00'\n after: '16:55:00'\n - condition: or\n conditions:\n - condition: state\n entity_id: sensor.defi_hilo\n state: pre_heat\n - condition: state\n entity_id: sensor.defi_hilo\n state: reduction\n actions:\n - data:\n temperature: 15\n target:\n entity_id:\n - climate.thermostat_cuisine\n action: climate.set_temperature",
|
|
"config": [
|
|
{
|
|
"name": "defi hilo",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.defi_hilo",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "thermostat cuisine",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.thermostat_cuisine",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |