Sha256: b833ceccc4591af240ed443b2ef2c6ea625624334f355e04a311fe456d2df8ea

Contents?: true

Size: 226 Bytes

Versions: 5

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

module Switchbot
  class Light < Device
    def brightness_up
      commands(command: 'brightnessUp')
    end

    def brightness_down
      commands(command: 'brightnessDown')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
switchbot-0.7.0 lib/switchbot/light.rb
switchbot-0.6.0 lib/switchbot/light.rb
switchbot-0.5.1 lib/switchbot/light.rb
switchbot-0.5.0 lib/switchbot/light.rb
switchbot-0.4.0 lib/switchbot/light.rb