Skip to content

Commit

Permalink
Update repository meta data (#557)
Browse files Browse the repository at this point in the history
* Update repository meta data

- steps to update repo meta data using the Update information button
- explain difference to downloading a repo
- add info that when downloading, you can select a specific version
- fix list indents

* Add link

* - add note that Update information does not update the software, only meta data
- fix list indents

* Update source/docs/use/repositories/dashboard.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Fix typo

* Add link to polling interval

* Add link

* Fix typo

* Update source/docs/use/repositories/dashboard.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update source/docs/use/repositories/dashboard.md

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
  • Loading branch information
3 people authored Aug 22, 2024
1 parent 70d7f0f commit f9909b9
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions source/docs/use/repositories/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,45 @@ You can search for both downloaded and available repositories in HACS.
3. **Troubleshooting**: Don't see the status or type in your table?
- Make sure the [columns are not hidden](https://www.home-assistant.io/docs/organizing/tables#customizing-columns)

## Updating repository metadata

HACS [regularly checks the repositories for updates](/docs/faq/data_sources.md/#updates) and imports the new metadata, if there were changes. The metadata is what HACS knows about this repository. For example: the description, the documentation, the version information. In general, you do not need to check for updates. It is done automatically. But if you want to check immediately, you can manually trigger an update of the repository data.

1. In Home Assistant, open HACS and find the repository of interest.
2. On the repository entry, select the 3 dots :material-dots-vertical: menu, then select **Update information**.
- **Result**: If there were changes, the repository metadata is updated.
- You can now make an informed decision whether you want to [download](#downloading-a-repository) the new software version of the repository (if there even was a new version).

!!! note "Update information does not change the downloaded repository content"

**Update information** only updates what HACS knows about this repository. To get the new software version, you need to [download](#downloading-a-repository) it.

## Downloading a repository

To use the functionality provided by a repository, you need to download it to Home Assistant.

1. In Home Assistant, open HACS and find the repository of interest.
2. Select the repository and view it's overview page.
- The main section of this view renders the README file of the repository.
- The **badges** on top provide some key information, such as author, [GitHub](https://github.com) stars, and number of open issues and pull requests.
- This page should also contain the documentation on how to use it.
- The content depends on the repository [type](/docs/use/repositories/type/index.md) and on the information the author provides.
- This page should also contain the documentation on how to use it.
- The content depends on the repository [type](/docs/use/repositories/type/index.md) and on the information the author provides.

![Repository dashboard](/assets/images/screenshots/repository/overview/light.png#only-light)
![Repository dashboard](/assets/images/screenshots/repository/overview/dark.png#only-dark)

3. To download the repository, in the bottom-right corner, select the **Download** button.
- Don't see a download button? The button doesn't show if the repository has already been downloaded.
- This opens a dialog that lets you download the repository. You can also select a different version, if needed.
- Typically, you would install the newest version.
- A reason to choose an older version of a repository would be if you run an older version of Home Assistant and the newer version of the repository requires a newer version of Home Assistant.
- Check the documentation of the repository to find out which version of Home Assistant is required.
- Don't see the **Download** button? The button doesn't show if the repository has already been downloaded.

## Removing a repository

1. In Home Assistant, open HACS and find the repository you want to remove.
2. On the repository entry, select the 3 dots :material-dots-vertical: menu, then select **Remove**.
- This removes the repository that was stored in your [Home Assistant configuration directory](https://www.home-assistant.io/docs/configuration/#to-find-the-configuration-directory).
- This removes the repository that was stored in your [Home Assistant configuration directory](https://www.home-assistant.io/docs/configuration/#to-find-the-configuration-directory).
3. Removing the repository does not remove the related data. Check the documentation of the repository for instructions on how to remove it.

## Reporting an issue with a repository
Expand Down

0 comments on commit f9909b9

Please sign in to comment.