šŸŒ» Lovelace UI ā€¢ Minimalist

plante

Iā€™m trying to make myself a flower sensor card.

At the moment I canā€™t seem to get sensor data to show up with a variable for the sensor. Only way to get a label with sensor data is my manually setting all of them.

    label: |
      [[[ return states['sensor.tomat_plante_manuel_moisture'].state ]]]

How can I have it get it to show the state from this variable instead:

variables:
  fuktighet_sensor: sensor.tomat_plante_manuel_moisture

Hi guys. After updating to the latest version all of my cards lost the custom color template that I created.

This is how I used to do it.

      - type: "custom:button-card"
        template:
          - card_power_outlet
          - blue  # Or any other color 

From what I can see the current Power Outlet implementation uses sub-cards via custom_fields, so I guess thatā€™s why I doesnā€™t work anymore.

Is there a way I can still customize this without copying the entire code of the card_power_outlet, hard-coding the colors in it, and replacing all of my current usages with the new custom_card_power_outlet?

Thanks :smiley:

After updating to 1.0.2, my customizations to standard cards no longer work.

For example, I had the following card:

- type: "custom:button-card"
        template: card_generic
        entity: sensor.xxx
        icon: mdi:car
        styles:
          icon:
            - color: "rgba(var(--color-blue),0.7)"
          img_cell:
            - background-color: "rgba(var(--color-blue), 0.2)"
        tap_action:
          action: call-service
          service: script.turn_on
          service_data:
            entity_id: script.xxx

The card has now lost its icon, color, and the tap action only works on the outer edge of the card (not tapping the name/label or icon).

Any idea how to overwrite these settings now, without creating my own custom card?

Hi there !
Can you tell me how to do this light slider (second screen of your image) ?
Thanks !

Itā€™s part of the ULM theme.

Oh yes, I just saw thatā€¦ Do you know if I can use it even if I donā€™t use ULM Theme ? I created my dashbord with Mushroom card et some custom cards, but I donā€™t use the theme.

For some reason the generic card isnt one button-card anymore. Its consists of three cards - the outer card, one for the icon and one for the name/label.

Just have a look in the template section: Generic Card - UI Lovelace Minimalist

So with a new variable you can set up your icon. Colors arent supported atm. I want to do a pull request. Maybe I have time in my holidays. But for now you have to overwrite and copy the whole template for item1 (icon) in order to change the color.
The last two updates broke my ui as well because my custom template inherited from the generic template.

The new layout is the reason why tap_action only works on the outer card. Workaround is using the script template or your go to the github repo chose the 1.0.0 tag, copy the template for the generic_card into your custom_card directory (dontā€™t forget to rename it) and use this instead of the original new one.

Hi !
I tried to use the popup since yesterday (with 1.0.2 version and the 1.0.1 version) but it never works.
Should I try on the 1.0.0 ?
Edit : well, there is no 1.0.0 ver. Do you know wich one I can use to have popup working ?

1 Like

The popups should working with any version. To help you better troubleshoot please check if browser_mod is correctly installed. Check if you have all needed requirements from Minimalist documentation and also check whether you have set a custom click action to popup.
Edit: sometimes it helps to install all HACs components by yourself and untick the tickbox to let Minimalist install them.

Hi :slight_smile:
I have Browser_mod, and all requirements installed.
I installed all of them from HACS and unticked the tickbox (as it was explain on the YouTube vidƩo),
I also set custom click action to popup where itā€™s needed to be changed.
Thatā€™s why I donā€™t understand what iā€™m doing wrong :frowning:

Okay, did you set by any chance the popup action only to the icon part? (There is a known bug with the latest release https://github.com/UI-Lovelace-Minimalist/UI/issues/826 )

Another thing which sometimes helps is to reinstall browser_mod. And check whether all variables are set correctly. Also clearing cache can help.

Well I tried multiple way to toggle the popup, even put popup in every actions :blush:
But no, most of all I used the way it was supposed to be and just copy/paste the wiki.

I already tried to reinstal browser_mod, but iā€™ll try another time and let you know.
As for the variable, for the test, I just copied/pasted your exemple in the wiki (and set my light).

EDIT : @basbrus I just reinstaled the 1.0.2 ver and browser_mod. I kept the original dashbord and tried the popup but nothing happen when i hold (on the app or the browser). Do I have to configure somehting ?
EDIT 2 : on discord some people seems to have the same issue :confused:

Hi,
I would like to add a graph card for the temperature in my living room.
The temperature value is coming from my Nest thermostat but it is not the main state of the entity, it is found under the current_temperature attribute. How to use an attribute in the ulm_card_graph_entity:?
I tried the following but it doesnā€™t work:

        template: card_graph
        variables:
          ulm_card_graph_color: "var(--google-red)"
          ulm_card_graph_name: Temperature Livingroom
          ulm_card_graph_entity: '[[[ return states["climate.living_room"].attributes.current_temperature]]]' 
          ulm_card_graph_type: fill
          ulm_card_graph_hours: 24

Thanks for your post. I am also struggling to get it to work with a fresh installation of Home Assistant. Everything is fresh:

  • HACS
  • UI Minimalist & Integration
  • Browser Mod

Hey there,

Check if you are thoses requirements too :

  • My Cards Bundle aka slider-card (download for HACS)
  • Light Entity Card (download for HACS)

Indicated here Light Popup - UI Lovelace Minimalist

(I have them and it doesnā€™t work for me but maybe for youā€¦)

How about creating a template sensor for the temperature and use that one in the card?

@basbrus re there. I tried everything (change instal langage from french to English, instal 0.9 ver, ā€¦) But still no popup.

Maybe another app changed ? Slider for exemple is not on HACS anymore and have to be manual instaled from repo : Can it be it ?

Not that I am aware of. Everything works fine on both mine dev and personal system.

The slider card has never been available on HACS and needs always be added manually as custom repo to HACS.
Unless you let minimalist install all fronted integrations.

Yes that would definitely work. I was just hoping that there would be a way to directly use the attribute.

Do you have an idea why for some people popup doesnā€™t work ?

Iā€™m willing to give you more informations if needed
EDIT : Did you see that mā€™y cards has now mā€™y slider v2 totaly rewriten ?