Compare commits

..

4 Commits

Author SHA1 Message Date
f28b34e427 docs: update changelog and header for version v2.0.0-beta4
All checks were successful
Release Workflow / detect-provider (push) Successful in 9s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m4s
2025-08-29 18:57:42 +02:00
9215560558 docs: update platformio.ini for beta version v2.0.0-beta4 2025-08-29 18:57:41 +02:00
7f6bce1699 fix: update createVendor function to use external_id as comment instead of static text 2025-08-29 18:56:20 +02:00
2a4f8bb679 fix: update to_old_version in platformio.ini to reflect correct previous version 2025-08-29 18:45:16 +02:00
3 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## [2.0.0-beta4] - 2025-08-29
### Changed
- update platformio.ini for beta version v2.0.0-beta4
### Fixed
- update createVendor function to use external_id as comment instead of static text
- update to_old_version in platformio.ini to reflect correct previous version
## [2.0.0-beta3] - 2025-08-29
### Changed
- update platformio.ini for beta version v2.0.0-beta3

View File

@@ -9,8 +9,8 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "2.0.0-beta3"
to_old_version = "2.0.0"
version = "2.0.0-beta4"
to_old_version = "1.5.10"
##
[env:esp32dev]

View File

@@ -618,7 +618,6 @@ uint16_t createVendor(const JsonDocument& payload) {
// Create JSON payload for vendor creation
JsonDocument vendorDoc;
vendorDoc["name"] = payload["b"].as<String>();
vendorDoc["comment"] = "automatically generated";
// Extract domain from URL if present, otherwise use brand name
String externalId = "";
@@ -635,7 +634,7 @@ uint16_t createVendor(const JsonDocument& payload) {
} else {
externalId = payload["b"].as<String>();
}
vendorDoc["external_id"] = externalId;
vendorDoc["comment"] = externalId;
String vendorPayload;
serializeJson(vendorDoc, vendorPayload);