Skip to content

Commit

Permalink
Merge pull request #48 from marcoroth/master
Browse files Browse the repository at this point in the history
fix cli brightness alias for light and group command
  • Loading branch information
soffes authored Jan 3, 2024
2 parents 258d3cd + ddd4abf commit 55fed5c
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 55fed5c

Please sign in to comment.