parameters: (self, logo_type: LogoOption)
docstring: Sets the logo color option and image base url if not already set to this option
docstring_summary: Sets the logo color option and image base url if not already set to this option
docstring_tokens: Sets the logo color option and image base url if not already set to this option
function: def set_logo_color(self, logo_type: LogoOption):
          """ Sets the logo color option and image base url if not already set to this option """
          logo_option = LOGO_OPTIONS_MAPPING[logo_type]
          if self._logo_option and self._logo_option == logo_option:
              return
  
          _LOGGER.debug("Setting logo option to %s", logo_option)
          self._logo_option = logo_option
  
          if logo_type == LogoOption.Disabled:
              self._media_image_base_url = None
          else:
              self._media_image_base_url = f"{LOGO_BASE_URL}export/{self._logo_option}"
function_tokens: def set_logo_color ( self , logo_type : LogoOption ) : logo_option = LOGO_OPTIONS_MAPPING [ logo_type ] if self . _logo_option and self . _logo_option == logo_option : return _LOGGER . debug ( "Setting logo option to %s" , logo_option ) self . _logo_option = logo_option if logo_type == LogoOption . Disabled : self . _media_image_base_url = None else : self . _media_image_base_url = f"{LOGO_BASE_URL}export/{self._logo_option}"