Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve installation instructions #65

Merged
merged 1 commit into from
Mar 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ However, it is not possible to have both, icons and texts, –something that it

## Installation

You need to install the plugin manually or through [HACS], not both. If you install the plugin using the two installations methods you could have issues or errors.
You need to install the plugin through [HACS] or manually, not both. If you install the plugin using the two installations methods you could have issues or errors.

### Through HACS

Expand All @@ -35,6 +35,23 @@ You need to install the plugin manually or through [HACS], not both. If you inst
3. Click on `Explore and download repositories` button in the bottom-right of the screen
4. Search for `keep-texts-in-tabs` and install it

#### If you are in storage mode (default mode)

That‘s it, you have properly installed the plugin

#### If you are in yaml mode

1. Go to your `configuration.yaml`
2. Add the URL to the installed plugin under the `extra_module_url` array of the `frontend` section

```yaml
frontend:
extra_module_url:
- /hacsfiles/keep-texts-in-tabs/keep-texts-in-tabs.js?v=1.0.0
```

3. Make sure you add the correct version at the end of the URL (e.g. `?v=1.0.0`) because in this way you make Home Assistant to load the new version on each update instead of a version stored in cache

### Manual installation

1. Download `keep-texts-in-tabs.js` from [the releases page](https://github.com/elchininet/keep-texts-in-tabs/releases/latest)
Expand All @@ -60,7 +77,7 @@ frontend:
- /local/keep-texts-in-tabs.js?v=1.0.0
```

4. Make sure you add the correct version at the end of the URL (e.g. `?v=1.0.0`) because in this way you make Home Assistant to load the new version instead of a version stored in cache
4. Make sure you add the correct version at the end of the URL (e.g. `?v=1.0.0`) because in this way you make Home Assistant to load the new version on each update instead of a version stored in cache

## Configuration

Expand Down
Loading