resolve lint issue

This commit is contained in:
NP v/d Spek 2024-09-19 15:50:30 +02:00
parent 3029f7f603
commit 5bd3cbe55e
3 changed files with 29 additions and 7 deletions

2
.gitignore vendored
View file

@ -139,5 +139,3 @@ sdkconfig.*
/components
/managed_components
esphome/components/espnow/test.yaml

View file

@ -1,5 +0,0 @@
# Gitignore settings for ESPHome
# This is an example and may include too much for your use-case.
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml

View file

@ -0,0 +1,29 @@
esphome:
name: espnow-test
friendly_name: espnow test
name_add_mac_suffix: true
project:
name: LumenSoft.espnow_test
version: "0.25"
esp32:
board: m5stack-atom
framework:
type: esp-idf
version: 4.4.8
espnow:
auto_add_peer: true
peers:
- FF:FF:FF:FF:FF:FF
on_receive:
- 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"