Use new get_ip_addresses() from ESPHome v2024.3.0
This commit is contained in:
@@ -34,7 +34,7 @@ external_components:
|
|||||||
- source:
|
- source:
|
||||||
type: git
|
type: git
|
||||||
url: https://github.com/edwardtfn/esphome
|
url: https://github.com/edwardtfn/esphome
|
||||||
ref: nextion-23 # To do: nextion-v425
|
ref: nextion-v431
|
||||||
components:
|
components:
|
||||||
- nextion # Change this when that PR#6192 gets released (2024.4?)
|
- nextion # Change this when that PR#6192 gets released (2024.4?)
|
||||||
refresh: 300s
|
refresh: 300s
|
||||||
@@ -2092,7 +2092,7 @@ script:
|
|||||||
- lambda: |-
|
- lambda: |-
|
||||||
boot_progress->execute(3);
|
boot_progress->execute(3);
|
||||||
if (current_page->state == "boot") {
|
if (current_page->state == "boot") {
|
||||||
disp1->set_component_text("ip_addr", network::get_ip_address().str().c_str()); // To do: get_ip_addresses()[0]
|
disp1->set_component_text("ip_addr", network::get_ip_addresses()[0].str().c_str());
|
||||||
set_brightness->execute(100);
|
set_brightness->execute(100);
|
||||||
}
|
}
|
||||||
- logger.log: Wait for API
|
- logger.log: Wait for API
|
||||||
|
|||||||
Reference in New Issue
Block a user