Skip to content

Commit

Permalink
Fix secret name
Browse files Browse the repository at this point in the history
  • Loading branch information
bnordli committed Nov 24, 2021
1 parent ac07ecf commit f84d8a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ mv custom_components/plejd/* .
## Configuring component

Put the crypto key in your `secrets.yaml` file:
`plejd_crypt: "********************************"`
`plejd_crypto: "********************************"`

And configure the component in your `configuration.yaml`:
```
plejd:
crypto_key: !secret plejd
crypto_key: !secret plejd_crypto
lights:
11: bedroom
13: kitchen_1
Expand Down
8 changes: 4 additions & 4 deletions upgrade_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Example of an old configuration:
```
light:
- platform: plejd
crypto_key: !secret plejd
crypto_key: !secret plejd_crypto
devices:
11:
name: bedroom
Expand All @@ -18,7 +18,7 @@ light:
The corresponding new configuration:
```
plejd:
crypto_key: !secret plejd
crypto_key: !secret plejd_crypto
lights:
11: bedroom
13: kitchen
Expand All @@ -34,7 +34,7 @@ way:
```
light:
- platform: plejd
crypto_key: !secret plejd
crypto_key: !secret plejd_crypto
devices:
11:
name: bedroom
Expand All @@ -49,7 +49,7 @@ configured this way:

```
plejd:
crypto_key: !secret plejd
crypto_key: !secret plejd_crypto
lights:
11: bedroom
13: kitchen
Expand Down

0 comments on commit f84d8a0

Please sign in to comment.