mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Start a wifi scan after saving station details (#2315)
This commit is contained in:
parent
19014331d8
commit
0ea77de98c
1 changed files with 2 additions and 0 deletions
|
@ -244,6 +244,8 @@ void WiFiComponent::save_wifi_sta(const std::string &ssid, const std::string &pa
|
|||
sta.set_ssid(ssid);
|
||||
sta.set_password(password);
|
||||
this->set_sta(sta);
|
||||
|
||||
this->start_scanning();
|
||||
}
|
||||
|
||||
void WiFiComponent::start_connecting(const WiFiAP &ap, bool two) {
|
||||
|
|
Loading…
Reference in a new issue