-
Notifications
You must be signed in to change notification settings - Fork 11
Add slot condition editing UI with consistent styling #810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #810 +/- ##
==========================================
- Coverage 96.02% 95.99% -0.03%
==========================================
Files 29 29
Lines 2516 2549 +33
Branches 83 83
==========================================
+ Hits 2416 2447 +31
- Misses 100 102 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
e19a446 to
a474608
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Add ability to add, edit, or remove condition entity and number_of_uses directly from the slot card: - New websocket command `update_slot_condition` to update slot config - Edit icons on condition rows to modify existing conditions - "Manage Conditions" row when no conditions exist - Dialog for entity picker and number_of_uses configuration - Support for clearing/removing conditions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add label attribute to ha-entity-picker - Add display block style for entity picker - Remove invalid allow-custom-entity attribute Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ha-selector is more commonly used in HA dialogs and should render properly Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Work around dialog rendering issue where property bindings don't apply Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ha-entity-picker requires explicit import which isn't available to custom cards. Native select provides the same functionality. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Provides native browser autocomplete/filtering for long entity lists Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Show clear button when entity is selected (not just when saved) - Also clear input element directly when clearing Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add websocket command to update slot conditions (entity_id, number_of_uses) - Fix config entry update to use options= to trigger entity creation - Add edit/delete buttons for conditions with confirmation dialogs - Add "Manage Conditions" section when no conditions exist - Unified styling for number_of_uses and condition entity displays - Domain-specific status text (calendar: Event active, schedule: In schedule) - Add test for number entity creation on condition add Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
5ea4c47 to
107a19f
Compare
Summary
lock_code_manager/update_slot_conditionto update slot conditions (entity_id, number_of_uses)options=instead ofdata=to properly trigger entity creationTest plan
🤖 Generated with Claude Code