From 61a4a315f4fb9439d3ebd5bd6dea90df37291cb9 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 26 Jan 2023 17:02:08 -0500 Subject: [PATCH] Availability template fix for eco mode sensor --- packages/climate.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/climate.yaml b/packages/climate.yaml index 61a52ba..703b491 100644 --- a/packages/climate.yaml +++ b/packages/climate.yaml @@ -31,12 +31,7 @@ sensor: {% else %} mdi:home-lightning-bolt-outline {% endif %} - availability_template: >- - {% if is_state('input_boolean.master_bedroom_aircon_installed','on') %} - true - {% else %} - false - {% endif %} + availability_template: "{{ states('climate.master_bedroom_aircon') not in ['unavailable','unknown'] }}" master_bedroom_aircon_fan_mode: friendly_name: "Master Bedroom Aircon Fan Mode" value_template: >