[espnow] Cover a send payload lambda that reads trigger arguments in the component test (#20270)

This commit is contained in:
J. Nick Koston
2026-10-07 08:31:04 -04:00
committed by GitHub
parent 40809ffa10
commit b78f00a037
+3
View File
@@ -36,6 +36,9 @@ espnow:
data: [0x01, 0x02, 0x03, 0x04, 0x05]
- espnow.broadcast:
data: !lambda 'return {0x01, 0x02, 0x03, 0x04, 0x05};'
- espnow.send:
address: 11:22:33:44:55:66
data: !lambda 'return std::vector<uint8_t>(data, data + size);'
- espnow.peer.add:
address: 11:22:33:44:55:66
- espnow.peer.add: