From b723a8a799402caaebd52c1e91006c228b93a178 Mon Sep 17 00:00:00 2001 From: miro Date: Sun, 18 Aug 2024 19:38:01 +0100 Subject: [PATCH] simplify --- ovos_gui_plugin_shell_companion/brightness.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ovos_gui_plugin_shell_companion/brightness.py b/ovos_gui_plugin_shell_companion/brightness.py index 11cf732..3e7cf47 100644 --- a/ovos_gui_plugin_shell_companion/brightness.py +++ b/ovos_gui_plugin_shell_companion/brightness.py @@ -92,11 +92,8 @@ def handle_set_brightness(self, message: Message): Args: message: The message received from the bus. """ - if not self.fake_brightness: - # let external PHAL plugin handle it - return - LOG.debug("Setting brightness level from bus") level = message.data.get("brightness", "") + LOG.debug(f"External brightness level update: {level}") percent_level = 100 * float(level) if float(level) < 0: