Skip to content

Commit 8968bea

Browse files
fix: persist input helper config changes via storage API (#884)
* fix: persist input helper config changes via storage API (closes #880) ha_config_set_helper update path only called config/entity_registry/update for input helpers (input_select, input_number, etc.), which doesn't persist config-level changes like options, min/max, step, etc. across HA restarts. Expand config_store_types to include all input helper types and route updates through {helper_type}/update WebSocket API, mirroring the create path that already worked correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: add missing name arg in tests, use is-not-None checks for update params - Tests need name (required positional arg) even for update calls - Use `is not None` instead of truthiness for update-path params (unit_of_measurement, initial, duration) so empty strings can clear values — matches update semantics vs create semantics Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: update existing wait parameter tests for new config_store_types path input_boolean now routes through config_store_types which requires entity registry lookup for unique_id before calling input_boolean/update. Update mocks to provide sequential responses matching the new code path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: kingpanther13 <kingpanther13@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2556e97 commit 8968bea

3 files changed

Lines changed: 1077 additions & 212 deletions

File tree

0 commit comments

Comments
 (0)