Class: Switchbot::Light
- Inherits:
-
Object
- Object
- Switchbot::Light
- Extended by:
- Forwardable
- Defined in:
- lib/switchbot/light.rb
Instance Method Summary collapse
- #brightness_down ⇒ Object
- #brightness_up ⇒ Object
-
#initialize(client:, device_id:) ⇒ Light
constructor
A new instance of Light.
Constructor Details
Instance Method Details
#brightness_down ⇒ Object
17 18 19 |
# File 'lib/switchbot/light.rb', line 17 def brightness_down commands(command: 'brightnessDown') end |
#brightness_up ⇒ Object
13 14 15 |
# File 'lib/switchbot/light.rb', line 13 def brightness_up commands(command: 'brightnessUp') end |