This commit is contained in:
Mateusz Gruszczyński committed 2026-09-02 08:39:20 +02:00
1 parent 16e0d94564
commit a161d8785d
26 files changed
+712 -164

No files matched your search

+12
View File
@@ -1,3 +1,12 @@
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FlowSharedInput {
pub id: String,
pub name: String,
pub kind: String,
#[serde(default)]
pub config: Value,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct HomeAssistantSettings {
#[serde(default)]
@@ -18,6 +27,9 @@ pub struct HomeAssistantSettings {
/// Friendly labels used only by the controller UI/charts; entity_id remains the storage key.
#[serde(default)]
pub sensor_aliases: BTreeMap<String, String>,
/// Reusable Flow condition inputs shared by any visual Flow.
#[serde(default)]
pub flow_inputs: Vec<FlowSharedInput>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]