Files
NSPanel_HA_Blueprint/components/nspanel_ha_blueprint/subscriptions.h
Edward Firmo c98f50543d 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
2024-04-08 14:05:57 +02:00

21 lines
402 B
C++

// 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