From b1412f1d12a507da16559598c104cc1d5436ab55 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:28:11 +0100 Subject: [PATCH] Use new get_ip_addresses() from ESPHome v2024.3.0 --- esphome/nspanel_esphome_core.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/nspanel_esphome_core.yaml b/esphome/nspanel_esphome_core.yaml index c9d0951..0761df2 100644 --- a/esphome/nspanel_esphome_core.yaml +++ b/esphome/nspanel_esphome_core.yaml @@ -34,7 +34,7 @@ external_components: - source: type: git url: https://github.com/edwardtfn/esphome - ref: nextion-23 # To do: nextion-v425 + ref: nextion-v431 components: - nextion # Change this when that PR#6192 gets released (2024.4?) refresh: 300s @@ -2092,7 +2092,7 @@ script: - lambda: |- boot_progress->execute(3); 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); } - logger.log: Wait for API