Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 18, 2024
1 parent 5068978 commit b723a8a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ovos_gui_plugin_shell_companion/brightness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b723a8a

Please sign in to comment.