Skip to content

Commit

Permalink
Fix some misleading comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jinnatar committed Mar 12, 2018
1 parent b8f5009 commit 3e7e854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cozify/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def light_temperature(device_id, temperature=2700, transition=0, **kwargs):
raise AttributeError('Device not found or not eligible for action.')

def light_color(device_id, hue, saturation=1.0, transition=0, **kwargs):
"""Set temperature of a light.
"""Set color (hue & saturation) of a light.
Args:
device_id(str): ID of the device to operate on.
Expand All @@ -171,7 +171,7 @@ def light_color(device_id, hue, saturation=1.0, transition=0, **kwargs):
raise AttributeError('Device not found or not eligible for action.')

def light_brightness(device_id, brightness, transition=0, **kwargs):
"""Set temperature of a light.
"""Set brightness of a light.
Args:
device_id(str): ID of the device to operate on.
Expand Down

0 comments on commit 3e7e854

Please sign in to comment.