From 808482b37083470dbdeeb93eb7690ad622d34b85 Mon Sep 17 00:00:00 2001 From: Bennett Wetters Date: Mon, 15 Jan 2024 15:27:08 +0100 Subject: [PATCH] Correct typos in README and config template --- README.md | 3 +-- config-template.json | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 12c7c67..f68787a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config-template.json b/config-template.json index 6fbaf81..c858f0e 100644 --- a/config-template.json +++ b/config-template.json @@ -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" ] } ] -- 2.44.1