From bb12515006c0382f024f8a4bef8b0fe67e3adb7a Mon Sep 17 00:00:00 2001 From: thecem <46648579+thecem@users.noreply.github.com> Date: Sat, 11 Mar 2023 06:54:52 +0100 Subject: [PATCH] Change meters default to an array --- ha-addon/config.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ha-addon/config.json b/ha-addon/config.json index 78839de..750cbcf 100755 --- a/ha-addon/config.json +++ b/ha-addon/config.json @@ -38,12 +38,14 @@ "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": {