feat: add fresh-water cascades with independent stations and buffer links
This commit is contained in:
1 parent
a2a119d3ee
commit
992c3e18f2
30 files changed
+2199
-1578
No files matched your search
@@ -366,6 +366,14 @@ _CHARGING_STATION = {
|
||||
},
|
||||
vol.Optional("duration_unit"): vol.In(["auto", "value", "seconds", "minutes", "hours"]),
|
||||
}
|
||||
_FRESHWATER_STATION = {
|
||||
vol.Required("id"): _ID,
|
||||
vol.Required("name"): vol.All(str, vol.Length(max=100)),
|
||||
**{vol.Optional(key): _ENTITY_REF for key in ("flow", "return", "hot_water", "cold_water", "power")},
|
||||
vol.Optional("pump"): _HYDRONIC_CONTROL,
|
||||
vol.Optional("valve"): _HYDRONIC_CONTROL,
|
||||
vol.Optional("has_valve"): bool,
|
||||
}
|
||||
_HYDRONIC = {
|
||||
vol.Optional("card"): bool,
|
||||
vol.Optional("circuits"): vol.All(
|
||||
@@ -399,6 +407,9 @@ _HYDRONIC = {
|
||||
**{vol.Optional(key): _ENTITY_REF for key in ("flow", "return", "circulation_temperature", "hot_water")},
|
||||
vol.Optional("pump"): _HYDRONIC_CONTROL,
|
||||
vol.Optional("circulation"): _HYDRONIC_CONTROL,
|
||||
vol.Optional("cold_water"): _ENTITY_REF,
|
||||
vol.Optional("stations"): vol.All([_FRESHWATER_STATION], vol.Length(min=1, max=16)),
|
||||
vol.Optional("buffer_id"): vol.Any(None, _ID),
|
||||
}
|
||||
|
||||
FURNITURE_SCHEMA = vol.Schema(
|
||||
|
||||
Reference in new issue
Block a user