mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
update test script
This commit is contained in:
parent
f5ef38b948
commit
dfb913e8bc
1 changed files with 5 additions and 12 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue