Class: Wizrb::Lighting::Products::TunableLight
- Inherits:
-
Light
- Object
- Shared::Products::Device
- Light
- Wizrb::Lighting::Products::TunableLight
- Defined in:
- lib/wizrb/lighting/products/tunable_light.rb
Constant Summary collapse
- MODULE_NAME_IDENTIFIER =
"TW"- FEATURES =
{ brightness: true, color_temp: true, color: false, effect: true, scenes: %i[ cozy wake_up bedtime warm_white daylight cool_white night_light focus relax tv_time candlelight golden_white pulse steampunk ] }.freeze
Instance Attribute Summary
Attributes inherited from Shared::Products::Device
Instance Method Summary collapse
-
#initialize(ip:, port: 38_899) ⇒ TunableLight
constructor
A new instance of TunableLight.
Methods inherited from Light
#brightness, #cold_white, #color_temp, #rgb, #scene, #speed, #warm_white, #white_range
Methods inherited from Shared::Products::Device
#dispatch_event, #dispatch_events, #model_config, #module_name, #power_off, #power_on, #power_switch, #reboot, #refresh, #reset, #system_config, #user_config
Constructor Details
#initialize(ip:, port: 38_899) ⇒ TunableLight
Returns a new instance of TunableLight.
33 34 35 |
# File 'lib/wizrb/lighting/products/tunable_light.rb', line 33 def initialize(ip:, port: 38_899) super end |