šŸŒ» Lovelace UI ā€¢ Minimalist

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"
1 Like

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!

1 Like

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.

Hi, where can I find this scene card template code?

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!

1 Like

Hi,

This will be fixed when the next release is launched :wink:

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!

Capture

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:

Capture

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!