ca, ca fonctionne : deux triggers , (from ‹ off › et to ‹ off ›)
Merci pour ton aide
- id: '1717870452356'
alias: Automation Eteins Chauffage Living Room
description: ''
trigger:
- platform: state
entity_id:
- climate.smart_thermostat_test
attribute: hvac_action
from: 'off'
- platform: state
entity_id:
- climate.smart_thermostat_test
attribute: hvac_action
to: 'off'
condition: []
action:
- service: mqtt.publish
data:
qos: 0
retain: false
topic: zwave/41/64/0/mode/set
payload: '{% if states(''climate.smart_thermostat_test'') == ''off'' %} 0 {%
else %} 11 {% endif %}'
mode: single