1
0
mirror of https://github.com/esphome/esphome.git synced 2025-06-15 04:45:43 +01:00

Fixed group mask logic for WLED Sync fix ()

This commit is contained in:
ChuckMash
2024-02-11 14:55:06 -08:00
committed by GitHub
parent 71b3a14a29
commit 061d5b4979

@ -164,7 +164,7 @@ bool WLEDLightEffect::parse_notifier_frame_(light::AddressableLight &it, const u
uint8_t payload_sync_group_mask = payload[34];
if ((payload_sync_group_mask & this->sync_group_mask_) != this->sync_group_mask_) {
if (this->sync_group_mask_ && !(payload_sync_group_mask & this->sync_group_mask_)) {
ESP_LOGD(TAG, "sync group mask does not match");
return false;
}