Fix regex for some emails #98 // Add option to disable log completely #96 (#99)

* Update volovData.username regex (#98)

* Add option to disable log completely #96

---------

Co-authored-by: Gert-jan Theunissen <gurtjun@users.noreply.github.com>
This commit is contained in:
Linus Dietz
2023-09-08 11:40:21 +02:00
committed by GitHub
co-authored by Gert-jan Theunissen
parent e5ece2116b
commit 6b419cfe3a
6 changed files with 23 additions and 3 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
name: "Volvo2Mqtt"
description: "Volvo AAOS MQTT bridge"
version: "1.8.6"
version: "1.8.7"
slug: "volvo2mqtt"
init: false
url: "https://github.com/Dielee/volvo2mqtt"
@@ -15,6 +15,7 @@ options:
babelLocale: null
TZ: null
debug: false
disable_logging: false
mqtt:
broker: "auto_broker"
port: "auto_port"
@@ -34,13 +35,14 @@ schema:
babelLocale: str
TZ: match(^.+/.+$)
debug: bool
disable_logging: bool
mqtt:
broker: str
port: str
username: str?
password: str?
volvoData:
username: match(^([\w+\.]+@([\w-]+\.)+[\w-]{2,4})|(\+\d{5,20})$)
username: match(^([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)|(\+\d{5,20})$)
password: str
vin: str?
vccapikey: