Correct typos in README and config template
This commit is contained in:
parent
42a012239f
commit
808482b370
2 changed files with 8 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue