-
-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Add multi select support to config validation and to custom serializer #31798
Add multi select support to config validation and to custom serializer #31798
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #31798 +/- ##
=======================================
Coverage 94.67% 94.68%
=======================================
Files 763 763
Lines 55126 55148 +22
=======================================
+ Hits 52192 52215 +23
+ Misses 2934 2933 -1
Continue to review full report at Codecov.
|
Might be doing something wrong, but I get errors trying this:
With:
|
Oh right 🤦♂ We should probably make MultiSelect a class with a class multi_select:
def __init__(options)
def __call__(value) |
@balloob @bramkragten something like this? #31828 |
Breaking change
Proposed change
This adds backend support to previously opened PR to frontend by Bram.
Type of change
Example entry for
configuration.yaml
:# Example configuration.yaml
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale: