mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 19:44:08 +00:00
[espnow] Cover a send payload lambda that reads trigger arguments in the component test (#20270)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user