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:
parent
f91739dc38
commit
222096aefa
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user