From 1619cb3403511fd08656bbc0a553b23f5e128cff Mon Sep 17 00:00:00 2001 From: thecem <46648579+thecem@users.noreply.github.com> Date: Wed, 15 Feb 2023 18:03:48 +0100 Subject: [PATCH] fixed the config file Fixed the lints and puter the example config to the right place. --- ha-addon/config.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ha-addon/config.json b/ha-addon/config.json index f587f1c..30ac9e7 100755 --- a/ha-addon/config.json +++ b/ha-addon/config.json @@ -38,7 +38,12 @@ "logfile": "/dev/stdout", "shell": "/wmbusmeters/mosquitto_pub.sh \"wmbusmeters/$METER_NAME\" \"$METER_JSON\"" }, - "meters": {}, + "meters": { + "name": "ElectricityMeter", + "driver": "amiplus", + "id": "12345678", + "key": "DEADBEEF1337DEADBEEF1337DEADBEEF" + }, "mqtt": {} }, "schema": { @@ -55,13 +60,15 @@ "device": "str", "donotprobe": "str?", "logtelegrams": "bool?", + "format": "str", + "logfile": "str", "shell": "str" }, "meters": { - "name": "ElectricityMeter", - "driver": "amiplus", - "id": "12345678", - "key": "DEADBEEF1337DEADBEEF1337DEADBEEF" + "name": "str", + "driver": "str", + "id": "str", + "key": "str" } } }