mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
resolve lint issue
This commit is contained in:
parent
3029f7f603
commit
5bd3cbe55e
3 changed files with 29 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -139,5 +139,3 @@ sdkconfig.*
|
||||||
|
|
||||||
/components
|
/components
|
||||||
/managed_components
|
/managed_components
|
||||||
|
|
||||||
esphome/components/espnow/test.yaml
|
|
||||||
|
|
5
esphome/components/espnow/.gitignore
vendored
5
esphome/components/espnow/.gitignore
vendored
|
@ -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
|
|
29
esphome/components/espnow/test.yaml
Normal file
29
esphome/components/espnow/test.yaml
Normal 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"
|
Loading…
Reference in a new issue