mirror of
https://github.com/esphome/esphome.git
synced 2025-10-08 04:43:46 +01:00
Dashboard node import and render in browser (#2374)
This commit is contained in:
12
esphome/components/dashboard_import/dashboard_import.cpp
Normal file
12
esphome/components/dashboard_import/dashboard_import.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "dashboard_import.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace dashboard_import {
|
||||
|
||||
static std::string g_package_import_url; // NOLINT
|
||||
|
||||
std::string get_package_import_url() { return g_package_import_url; }
|
||||
void set_package_import_url(std::string url) { g_package_import_url = std::move(url); }
|
||||
|
||||
} // namespace dashboard_import
|
||||
} // namespace esphome
|
Reference in New Issue
Block a user