Class: Wizrb::Lighting::Events::SetWarmWhiteEvent
- Inherits:
-
Shared::Events::Base
- Object
- Shared::Events::Base
- Wizrb::Lighting::Events::SetWarmWhiteEvent
- Defined in:
- lib/wizrb/lighting/events/set_warm_white_event.rb
Constant Summary collapse
- MIN_VALUE =
1
- MAX_VALUE =
255
Instance Attribute Summary
Attributes inherited from Shared::Events::Base
Instance Method Summary collapse
-
#initialize(value) ⇒ SetWarmWhiteEvent
constructor
A new instance of SetWarmWhiteEvent.
Methods inherited from Shared::Events::Base
Constructor Details
#initialize(value) ⇒ SetWarmWhiteEvent
Returns a new instance of SetWarmWhiteEvent.
12 13 14 15 |
# File 'lib/wizrb/lighting/events/set_warm_white_event.rb', line 12 def initialize(value) validate!(value) super(method: "setState", params: {w: value}) end |