add test scripts

This commit is contained in:
NP v/d Spek 2024-07-26 16:23:36 +02:00
parent 4750c97606
commit 328b7255cb
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,15 @@
espnow:
auto_add_peer: true
peers:
- FF:FF:FF:FF:FF:FF
on_package_received:
- logger.log:
format: "Received: %s RSSI: %d"
args: [it->data().data(), it->rssi()]
binary_sensor:
- platform: gpio
pin: GPIO39
name: Button
on_click:
- espnow.send: "hallo everyone"

View file

@ -0,0 +1 @@
<<: !include common.yaml

View file

@ -0,0 +1 @@
<<: !include common.yaml