feat: generate `network.hostname and settings.mqtt.prefix` if they are empty

This commit is contained in:
Yurii
2025-02-03 06:38:36 +03:00
parent 25b70e4db5
commit 80b91d9a01
3 changed files with 46 additions and 2 deletions

View File

@@ -55,7 +55,7 @@
#endif
#ifndef DEFAULT_HOSTNAME
#define DEFAULT_HOSTNAME "opentherm"
#define DEFAULT_HOSTNAME ""
#endif
#ifndef DEFAULT_AP_SSID
@@ -111,7 +111,7 @@
#endif
#ifndef DEFAULT_MQTT_PREFIX
#define DEFAULT_MQTT_PREFIX "opentherm"
#define DEFAULT_MQTT_PREFIX ""
#endif
#ifndef DEFAULT_OT_IN_GPIO