RGBLed
Smart HomeThe house’s colour lamp; colours are red, green and blue from 0 to 255.
How you reach it
Section titled “How you reach it”The RGBLed class is reached through this attribute of home.
home.rgb_led
Section titled “home.rgb_led”Always there.
All the attributes of home are in its table.
Methods
Section titled “Methods”set_color(r, g, b)
Section titled “set_color(r, g, b)”Lights the lamp in a colour made of red, green and blue, each from 0 to 255.
set_color(r, g, b)Used in examples: Hello, house, OLED picture, Web dashboard, Doorbell