From bd414e66e6fddec26e8190278b15d82bb578a3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Collaud?= Date: Mon, 18 Dec 2023 19:05:33 +0100 Subject: [PATCH] set mqtt username and password as optional as mentioned in #47 --- pkg/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 61bed75..4f36945 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -70,8 +70,8 @@ var defaultConfig = map[string]interface{}{ envKeyDigitalstromPassword: deprecated, envKeyDigitalstromApiKey: undefined, envKeyMqttUrl: undefined, - envKeyMqttUsername: undefined, - envKeyMqttPassword: undefined, + envKeyMqttUsername: "", + envKeyMqttPassword: "", envKeyMqttTopicPrefix: "digitalstrom", envKeyMqttTopicFormat: deprecated, envKeyMqttNormalizeTopicName: true,