Fix type name to NextionComponent
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user