[DISC] Warning message for discovery prefix change (#2066)

* discovery_Topic

* Remove  Log.notice(F("type: %s" CR), type.c_str());
This commit is contained in:
Northern Man authored and GitHub committed 2024-09-25 12:09:29 -05:00
1 parent 6fa725d633
commit a89ff43900
2 files changed
+2 -2

No files matched your search

+2 -1
View File
@@ -113,7 +113,8 @@ void announceDeviceTrigger(bool use_gateway_info,
char* device_mac);
#ifdef discovery_Topic //Deprecated - use discovery_Prefix instead
# define discovery_Prefix "homeassistant"
# pragma message("compiler directive discovery_Topic is deprecated, use discovery_Prefix instead")
# define discovery_Prefix discovery_Topic
#endif
#ifndef discovery_Prefix
# define discovery_Prefix "homeassistant"