def to_red(self, on: bool=False):
self._on = on<EOL>if on:<EOL><INDENT>self._load_new(led_red_on)<EOL>if self._toggle_on_click:<EOL><INDENT>self._canvas.bind('<STR_LIT>', lambda x: self.to_red(False))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._load_new(led_red)<EOL>if self._toggle_on_click:<EOL><INDENT>self._canvas.bind('<STR_LIT>', lambda x: self.to_red(True))<EOL><DEDENT><DEDENT>
Change the LED to red (on or off)
:param on: True or False
:return: None