mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
api/builtins/ColorLight: remove brightness
Brightness control will not be implemented for the next release, so remove it.
This commit is contained in:
@@ -448,14 +448,12 @@ class Light():
|
||||
class ColorLight():
|
||||
"""Control a multi-color light."""
|
||||
|
||||
def on(self, color, brightness=100):
|
||||
def on(self, color):
|
||||
"""Turn on the light at the specified color and brightness.
|
||||
|
||||
Arguments:
|
||||
color (Color): Color of the light. The light turns off if you
|
||||
choose ``None`` or a color that is not available.
|
||||
brightness (:ref:`brightness`): Brightness of the selected
|
||||
color (*Default*: 100).
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user