feat: add native charging station telemetry and aliased lock status
This commit is contained in:
1 parent
df4a6f36a3
commit
59292517b7
24 files changed
+1756
-1304
No files matched your search
@@ -358,6 +358,14 @@ _HYDRONIC_CONTROL = {
|
||||
vol.Optional("feedback"): _ENTITY_REF,
|
||||
vol.Optional("inverted"): bool,
|
||||
}
|
||||
_CHARGING_STATION = {
|
||||
**{vol.Optional(key): _ENTITY_REF for key in ("soc", "start", "end", "duration", "energy", "lock")},
|
||||
**{
|
||||
vol.Optional(key): vol.In(["auto", "value", "seconds", "milliseconds"])
|
||||
for key in ("start_format", "end_format")
|
||||
},
|
||||
vol.Optional("duration_unit"): vol.In(["auto", "value", "seconds", "minutes", "hours"]),
|
||||
}
|
||||
_HYDRONIC = {
|
||||
vol.Optional("card"): bool,
|
||||
vol.Optional("circuits"): vol.All(
|
||||
@@ -430,6 +438,7 @@ FURNITURE_SCHEMA = vol.Schema(
|
||||
vol.Optional("entity", default=None): vol.Any(None, vol.All(str, vol.Length(max=255))),
|
||||
vol.Optional("power", default=None): vol.Any(None, vol.All(str, vol.Length(max=255))),
|
||||
vol.Optional("power_card"): bool,
|
||||
vol.Optional("charging"): vol.Any(None, _CHARGING_STATION),
|
||||
vol.Optional("hydronic"): vol.Any(None, _HYDRONIC),
|
||||
# smart fridge: door sensors of the left and the right door
|
||||
vol.Optional("door_left", default=None): vol.Any(None, vol.All(str, vol.Length(max=255))),
|
||||
|
||||
Reference in new issue
Block a user