Skip to content

Commit

Permalink
remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiří Balcar committed Jan 6, 2025
1 parent f7770e1 commit 9833a0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/govee/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@ def rgb_color(self):
@property
def brightness(self):
"""Return the brightness value."""
# govee is reporting 0 to 254 - home assistant uses 1 to 255
scale = (0, 254)
return value_to_brightness(scale, self._device.brightness)
return value_to_brightness((0, 254), self._device.brightness)

@property
def color_temp_kelvin(self):
Expand Down

0 comments on commit 9833a0e

Please sign in to comment.