-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
feat(select-card) #885
feat(select-card) #885
Conversation
I would love this card. This is really missed in the different entity cards. |
src/cards/select-card/select-card.ts
Outdated
<div class="actions" ?rtl=${rtl}> | ||
<mushroom-select-option-control | ||
.hass=${this.hass} | ||
.entity=${entity} | ||
></mushroom-select-option-control> |
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.
<div class="actions" ?rtl=${rtl}> | |
<mushroom-select-option-control | |
.hass=${this.hass} | |
.entity=${entity} | |
></mushroom-select-option-control> | |
<div class="actions" ?rtl=${rtl}> | |
<mushroom-select-option-control | |
.hass=${this.hass} | |
.entity=${entity} | |
></mushroom-select-option-control> | |
</div> |
One missing div
I have the code locally so I can push it. For lights and fan, the slider is colored with the icon color so we can have the same usage here. |
Sounds good to me! |
* initial commit * initial implementation * fixed overflow bug * bug fixes * fixed current value not loading at first * fix select overflowing to the right at some widths * select height reduced to match other mushroom cards * Update README.md * Create select.md * default entity in "add card" menu is now correct * Added Select Card pictures * fixed bug value not getting set for select entities * Color select with icon color Co-authored-by: PaoloTK <[email protected]> Co-authored-by: Paul Bottein <[email protected]>
Description
This PR adds a select card to control select and input_select entities.
Related Issue
#873
This PR fixes or closes issue: fixes 873
Motivation and Context
SSIA
How Has This Been Tested
Demo instance and own instance.
Types of changes
Checklist