mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Adding suggestion to put ',' between hex as well (#14270)
Right now the suggestion is to put '0x' in front of the generated hex keys which is great, but when I followed the instructions I didn't realize it didn't put the comma between the items already and it caused me problems for awhile until I realized. I'm proposing a change to also suggest adding a comma so people, like me, following the instructions will see it.
This commit is contained in:
parent
4f15669951
commit
a65ad2e165
@ -93,7 +93,7 @@ An easy script to generate a random key:
|
||||
cat /dev/urandom | tr -dc '0-9A-F' | fold -w 32 | head -n 1 | sed -e 's/\(..\)/0x\1, /g' -e 's/, $//'
|
||||
```
|
||||
|
||||
You can also use sites like [this one](https://www.random.org/cgi-bin/randbyte?nbytes=16&format=h) to generate the required data, just remember to put `0x` before each pair of characters:
|
||||
You can also use sites like [this one](https://www.random.org/cgi-bin/randbyte?nbytes=16&format=h) to generate the required data, just remember to put `0x` before each pair of characters and a `,` between them:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry for network_key
|
||||
|
Loading…
x
Reference in New Issue
Block a user