diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index a42068e..ba30889 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,3 +1,8 @@ +## v1.8.5 +### 🚀 Features: + +- Allow phone number as username #91 + ## v1.8.4 ### 🚀 Features: diff --git a/src/config.yaml b/src/config.yaml index 31f790e..96a7e72 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -1,6 +1,6 @@ name: "Volvo2Mqtt" description: "Volvo AAOS MQTT bridge" -version: "1.8.4" +version: "1.8.5" slug: "volvo2mqtt" init: false url: "https://github.com/Dielee/volvo2mqtt" @@ -40,7 +40,7 @@ schema: username: str? password: str? volvoData: - username: match(^[\w+\.]+@([\w-]+\.)+[\w-]{2,4}$) + username: match(^([\w+\.]+@([\w-]+\.)+[\w-]{2,4})|(\+\d{5,20})$) password: str vin: str? vccapikey: diff --git a/src/const.py b/src/const.py index 938a67e..f524b70 100644 --- a/src/const.py +++ b/src/const.py @@ -1,6 +1,6 @@ from config import settings -VERSION = "v1.8.4" +VERSION = "v1.8.5" OAUTH_URL = "https://volvoid.eu.volvocars.com/as/token.oauth2" VEHICLES_URL = "https://api.volvocars.com/connected-vehicle/v1/vehicles"