Installation
Prerequisites
Strategy Pack and dependencies are available in HACS (Home Assistant Community Store).
Install HACS if you don’t have it already.
For assistance, you can follow the HACS Installation Guide.
You need to install the following HACS integrations before you can use this strategy.
Open the links below and follow the installation instructions or use the badges to open the HACS repository at your Home
Assistant instance directly.
Thanks to the developers of all of these. Could not be done without their incredible work!
HACS Installation
Click the badge below.
or …
Till the PR to add this to HACS default is merged you need to add it as a custom Repository.
HACS - Custom Repositories (in kebap menu) - Add https://github.com/itsteddyyo/strategy-pack
Alternatively just click the Badge/Link above. It will prompt you to add the custom Repository with pre-filled URL.
- Open HACS in Home Assistant.
- Go to the “Frontend” section.
- Click the button with the
+
icon. - Search for “Strategy Pack” and install.
Manual Installation
-
Download
strategy-pack.es.js
file from thedist
directory. -
Save this file into your
config/www
folder on your Home Assistant instance. -
Add a reference to
strategy-pack.es.js
in Dashboard. There are two ways to do that:
If you do not see the Resources menu, you will need to enable Advanced Mode in your User Profile.
-
Using UI: Click the badge…
or…
- Go to Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url
to
/local/strategy-pack.es.js
→ Set Resource type toJavaScript Module
.
- Go to Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url
to
-
Using YAML: Add the following code to the
lovelace
section.resources: - url: /local/strategy-pack.es.js type: module