Skip to content

Commit

Permalink
Fix ValueError: Scene is not available. Only 0 to 32 are supported #141
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidy committed Mar 5, 2022
1 parent fcc5159 commit 5893b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywizlight/bulb.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def _set_scene(self, scene_id: int) -> None:
"""Set the scene by id."""
if scene_id not in SCENES:
# id not in SCENES !
raise ValueError("Scene is not available. Only 0 to 32 are supported")
raise ValueError("Scene is not available. Only 1 to 32 are supported")
self.pilot_params["sceneId"] = scene_id

def _set_rgbw(self, rgbw: Tuple[int, int, int, int]) -> None:
Expand Down

0 comments on commit 5893b31

Please sign in to comment.