J’ai le JSON d’une des traces (celle de 11h00 il me semble):
{
"trace": {
"last_step": "condition/2/entity_id/0",
"run_id": "5e20af8daf86d4adfc0ce054a6a803b5",
"state": "stopped",
"script_execution": "cancelled",
"timestamp": {
"start": "2025-11-24T10:00:00.435664+00:00",
"finish": "2025-11-24T10:17:08.874477+00:00"
},
"domain": "automation",
"item_id": "1668017338369",
"trigger": "time pattern",
"trace": {
"trigger/0": [
{
"path": "trigger/0",
"timestamp": "2025-11-24T10:00:00.435724+00:00",
"changed_variables": {
"this": {
"entity_id": "automation.test_gestion_chauffage",
"state": "on",
"attributes": {
"id": "1668017338369",
"last_triggered": "2025-11-23T12:40:00.436283+00:00",
"mode": "restart",
"current": 1,
"icon": "mdi:air-conditioner",
"friendly_name": "PAC - gestion auto chauffage"
},
"last_changed": "2025-11-22T18:04:02.447132+00:00",
"last_reported": "2025-11-23T12:40:00.437889+00:00",
"last_updated": "2025-11-23T12:40:00.436362+00:00",
"context": {
"id": "01KARBMWNKV2Y881ZKVT6KJARX",
"parent_id": null,
"user_id": null
}
},
"trigger": {
"id": "0",
"idx": "0",
"alias": null,
"platform": "time_pattern",
"now": "2025-11-24T11:00:00.435420+01:00",
"description": "time pattern"
}
}
}
],
"condition/0": [
{
"path": "condition/0",
"timestamp": "2025-11-24T10:00:00.435783+00:00",
"result": {
"result": true
}
}
],
"condition/0/entity_id/0": [
{
"path": "condition/0/entity_id/0",
"timestamp": "2025-11-24T10:00:00.435824+00:00",
"result": {
"result": true,
"state": "on",
"wanted_state": "on"
}
}
],
"condition/1": [
{
"path": "condition/1",
"timestamp": "2025-11-24T10:00:00.435918+00:00",
"result": {
"result": true
}
}
],
"condition/1/entity_id/0": [
{
"path": "condition/1/entity_id/0",
"timestamp": "2025-11-24T10:00:00.435951+00:00",
"result": {
"result": true,
"state": "on",
"wanted_state": "on"
}
}
],
"condition/2": [
{
"path": "condition/2",
"timestamp": "2025-11-24T10:00:00.436013+00:00",
"result": {
"result": true
}
}
],
"condition/2/entity_id/0": [
{
"path": "condition/2/entity_id/0",
"timestamp": "2025-11-24T10:00:00.436041+00:00",
"result": {
"result": true,
"state": "off",
"wanted_state": "off"
}
}
]
},
"config": {
"id": "1668017338369",
"alias": "PAC - gestion auto chauffage",
"description": "Toutes les 10 minutes.\nEn saison de chauffage. En mode auto et sans override temporaire. \nRéglage automatique du chauffage en fonction du planning et du tarif:\n- Chauffe à la temperature de consigne si planifié, sinon PAC off. \n- Si tarif rouge => PAC off.",
"trigger": [
{
"platform": "time_pattern",
"minutes": "/10"
},
{
"platform": "state",
"entity_id": [
"input_boolean.chauffage_mode_auto"
],
"to": "on"
}
],
"condition": [
{
"condition": "state",
"entity_id": "input_boolean.chauffage_mode_auto",
"state": "on",
"alias": "Le chauffage est en mode AUTO"
},
{
"condition": "state",
"entity_id": "input_boolean.saison_chauffage",
"state": "on",
"alias": "La saison est en mode Chauffage (mode hiver)"
},
{
"condition": "state",
"entity_id": "input_boolean.pac_override_temporaire",
"state": "off",
"alias": "L'override temporaire n'est pas activé"
}
],
"action": [
{
"alias": "Réglage auto du chauffage en fonction du tarif",
"choose": [
{
"conditions": [
{
"condition": "state",
"entity_id": "input_boolean.tarif_rouge",
"state": "off"
}
],
"sequence": [
{
"choose": [
{
"conditions": [
{
"condition": "state",
"entity_id": "schedule.planning_chauffage",
"state": "on"
}
],
"sequence": [
{
"device_id": "5b89093e82e42fe555148e26a107faba",
"domain": "climate",
"entity_id": "fe8907573739d862acee9459abe1c731",
"type": "set_hvac_mode",
"hvac_mode": "heat"
},
{
"data": {
"temperature": "{{states('input_number.temperature_confort_hiver')|int }}"
},
"target": {
"entity_id": "climate.pac"
},
"action": "climate.set_temperature"
}
],
"alias": "planning Chauffage => allumer PAC en chauffage et régler la temperature"
},
{
"conditions": [
{
"condition": "state",
"entity_id": "schedule.planning_chauffage",
"state": "off"
}
],
"sequence": [
{
"device_id": "5b89093e82e42fe555148e26a107faba",
"domain": "climate",
"entity_id": "fe8907573739d862acee9459abe1c731",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"alias": "planning OFF => éteindre la PAC"
}
],
"alias": "test du scheduler"
}
],
"alias": "Tarif rouge est Désactivé => régler le chauffage en fonction du planning"
},
{
"conditions": [
{
"condition": "state",
"entity_id": "input_boolean.tarif_rouge",
"state": "on"
}
],
"sequence": [
{
"device_id": "5b89093e82e42fe555148e26a107faba",
"domain": "climate",
"entity_id": "climate.pac",
"type": "set_hvac_mode",
"hvac_mode": "off"
}
],
"alias": "Tarif Rouge est activé => éteindre la PAC"
}
]
}
],
"mode": "restart"
},
"blueprint_inputs": null,
"context": {
"id": "01KATMWMNK2S4R2XFVVCYB29QP",
"parent_id": null,
"user_id": null
}
},
"logbookEntries": []
}
Et si on regarde dans l’interface:
la dernière étape des conditions est bien effectuée:
si on clique sur
![]()
On obtient
le premier check des actions n’est pas effectué (démarre par le test du booléen puis si OFF le test du scheduler):
si on clique sur
![]()
On obtient
Le booléen tarif rouge est dans le recorder et il n’a pas bougé.
Le scheduler n’est pas enregistré, donc je n’ai pas de trace de son état entre 8h et 11h17, mais à 11h17 il était bien off quand j’ai vérifié avant de couper la clim via le climate.PAC…

