ITADN

Button-card is not working after the latest Home Assistant update.

#1175ClosedNiiikoc 创建于 2026-05-07
wontfixStale
N
Niiikoccommented
**Checklist** - [X] I updated the card to the latest version available - [X] I cleared the cache of my browser **Describe the bug** After updating Home Assistant to 2026.5.0, all `custom:button-card` cards stopped working and display `ButtonCardJSTemplateError`. The issue happens with multiple templates from UI Lovelace Minimalist (`edge`, `card_title`, `card_media_player`, `card_person_info`, etc.) and not only with one specific card. The same configuration was working correctly before the Home Assistant update. **Version of the card** Version: latest available from HACS **Screenshots** <img width="480" height="122" alt="Image" src="https://github.com/user-attachments/assets/48b8c027-fc5e-46d3-80f8-c516fa0c9c99" /> **To Reproduce** This is the configuration I used: ```yaml - type: custom:button-card template: edge - type: "custom:button-card" template: "card_title" name: "LG TV" - type: "custom:button-card" template: card_media_player entity: media_player.lg_webos_tv variables: ulm_card_media_player_name: Livingroom Nvidia Shield ulm_card_media_player_enable_art: false ulm_card_media_player_enable_controls: true ulm_card_media_player_enable_volume_slider: true ulm_card_media_player_power_button: true ulm_card_media_player_more_info: true
关闭于 2026-05-23 8 条评论