From 488ffdf2a60ed9c309a1564e805727486fbd997e Mon Sep 17 00:00:00 2001 From: Alberto Bettin Date: Wed, 12 Feb 2025 14:34:01 +0100 Subject: [PATCH] Update Shelly_rgbw_brightness.yaml --- Shelly_rgbw_brightness.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shelly_rgbw_brightness.yaml b/Shelly_rgbw_brightness.yaml index 96a3627..7926af4 100644 --- a/Shelly_rgbw_brightness.yaml +++ b/Shelly_rgbw_brightness.yaml @@ -32,7 +32,7 @@ blueprint: sequence: - if: - condition: template - value_template: >- + value_template: >- {{mode == 'always' or (mode == 'if_lower' and current_brighness < brightness) or (mode == 'if_higher' and current_brighness > brightness)}}