1
0
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:
Otto Winter
2021-09-27 19:10:53 +02:00
committed by GitHub
parent 97e76d64d6
commit 45940b0514
8 changed files with 237 additions and 28 deletions

View 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