Update blueprints/automations/bzo_climate.yaml

fixed send only one command to ac
This commit is contained in:
2025-07-31 07:46:38 +03:00
parent 937a54b9bb
commit 2a1bb0a521

View File

@@ -337,17 +337,12 @@
{% set temp = state_attr(climate, 'temperature') | float(999) %} {% set temp = state_attr(climate, 'temperature') | float(999) %}
{{ state != hvac_mode or fan != fan_mode or (temp | round(1)) != (adjusted_temp | round(1)) }} {{ state != hvac_mode or fan != fan_mode or (temp | round(1)) != (adjusted_temp | round(1)) }}
- service: climate.set_temperature - service: climate.set_hvac_mode
target: target:
entity_id: !input climate_entity entity_id: !input climate_entity
data: data:
temperature: "{{ adjusted_temp | float }}" temperature: "{{ adjusted_temp | float }}"
hvac_mode: "{{ hvac_mode }}" hvac_mode: "{{ hvac_mode }}"
- service: climate.set_fan_mode
target:
entity_id: !input climate_entity
data:
fan_mode: "{{ fan_mode }}" fan_mode: "{{ fan_mode }}"
- service: logbook.log - service: logbook.log