Enable to set Manufacturer and Model (#1336)

from macros
This commit is contained in:
Florian authored and GitHub committed 2022-11-29 10:48:00 -06:00
1 parent 8714141630
commit 145896516d
2 files changed
+18 -8

No files matched your search

+3 -1
View File
@@ -119,7 +119,9 @@ void announceDeviceTrigger(bool use_gateway_info,
# define discovery_republish_on_reconnect false
#endif
#define DEVICEMANUFACTURER "OMG_community"
#ifndef GATEWAY_MANUFACTURER
# define GATEWAY_MANUFACTURER "OMG_community"
#endif
/*-------------- Auto discovery macros-----------------*/
// Set the line below to true so as to have autodiscovery working with OpenHAB