Skip to content

Commit

Permalink
fix cli brightness alias for light and group command
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Oct 13, 2018
1 parent 2e9db44 commit ddd4abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hue/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def all(state = 'on')
LONGDESC
option :hue, :type => :numeric
option :sat, :type => :numeric, :aliases => '--saturation'
option :brightness, :type => :numeric, :aliases => '--brightness'
option :bri, :type => :numeric, :aliases => '--brightness'
option :alert, :type => :string
def light(id, state = nil)
light = client.light(id)
Expand Down Expand Up @@ -81,7 +81,7 @@ def groups
LONGDESC
option :hue, :type => :numeric
option :sat, :type => :numeric, :aliases => '--saturation'
option :brightness, :type => :numeric, :aliases => '--brightness'
option :bri, :type => :numeric, :aliases => '--brightness'
option :alert, :type => :string
def group(id, state = nil)
group = client.group(id)
Expand Down

0 comments on commit ddd4abf

Please sign in to comment.