update test script

This commit is contained in:
NP v/d Spek 2024-09-30 02:53:18 +02:00
parent f5ef38b948
commit dfb913e8bc

View file

@ -37,17 +37,10 @@ espnow:
- FF:FF:FF:FF:FF:FF - FF:FF:FF:FF:FF:FF
on_receive: on_receive:
- logger.log: - logger.log:
format: "Received: %s RSSI: %d" format: "Received: %s RSSI: %d"
args: [packet.payload_as_bytes(), packet.rssi] args: [packet.payload_as_bytes(), packet.rssi]
binary_sensor: interval:
- platform: gpio - interval: 1min
pin: then:
number: GPIO00
inverted: true
mode:
input: true
pullup: true
name: Button
on_click:
- espnow.send: "hallo everyone" - espnow.send: "hallo everyone"