Could you tell me where to put the popup code ?
In button-card-template in ui-lovelace.yaml ? Do i need minimalist for it ?
Yes itās included in minimalist
The code needs to be added within the card config in the dashboard.yaml (under the dashboard/views folder). You need minimalist and browser_mod (HACS)
Hi guys, is there a way to animate the icons?
For example in this card rotate the icon when the device is on? Thanks.
- type: "custom:button-card"
template: card_power_outlet
entity: switch.fan
name: Fan
variables:
ulm_card_power_outlet_icon: "mdi:fan"
Hi guys! I just switched to minimalist theme and I like it so much, itās amazing.
I need your help a little bit. I need to make a button for resetting a helper but I need to have a confirmation dialog like āare you sureā¦ Yes/noā.
Do you know how can I achieve something like this?
Thanks a lot!
Reloading through the Developer tools ā UI Lovelace Minimalist entry (the entry in the documentation seems to be outdated as far as where this setting is) has never worked for me, even after forcing the browser used to access HA to refresh the cache. Only a complete restart of HA works which can get pretty tedious when working on custom cards.
Am I doing something wrong and are others here able to get things to properly refresh without having to restart HA?
edit: Found I had to use ārefreshā under the three dots in the top right in the dashboard views, HA seems to have itās own cache independent of the browser and that one wasnāt getting cleared.
Where exactly are you seeing these dots? The ones Im clicking on dont have a refresh option and this could be the answer to my prayers with a cache issue iāve been having
I see that youāve been linked here from the Mushroom Cards topic. The refresh option I mentioned doesnāt apply to dashboards in the āoverviewā tab. Minimalist right here creates itās own entry and has different options.
Ah ok then lol Thanks for the reply. I have a weird one where clearing the cache works fine everything looks great and then every once in a while it reverts back to the previous cache and I have to pull down on my phone or hit refresh on the browser to clear it again. My mission continues to find an answer
Iāve had that happen in the overview panel as well when switching between different tabs that use a similar theme but have different styles declared in the yaml for example, HA definitely caches some styles. Refreshing clears it like you said, youāre going to have to ask in HAās own discussions because Iām pretty sure that this is something inherent to the program.
Am using the Scenes Card (the one where you can have up to 7 entities - here), and the Minimilist Github shows that each Pill has its full complement of text (ānameā) underneath it. See below screenshot from the above link, specifically see the āFilm Sceneā pill and its full complement of text under it:
Now see my attempt at this below, and note that two of my pills cuts short the text shown (e.g. āVideoā¦ā should be āVideo Callā, and āEveniā¦ā should obviously be āEveningā)
How do I get it to show all text?
Have hacked around with the card_scenes_welcome.yaml (having put it into config\ui_lovelace_minimilist\custom_card), but cannot find the place where I can get required text under the Pill(s) to show correctly.
Any help much appreciated!
Hi,
This will be fixed when the next release is launched
This is the vertical button card: Vertical Button Card - UI Lovelace Minimalist
Note: the image is wrong on the wiki
I searched the topic and I saw that there are others that have this problem with the tpx01 aircon card. Have anybody succeeded using this?
I donāt have any other custom thermostat cards installed right now. Thanks!
Have you also set the entity outside the variables section?
Based on the code this is needed, but it is not reflected in the documentation.
- type: custom:button-card
template: custom_card_tpx01_aircondition_with_buttons
entity: climate.livingroom
variables:
entity: climate.livingroom
name: A/C Livingroom
Thank you so much! That was the problem!
But I donāt think that this is all because now I ended up with something like this:
Now the more-info tap itās working but the card looks like this.
This should be what youāre looking for:
Using it my self with the following code:
- type: 'custom:button-card'
template: card_power_outlet
entity: switch.tueroeffner
confirmation:
text: '[[[ return `Soll die TĆ¼r geƶffnet werden?` ]]]'
variables:
ulm_card_power_outlet_name: TĆ¼rƶffner
I already tried it but for I donāt know what reasons it doesnāt work. When I press the button it directly make the action without confirmation.
If I recall it correctly, this works on the most outer part of the button. Not for the icon or name. Can you please confirm?
I had a typo. Now it works and works on the whole button. Thank you!