Skip to content
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

chore: add HA 2022.3 compatibility #135

Merged
merged 11 commits into from
Feb 24, 2022
Merged

chore: add HA 2022.3 compatibility #135

merged 11 commits into from
Feb 24, 2022

Conversation

piitaya
Copy link
Owner

@piitaya piitaya commented Feb 17, 2022

fix #133

  • migrate color picker
  • migrate info picker
  • migrate layout picker
  • migrate fields in alarm editor
  • migrate fields in chips editor
  • migrate paper-input to mwc component
  • use old dropdown for older home assistant version?
  • migrate mwc-textfield to mushroom-textfield
  • migrate mwc-textarea to mushroom-textarea
  • migrate mwc-select to mushroom-select

@piitaya piitaya added the tech Tech things label Feb 17, 2022
@piitaya piitaya changed the title chore: convert picker to mwc-select chore: convert paper dropdown to mwc-select Feb 17, 2022
@zsarnett
Copy link

use old dropdown for older home assistant version?

The only way for this to work is to use a different element and bundle it yourself.

We are looking into options for the best way for this to work possibly using https://github.com/lit/lit/tree/main/packages/labs/scoped-registry-mixin

If we find this as an option we will send an example to the community

@piitaya
Copy link
Owner Author

piitaya commented Feb 18, 2022

@zsarnett I did some tests and the first HA version that introduce mwc components is the 2021.11 and luckily it's the same version for the icon picker. 🍀
We put 2021.11 as minimal version in the hacs.json file for the icon picker.
We can migrate all mushroom editors to the new mwc components! 🎉

@piitaya piitaya marked this pull request as ready for review February 21, 2022 22:48
@piitaya piitaya requested a review from bemble February 21, 2022 22:48
@zsarnett
Copy link

Bram is working on a better solution for custom cards now using Scoped REgistry. Thanks for the heads up on the mwc-textarea.

@piitaya piitaya changed the title chore: convert paper dropdown to mwc-select chore: add HA 2022.3 compatibility Feb 24, 2022
@piitaya piitaya merged commit 5f65a26 into main Feb 24, 2022
@piitaya piitaya deleted the chore/mwc-select branch February 24, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech Tech things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move from paper drop down to mwc-select in editors
2 participants