Skip to content

Commit

Permalink
Update helpers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marengaz authored Feb 20, 2022
1 parent ef646ee commit e63c7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_rako/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def command_to_byte_list(command: CommandUDP) -> List[int]:


def convert_to_brightness(scene_number: int) -> int:
# scenes can exist outside of 0-4.
# scenes can exist outside of 0-4.
# rather than KeyError, lets return mid-level brightness
return _scene_brightness.get(scene_number, 128)

Expand Down

0 comments on commit e63c7ba

Please sign in to comment.