parameters: (repository)
docstring: Get the filename to target.
docstring_summary: Get the filename to target.
docstring_tokens: Get the filename to target .
function: def find_file_name(repository):
      """Get the filename to target."""
      if repository.data.category == "plugin":
          get_file_name_plugin(repository)
      elif repository.data.category == "integration":
          get_file_name_integration(repository)
      elif repository.data.category == "theme":
          get_file_name_theme(repository)
      elif repository.data.category == "appdaemon":
          get_file_name_appdaemon(repository)
      elif repository.data.category == "python_script":
          get_file_name_python_script(repository)
  
      if repository.hacs.system.action:
          repository.logger.info(f"filename {repository.data.file_name}")
          repository.logger.info(f"location {repository.content.path.remote}")
function_tokens: def find_file_name ( repository ) : if repository . data . category == "plugin" : get_file_name_plugin ( repository ) elif repository . data . category == "integration" : get_file_name_integration ( repository ) elif repository . data . category == "theme" : get_file_name_theme ( repository ) elif repository . data . category == "appdaemon" : get_file_name_appdaemon ( repository ) elif repository . data . category == "python_script" : get_file_name_python_script ( repository ) if repository . hacs . system . action : repository . logger . info ( f"filename {repository.data.file_name}" ) repository . logger . info ( f"location {repository.content.path.remote}" )