diff --git a/display_weather.yaml b/display_weather.yaml index b04b46e..bee0421 100644 --- a/display_weather.yaml +++ b/display_weather.yaml @@ -112,7 +112,7 @@ display: } // Change brightnes if it needs to be changed - if (!id(current_brightness)!=br) { + if (id(current_brightness)!=br) { it.set_backlight_brightness(br); id(current_brightness)=br; - } \ No newline at end of file + }