From 38b2da0976e5f8ae2ccd83daf94cfb13c66ceee3 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:12:48 +0100 Subject: [PATCH] Fix type name to NextionComponent --- components/nspanel_ha_blueprint/nextion_components.h | 4 ++-- esphome/nspanel_esphome_core.yaml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/nspanel_ha_blueprint/nextion_components.h b/components/nspanel_ha_blueprint/nextion_components.h index 17733d9..abc0892 100644 --- a/components/nspanel_ha_blueprint/nextion_components.h +++ b/components/nspanel_ha_blueprint/nextion_components.h @@ -5,7 +5,7 @@ namespace nspanel_ha_blueprint { - struct PageComponent { + struct NextionComponent { std::string page; std::string component_id; bool is_current_page; @@ -19,7 +19,7 @@ namespace nspanel_ha_blueprint { * @param defaultPage The default page name to use if the input string does not specify a page. * @return A PageComponent struct containing the extracted or default page name, the component ID, and a flag indicating if it's the current page. */ - PageComponent extractPageAndComponent(const std::string& input, const std::string& defaultPage) { + NextionComponent extractPageAndComponent(const std::string& input, const std::string& defaultPage) { size_t dotPos = input.find("."); PageComponent result; diff --git a/esphome/nspanel_esphome_core.yaml b/esphome/nspanel_esphome_core.yaml index ae9fcf6..798263b 100644 --- a/esphome/nspanel_esphome_core.yaml +++ b/esphome/nspanel_esphome_core.yaml @@ -26,7 +26,8 @@ external_components: - source: type: git url: https://github.com/Blackymas/NSPanel_HA_Blueprint - ref: dev # To do: Change it for releasing + ref: dev # To do: Change it for releasing + refresh: 3s # To do: Change it for releasing - source: type: git url: https://github.com/edwardtfn/esphome