Use input_weekday in automations

This commit is contained in:
Wendelin
2025-10-09 08:48:41 +02:00
parent 77f078e57d
commit a32ada3155
4 changed files with 223 additions and 11 deletions

View File

@@ -843,7 +843,10 @@ def time_zone(value: str) -> str:
)
weekdays = vol.All(ensure_list, [vol.In(WEEKDAYS)])
weekdays = vol.Any(
vol.All(ensure_list, [vol.In(WEEKDAYS)]),
entity_domain(["input_weekday"]),
)
def socket_timeout(value: Any | None) -> object: