mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
Fix Hue discovery for Zigbee and Scripting #10950
This commit is contained in:
parent
725650cac5
commit
32c7f16a7f
@ -137,7 +137,7 @@ void PollUdp(void)
|
||||
// Simple Service Discovery Protocol (SSDP)
|
||||
if (Settings.flag2.emulation) {
|
||||
#if defined(USE_SCRIPT_HUE) || defined(USE_ZIGBEE)
|
||||
if (TasmotaGlobal.devices_present && (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr)) {
|
||||
if (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr) {
|
||||
#else
|
||||
if (TasmotaGlobal.devices_present && (strstr_P(packet_buffer, PSTR("M-SEARCH")) != nullptr)) {
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user