From b3043facad40d365c9c82bc4e869d5a2250f2cb2 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:16:51 +0100 Subject: [PATCH] Fix reference to NextionComponent --- components/nspanel_ha_blueprint/nextion_components.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/nspanel_ha_blueprint/nextion_components.h b/components/nspanel_ha_blueprint/nextion_components.h index abc0892..93ba667 100644 --- a/components/nspanel_ha_blueprint/nextion_components.h +++ b/components/nspanel_ha_blueprint/nextion_components.h @@ -17,11 +17,11 @@ namespace nspanel_ha_blueprint { * * @param input The input string containing either the combined page and component ID or just the component ID. * @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. + * @return A NextionComponent struct containing the extracted or default page name, the component ID, and a flag indicating if it's the current page. */ NextionComponent extractPageAndComponent(const std::string& input, const std::string& defaultPage) { size_t dotPos = input.find("."); - PageComponent result; + NextionComponent result; if (dotPos != std::string::npos) { // Extract page and component_id from the input string