mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Allow multiple MAC addresses for 'on_ble_advertise' filter (#4773)
This commit is contained in:
@@ -488,6 +488,14 @@ binary_sensor:
|
||||
|
||||
esp32_ble_tracker:
|
||||
on_ble_advertise:
|
||||
- mac_address:
|
||||
- AA:BB:CC:DD:EE:FF
|
||||
- FF:EE:DD:CC:BB:AA
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address (%s) exists in list", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- mac_address: AC:37:43:77:5F:4C
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
|
||||
Reference in New Issue
Block a user