From ae5e3074ed9e6e753d7cfd8386a0c6bed4525b36 Mon Sep 17 00:00:00 2001 From: linus Date: Sat, 12 Jul 2025 17:45:25 +0200 Subject: [PATCH] Add logging options for plugin --- src/config.yaml | 2 ++ src/settings.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config.yaml b/src/config.yaml index da4dcf5..9b2d00f 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -21,6 +21,7 @@ options: port: "auto_port" username: "auto_user" password: "auto_password" + logging: false volvoData: username: null password: null @@ -38,6 +39,7 @@ schema: port: str username: str? password: str? + logging: bool volvoData: username: match(^([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)|(\+\d{5,20})$) password: str diff --git a/src/settings.json b/src/settings.json index a931147..8b00ba2 100644 --- a/src/settings.json +++ b/src/settings.json @@ -8,7 +8,8 @@ "broker": "", "port": 1883, "username": "", - "password": "" + "password": "", + "logging": false }, "volvoData": { "username": "",