Skip to content

Commit

Permalink
Added a hacs.json file and added info to the readme (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonke authored Sep 17, 2022
1 parent 0127863 commit c1353e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ because expensive peaks are produced by dirtier energy sources. Also helps solvi

## Installation

### Option 1: HACS
1. Go to HACS -> Integrations
2. Click the three dots on the top right and select `Custom Repositories`
3. Enter `https://github.com/jpulakka/nordpool_diff` as repository, select the category `Integration` and click Add
4. A new custom integration shows up for installation (Nordpool Diff) - install it
5. Restart Home Assistant

### Option 2: Manual

1. Install and configure https://github.com/custom-components/nordpool first.
2. Copy the `nordpool_diff` folder to HA `<config_dir>/custom_components/nordpool_diff/`
3. Restart HA. (Skipping restarting before modifying configuration would give "Integration 'nordpool_diff' not found"
Expand Down Expand Up @@ -96,7 +105,7 @@ To compensate for that, `normalize` was introduced. Current options include `nor
## Rank and interval

With `filter_type: rank`, the current price is ranked amongst the next `filter_length` prices. The lowest price is given
a value of `1`, the highest price is given the value of `-1`, and the other prices are equally distributed in this
a value of `1`, the highest price is given the value of `-1`, and the other prices are equally distributed in this
interval.

With `filter_type: interval`, the current price is placed inside the interval of the next `filter_length` prices. The
Expand Down
4 changes: 4 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "nordpool_diff",
"render_readme": true
}

0 comments on commit c1353e2

Please sign in to comment.