Timezone support on Blueprint

Still pending the code on ESPHome to store for when WiFi is out
Pending API doc.
I haven't merged this in another service for now to not break the API, but this should be done for v4.4.0

Solves #2024
This commit is contained in:
Edward Firmo
2024-04-08 14:05:57 +02:00
parent 019efade79
commit c98f50543d
4 changed files with 522 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
// subscriptions.h
#pragma once
#include <vector>
#include <string>
#include <optional>
namespace nspanel_ha_blueprint {
struct Subscription {
std::string component_id;
std::string entity_id;
int subscription_id;
};
std::vector<Subscription> subscriptions;
std::string subs_component_id;
std::string subs_entity_id;
} // namespace nspanel_ha_blueprint