From 6f7514f1459e47cad9526ca5613c598c67208b32 Mon Sep 17 00:00:00 2001 From: bzoicas Date: Thu, 31 Jul 2025 08:22:52 +0300 Subject: [PATCH] Update blueprints/automations/bzo_climate.yaml reverted single command to unit --- blueprints/automations/bzo_climate.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/blueprints/automations/bzo_climate.yaml b/blueprints/automations/bzo_climate.yaml index 74b3031..5f605bf 100644 --- a/blueprints/automations/bzo_climate.yaml +++ b/blueprints/automations/bzo_climate.yaml @@ -337,12 +337,17 @@ {% set temp = state_attr(climate, 'temperature') | float(999) %} {{ state != hvac_mode or fan != fan_mode or (temp | round(1)) != (adjusted_temp | round(1)) }} - - service: climate.set_hvac_mode + - service: climate.set_temperature target: entity_id: !input climate_entity data: 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 }}" - service: logbook.log