mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 15:34:26 +01:00
remove unused var
This commit is contained in:
@@ -66,8 +66,6 @@ class LuiController(object):
|
||||
|
||||
|
||||
def update_screensaver_brightness_state_callback(self, entity, attribute, old, new, kwargs):
|
||||
x = type(self._config.get("sleepBrightness"))
|
||||
y = self._config.get("sleepBrightness")
|
||||
if type(self._config.get("sleepBrightness")) == str:
|
||||
self.current_screensaver_brightness = self.calc_current_screensaver_brightness()
|
||||
self.update_screensaver_brightness(kwargs={"value": self.current_screensaver_brightness})
|
||||
|
||||
Reference in New Issue
Block a user