[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:
1 parent
6fa725d633
commit
a89ff43900
2 files changed
+2
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user