Hello guys,
I’m turning nuts right now, I don’t understand what I’m doing wrong…
I want to use my climate MQTT thermostat preset value change as a trigger but it doesn’t work and I don’t get any error in the log… What am I doing wrong here?
Here is my automation code:
alias: TEST
description: ''
trigger:
- platform: template
value_template: '{{ state_attr(''climate.study_mqtt'', ''preset_mode'') }}'
condition: []
action:
- service: climate.set_temperature
data:
target_temp_low: '{{ states(''input_number.mode_confort_mini'') }}'
target_temp_high: '{{ states(''input_number.mode_confort_maxi'') }}'
entity_id: climate.study_mqtt
mode: single
I can see the value changing in the Template developer tools tab:
Any idea? I appreciate any help (or work around)