From 4e6e38393e1e3ec37ff36f02a035f79318a2e997 Mon Sep 17 00:00:00 2001 From: Per Thomas Jahr Date: Sat, 29 Oct 2022 10:57:49 +0200 Subject: [PATCH] Update instructions for manual installation I just did a manual install and found that the instructions were a bit outdated: 1. I removed the warning about downloading the js file directly from github.com. I use the Terminal and SSH add-on from the web-ui and downloaded the file with curl. Works fine for me. 2. Update the text about where to add resource to the UI and also update the version number to 3. --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 70f07a0..a4c6e66 100644 --- a/README.md +++ b/README.md @@ -45,15 +45,10 @@ Home Assistant 0.84 or higher
Manual install -1. Download the `simple-thermostat.js` from the [latest release](https://github.com/nervetattoo/simple-thermostat/releases/latest) and store it in your `configuration/www` folder. - _Previously you could download the source file from Github but starting from the 0.14 release that is no longer possible. If you try to do so it will crash_ -2. Configure Lovelace to load the card: -```yaml -resources: - - url: /local/simple-thermostat.js?v=1 - type: module -``` + 1. Download the `simple-thermostat.js` from the [latest release](https://github.com/nervetattoo/simple-thermostat/releases/latest) and store it in your `configuration/www` folder. + +2. Configure Lovelace to load the card. This can be done by going to Settings, Dashboards, choose Resources from the three dots in the upper-right corner and then "Add Resource". Set URL to `/local/simple-thermostat.js?v=3` and choose "JavaScript Module" as "Resource Type".