def to_green(self, on: bool=False):
self._on = on<EOL>if on:<EOL><INDENT>self._load_new(led_green_on)<EOL>if self._toggle_on_click:<EOL><INDENT>self._canvas.bind('<STR_LIT>', lambda x: self.to_green(False))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._load_new(led_green)<EOL>if self._toggle_on_click:<EOL><INDENT>self._canvas.bind('<STR_LIT>', lambda x: self.to_green(True))<EOL><DEDENT><DEDENT>
Change the LED to green (on or off).

:param on: True or False
:return: None