LampSetup provides all methods to build the payload of an Lamp device.
More...
LampSetup provides all methods to build the payload of an Lamp device.
◆ __init__()
def clib.lamp_setup.LampSetup.__init__ |
( |
|
self, |
|
|
|
fcfmal, |
|
|
|
device |
|
) |
| |
◆ get_buffer()
def clib.lamp_setup.LampSetup.get_buffer |
( |
|
self | ) |
|
Get lamp payload data (union)
◆ set_dictionary()
def clib.lamp_setup.LampSetup.set_dictionary |
( |
|
self, |
|
|
|
dict |
|
) |
| |
Set parameters according to a dictionary.
◆ switch_off()
def clib.lamp_setup.LampSetup.switch_off |
( |
|
self | ) |
|
◆ switch_on()
def clib.lamp_setup.LampSetup.switch_on |
( |
|
self | ) |
|
◆ switch_on_with_intensity()
def clib.lamp_setup.LampSetup.switch_on_with_intensity |
( |
|
self, |
|
|
|
intensity |
|
) |
| |
Set lamp ON flag with intensity control.
◆ switch_on_with_timer()
def clib.lamp_setup.LampSetup.switch_on_with_timer |
( |
|
self, |
|
|
|
timer, |
|
|
|
intensity = 100 |
|
) |
| |
The documentation for this class was generated from the following file: