1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-01 02:31:00 +00:00

fix typo's

This commit is contained in:
NP v/d Spek 2024-11-25 01:54:18 +01:00
parent f91739dc38
commit 222096aefa
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ void ESPNowComponent::loop() {
#ifdef USE_WIFI #ifdef USE_WIFI
int32_t new_channel = wifi::global_wifi_component->get_wifi_channel(); int32_t new_channel = wifi::global_wifi_component->get_wifi_channel();
if (new_channel != this->wifi_channel_) { if (new_channel != this->wifi_channel_) {
this->defer([this, new_channel]() { this->change_channel(new_channel); }); this->defer([this, new_channel]() { this->set_wifi_channel(new_channel); });
} }
#endif #endif
} }

View File

@ -36,7 +36,7 @@ espnow:
interval: interval:
- interval: 10sec - interval: 10sec
then: then:
- espnow.broatcast: - espnow.broadcast:
payload: "hallo everyone" payload: "hallo everyone"
command: 123 command: 123
- espnow.send: - espnow.send: