Décalage jours fériés mobiles + config helpers

This commit is contained in:
2026-06-17 12:45:35 +02:00
parent 6da3332a73
commit 35d6cf71dd
7 changed files with 64 additions and 54 deletions
@@ -95,9 +95,9 @@ async def general_config_schema(
const.DEFAULT_HOLIDAY_IN_WEEK_MOVE,
): bool,
optional(
const.CONF_HOLIDAY_COUNTRY,
const.CONF_HOLIDAY_DATES,
handler.options,
const.DEFAULT_HOLIDAY_COUNTRY,
const.DEFAULT_HOLIDAY_DATES,
): selector.TextSelector(),
}
)
@@ -135,9 +135,9 @@ async def general_options_schema(
const.DEFAULT_HOLIDAY_IN_WEEK_MOVE,
): bool,
optional(
const.CONF_HOLIDAY_COUNTRY,
const.CONF_HOLIDAY_DATES,
handler.options,
const.DEFAULT_HOLIDAY_COUNTRY,
const.DEFAULT_HOLIDAY_DATES,
): selector.TextSelector(),
}
)