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)}}