Correct typos in README and config template

This commit is contained in:
Bendodroid 2024-01-15 15:27:08 +01:00
parent 42a012239f
commit 808482b370
Signed by: bendodroid
GPG key ID: 3EEE19A0F73D5FFC
2 changed files with 8 additions and 9 deletions

View file

@ -11,7 +11,6 @@ $ curl -X GET http://[::1]:8080 | jq
"space": "CCCHH",
...
}
```
## Configuring
@ -41,7 +40,7 @@ The same is true for the endpoints for sensors configured under `"dynamic"`.
Currently only `temperature` and `humidity` are implemented.
```shell
curl -X PUT -u user:password -d 23.42 http://[::1]:8080/{temperature,humidity}/location[/name]
curl -X PUT -u user:password -d 23.42 http://[::1]:8080/sensors/{temperature,humidity}/location[/name]
```
## Building

View file

@ -1,8 +1,8 @@
{
"credentials": {
"home-assistant": {
"username": "home-assistant",
"password": "hamiau"
"club-assistant": {
"username": "club-assistant",
"password": "clubmiau"
},
"dooris-hauptraum": {
"username": "dooris-hauptraum",
@ -20,7 +20,7 @@
"description": "Sensor im Ofen"
},
"allowed_credentials": [
"home-assistant"
"club-assistant"
]
},
{
@ -30,20 +30,20 @@
"description": "Sensor im Hauptraum"
},
"allowed_credentials": [
"home-assistant"
"club-assistant"
]
}
],
"humidity": [
{
"sensor_data": {
"unit": "hPa",
"unit": "%",
"location": "Hauptraum",
"name": "Kueche",
"description": "Sensor im Wasserhahn"
},
"allowed_credentials": [
"home-assistant"
"club-assistant"
]
}
]