feat: configure outdoor texture scale and rotation per area

This commit is contained in:
jhartworks committed 2026-11-16 13:57:52 +01:00
1 parent d8cf076019
commit c56f1a5ba9
26 files changed
+1958 -1778

No files matched your search

+7
View File
@@ -666,6 +666,13 @@ OUTDOOR_SCHEMA = vol.Schema(
vol.Optional("slope_dir", default="x"): vol.In(["x", "-x", "z", "-z"]),
# how opaque the area is drawn (None = fully)
vol.Optional("opacity", default=None): vol.Any(None, vol.All(vol.Coerce(float), vol.Range(min=0.1, max=1))),
# per-area pattern size and rotation; None keeps legacy appearance
vol.Optional("texture_scale", default=None): vol.Any(
None, vol.All(vol.Coerce(float), vol.Range(min=0.05, max=20))
),
vol.Optional("texture_rotation", default=None): vol.Any(
None, vol.All(vol.Coerce(float), vol.Range(min=-360, max=360))
),
# fences and pergolas: the closing edge is left out; pergola: X-bracing on the sides
vol.Optional("open", default=False): bool,
vol.Optional("bracing", default=False): bool,