Correct typos in README and config template
This commit is contained in:
parent
42a012239f
commit
808482b370
|
@ -11,7 +11,6 @@ $ curl -X GET http://[::1]:8080 | jq
|
||||||
"space": "CCCHH",
|
"space": "CCCHH",
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuring
|
## Configuring
|
||||||
|
@ -41,7 +40,7 @@ The same is true for the endpoints for sensors configured under `"dynamic"`.
|
||||||
Currently only `temperature` and `humidity` are implemented.
|
Currently only `temperature` and `humidity` are implemented.
|
||||||
|
|
||||||
```shell
|
```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
|
## Building
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"credentials": {
|
"credentials": {
|
||||||
"home-assistant": {
|
"club-assistant": {
|
||||||
"username": "home-assistant",
|
"username": "club-assistant",
|
||||||
"password": "hamiau"
|
"password": "clubmiau"
|
||||||
},
|
},
|
||||||
"dooris-hauptraum": {
|
"dooris-hauptraum": {
|
||||||
"username": "dooris-hauptraum",
|
"username": "dooris-hauptraum",
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"description": "Sensor im Ofen"
|
"description": "Sensor im Ofen"
|
||||||
},
|
},
|
||||||
"allowed_credentials": [
|
"allowed_credentials": [
|
||||||
"home-assistant"
|
"club-assistant"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -30,20 +30,20 @@
|
||||||
"description": "Sensor im Hauptraum"
|
"description": "Sensor im Hauptraum"
|
||||||
},
|
},
|
||||||
"allowed_credentials": [
|
"allowed_credentials": [
|
||||||
"home-assistant"
|
"club-assistant"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"humidity": [
|
"humidity": [
|
||||||
{
|
{
|
||||||
"sensor_data": {
|
"sensor_data": {
|
||||||
"unit": "hPa",
|
"unit": "%",
|
||||||
"location": "Hauptraum",
|
"location": "Hauptraum",
|
||||||
"name": "Kueche",
|
"name": "Kueche",
|
||||||
"description": "Sensor im Wasserhahn"
|
"description": "Sensor im Wasserhahn"
|
||||||
},
|
},
|
||||||
"allowed_credentials": [
|
"allowed_credentials": [
|
||||||
"home-assistant"
|
"club-assistant"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue