module PlaceOS::Driver::Interface::Lighting::Level
Overview
Expects status is set as self[area.append("level")] = level
Defined in:
placeos-driver/interface/lighting.crInstance Method Summary
-
#lighting_level?(area : Area | Nil = nil)
return the current level
- #set_lighting(state : Bool, area : Area | Nil = nil, fade_time : UInt32 = 1000_u32)
-
#set_lighting_level(level : Float64, area : Area | Nil = nil, fade_time : UInt32 = 1000_u32)
level between 0.0 and 100.0, fade in milliseconds