257 files
This commit is contained in:
1 parent
7c55603942
commit
c29f5cc088
258 files changed
+24621
-3136
No files matched your search
@@ -29,7 +29,6 @@ from .const import (
|
||||
CONF_ADVANCED_COMPLETION_ACTIONS,
|
||||
CONF_ADVANCED_ENVIRONMENTAL,
|
||||
CONF_ADVANCED_GROUPS,
|
||||
CONF_ADVANCED_PREDICTIONS,
|
||||
CONF_ADVANCED_SCHEDULE_TIME,
|
||||
CONF_ADVANCED_SEASONAL,
|
||||
CONF_ARCHIVE_ONEOFF_DAYS,
|
||||
@@ -72,6 +71,7 @@ from .const import (
|
||||
CONF_PANEL_ENABLED,
|
||||
CONF_PANEL_TITLE,
|
||||
CONF_PART_SEARCH_URL_TEMPLATE,
|
||||
CONF_PARTS_COST_MODE,
|
||||
CONF_QUIET_HOURS_ENABLED,
|
||||
CONF_QUIET_HOURS_END,
|
||||
CONF_QUIET_HOURS_START,
|
||||
@@ -91,6 +91,7 @@ from .const import (
|
||||
MAX_PANEL_TITLE_LENGTH,
|
||||
MAX_REMINDER_LEADS,
|
||||
NOTIFY_COMPLETED_MODES,
|
||||
PARTS_COST_MODES,
|
||||
ROW_ACTION_STYLES,
|
||||
TIME_HHMMSS_PATTERN,
|
||||
)
|
||||
@@ -742,10 +743,6 @@ class GlobalOptionsFlow(OptionsFlow):
|
||||
CONF_ADVANCED_ADAPTIVE,
|
||||
default=self._opt(CONF_ADVANCED_ADAPTIVE),
|
||||
): selector.BooleanSelector(),
|
||||
vol.Optional(
|
||||
CONF_ADVANCED_PREDICTIONS,
|
||||
default=self._opt(CONF_ADVANCED_PREDICTIONS),
|
||||
): selector.BooleanSelector(),
|
||||
vol.Optional(
|
||||
CONF_ADVANCED_SEASONAL,
|
||||
default=self._opt(CONF_ADVANCED_SEASONAL),
|
||||
@@ -931,6 +928,18 @@ class GlobalOptionsFlow(OptionsFlow):
|
||||
mode=selector.NumberSelectorMode.BOX,
|
||||
)
|
||||
),
|
||||
# #104: spare parts count when bought or when used — every cost
|
||||
# total follows it, not just the budget.
|
||||
vol.Optional(
|
||||
CONF_PARTS_COST_MODE,
|
||||
default=self._opt(CONF_PARTS_COST_MODE),
|
||||
): selector.SelectSelector(
|
||||
selector.SelectSelectorConfig(
|
||||
options=list(PARTS_COST_MODES),
|
||||
mode=selector.SelectSelectorMode.DROPDOWN,
|
||||
translation_key="parts_cost_mode",
|
||||
)
|
||||
),
|
||||
# #146 / #180: the battery fleet's low floor and the level a
|
||||
# low battery must rise above to count as replaced.
|
||||
vol.Optional(
|
||||
|
||||
Reference in new issue
Block a user