124 files

This commit is contained in:
Home Assistant Version Control
2026-08-31 15:02:40 +00:00
parent 33de328a33
commit 9742f385a3
124 changed files with 13907 additions and 1376 deletions
@@ -122,6 +122,23 @@ CONF_PANEL_ENABLED = "panel_enabled"
# still honoured. Read this default everywhere instead of inlining the literal.
DEFAULT_PANEL_ENABLED = True
CONF_PANEL_TITLE = "panel_title"
# #145: how task rows show Complete / Skip — HA buttons that collapse to
# icon-only on phones (default), labelled buttons everywhere, or the classic
# icon pair. The notice flag is set ONCE by the 5→6 migration for existing
# installs so the panel can announce the new look with a "back to icons" button.
CONF_ROW_ACTION_STYLE = "row_action_style"
CONF_ROW_ACTION_NOTICE = "row_action_notice_pending"
ROW_ACTION_STYLES: tuple[str, ...] = ("buttons_compact", "buttons", "icons")
DEFAULT_ROW_ACTION_STYLE = "buttons_compact"
# #146: household defaults for the "low" thresholds that discovery and the
# battery fleet used to hard-code. Consumables: the catalog floor for
# percent-remaining signatures (Suggested setups). Batteries: the fleet-wide
# floor for batteries without their own Battery Notes threshold.
CONF_DEFAULT_CONSUMABLE_THRESHOLD = "default_consumable_threshold"
CONF_BATTERY_LOW_PERCENT = "battery_low_percent"
DEFAULT_CONSUMABLE_THRESHOLD = 10
DEFAULT_BATTERY_LOW_PERCENT = 20
THRESHOLD_PERCENT_RANGE: tuple[int, int] = (1, 90)
# --- Config Keys: Advanced Feature Visibility ---
CONF_ADVANCED_ADAPTIVE = "advanced_adaptive_visible"