button-card: Button-card broken in HA 2023.4 (beta) Dont update if you use button-card
Checklist
- I updated the card to the latest version available
- I cleared the cache of my browser
Describe the bug A clear and concise description of what the bug is.
2023.4 beta launched today, and the many changes in the frontend cause button-card to no longer be functional.
according to Frontend dev this might be an issue:
- custom-card-helpers is broken, it walks through DOM elements and something changed in those elements
Version of the carde Version:
To Reproduce This is the configuration I used:
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior A clear and concise description of what you expected to happen.
Seems obvious… ourDashboard to be functional with the best card around
Desktop (please complete the following information): Any
Smartphone (please complete the following information): Any
Additional context Add any other context about the problem here.
This seems to be a generic issue with the card, I didnt have a chance to find a specific detail yet, had to roll back to 2023.3.6 in order to have a functional frontend…
in the #beta on Discord it was mentioned that the same also applies to Decluttering-card and Apex-charts-card.
Hope you’re still around RR, and can find the time to fix these so very fundamental cards.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 5
- Comments: 19 (5 by maintainers)
Commits related to this issue
- Update card-tools.js https://github.com/custom-cards/button-card/issues/669 — committed to guevara777/button-card by guevara777 a year ago
- fix: card broken with HA 2023.04bXX Closes #669, closes #671 — committed to custom-cards/button-card by RomRider a year ago
- chore(release): 3.5.0-dev.2 [skip ci] ## [3.5.0-dev.2](https://github.com/custom-cards/button-card/compare/v3.5.0-dev.1...v3.5.0-dev.2) (2023-04-02) ### Bug Fixes * card broken with HA 2023.04bXX (... — committed to custom-cards/button-card by semantic-release-bot a year ago
- chore(release): 3.5.0 [skip ci] ## [3.5.0](https://github.com/custom-cards/button-card/compare/v3.4.2...v3.5.0) (2023-04-02) ### Features * **state_display:** Support for `state_display` in `state`... — committed to custom-cards/button-card by semantic-release-bot a year ago
- chore(release): 1.0.0 [skip ci] ## 1.0.0 (2023-06-23) ### Features * **state_display:** Support for `state_display` in `state` ([440dc77](https://github.com/Dehumanizer77/button-card/commit/440dc77... — committed to Dehumanizer77/button-card by semantic-release-bot a year ago
- chore(release): 1.0.0 [skip ci] ## 1.0.0 (2023-06-23) ### Features * **state_display:** Support for `state_display` in `state` ([440dc77](https://github.com/Dehumanizer77/button-card/commit/440dc77... — committed to Dehumanizer77/button-card by semantic-release-bot a year ago
- chore(release): 1.0.0 [skip ci] ## 1.0.0 (2023-06-23) ### Features * **state_display:** Support for `state_display` in `state` ([440dc77](https://github.com/Dehumanizer77/button-card/commit/440dc77... — committed to Dehumanizer77/button-card by semantic-release-bot a year ago
- chore(release): 1.0.0 [skip ci] ## 1.0.0 (2023-06-23) ### Features * **state_display:** Support for `state_display` in `state` ([440dc77](https://github.com/Dehumanizer77/button-card/commit/440dc77... — committed to Dehumanizer77/button-card by semantic-release-bot a year ago
I’ll fix that Monday, folks (as well as the 2 others)
yes, and to make it directly available like @kulmegil found out in https://community.home-assistant.io/t/lovelace-button-card/65981/6839
replace:
querySelector(“app-drawer-layout partial-panel-resolver”)with:
I have it on good authority, we have to wait until Monday, and some mysterious dev will have a look and release a fix…so have some patience, (and until that time, edit the resource manually)
Note: I’ve updated it directly to use
ha-drawerRomRider, you’re the best! Do notice https://discord.com/channels/330944238910963714/427516175237382144/1091751687221424159 though…
OK, I know you will all hate me for doing this, but believe me it is better to do it now then later 😬 We will rename
mwc-drawertoha-drawerduring the beta (hopefully next beta) This means all custom cards that where updated tomwc-drawershould now be updated again toha-drawerI’m not smart enough to actually provide more insightful help as I lack the experience, but here is the link for requirements: https://hacs.xyz/docs/publish/plugin
I’m pretty sure hacs needs to locate a valid build .js file (either attached to latest release or in repo root or /dist folder)
Not sure how crash with button-card already being a part of default repos list. (is unique repo name required?)