Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellowlol committed Aug 19, 2019
1 parent 69d0e36 commit 8435dcf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -2,6 +2,8 @@

### Usage

Set up the sensor using the webui or use a yaml.

The sensors tries to set some sane default so a minimal setup can be

```
Expand Down Expand Up @@ -42,8 +44,9 @@ sensor:
# Possible values: mwh, kwh and w
# default: kwh
price_type: kwh
friendly_name: "Power"
```
You can also set it up using the webui.

run the create_template script if you want one sensors for each hour. See the help options with ```python create_template --help```
14 changes: 9 additions & 5 deletions info.md
Expand Up @@ -2,16 +2,16 @@

### Usage

Set up the sensor using the webui or use a yaml.

The sensors tries to set some sane default so a minimal setup can be

```
nordpool:
sensor:
- platform: nordpool
region: "Kr.sand"
region: "Kr.sand" # This can be skipped if you want Kr.sand
```
This will setup sensor with the name Elspot kwh Kr.sand in the local currency (NOK) with vat included where the sensors is in kwh/kr



in configuration.yaml
Expand All @@ -38,11 +38,15 @@ sensor:
region: "Kr.sand"
# How many decimals to use in the display of the price
precision: 2
precision: 3
# What the price should be displayed in default
# Possible values: mwh, kwh and w
# default: kwh
price_type: kwh
friendly_name: "Power"
```

run the create_template script if you want one sensors for each hour. See the help options with ```python create_template --help```

0 comments on commit 8435dcf

Please sign in to comment.