ITADN

FR/BUG.... friendly_name change in HA 2026.4 not picked up by button-card

#1164OpenMariusthvdb 创建于 2026-03-26
bug
M
Mariusthvdbcommented
**Checklist** - [ X] I updated the card to the latest version available - [X ] I cleared the cache of my browser **Describe the bug** A clear and concise description of what the bug is. HA changed friendly_name, to be prefixed using the device name. This results in <img width="590" height="179" alt="Image" src="https://github.com/user-attachments/assets/8503db30-89ff-4dcb-8975-8101b8d3aa0b" /> **Version of the card** Version: **To Reproduce** This is the configuration I used: ```yaml [[[ return `Schakelen/toggle ${entity.attributes.friendly_name}?` ]]] ``` **Screenshots** If applicable, add screenshots to help explain your problem. **Expected behavior** A clear and concise description of what you expected to happen. id love to be able to get to the new entity_name, or any other way we use programmatically to get to the namin we set in the entity UI: <img width="663" height="373" alt="Image" src="https://github.com/user-attachments/assets/c52edda3-95d8-437b-b881-cbfbcb7f31e1" /> **Desktop (please complete the following information):** - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here. I did try to get to that using the pass variable, but didnt manage. ``` [[[ return `Wil je ${hass.states[entity.entity_id].name} schakelen?`; ]]] ``` there's a lof of chatter on the change in HA, see dedicated Discord inside the #beta channnel https://discord.com/channels/330944238910963714/1486652019887312938/1486771667928748073
16 条评论