šŸŒ» Lovelace UI ā€¢ Minimalist

was searching for this as well, but found the solution myself by doing a bit of greppingā€¦

edit the file custom_components/ui_lovelace_minimalist/base.py

search for yaml, around line 350ish you will see the configs for the regular dashboard and adaptive dashboard - there is a like that says require_admin, change it from False to True. restart HA.
not sure this will last an update of ULM so might need to do it again after updating ULM.

Hello guys,

Iā€™m trying to use the ā€œScenes Cardā€ to navigate from my views.
I have some problem using this feature:

I want to show the ā€œfull size pillā€ and Iā€™m using this code:

      - type: "custom:button-card"
        template: "card_scenes_welcome"
        view_layout:
          grid-area: header
        variables:
          entity_1:
            entity_id: light.lavanderia
            icon: "mdi:home-roof" 
            name: "Home"L
            color: "yellow"
            nav_path: "/minimalist-tablet/home"
            state: "on"

Using ā€œstate: onā€, the pill still remain small.

Can someone help me?
thanks


When I press the button to turn on the light it goes all the way up to 100 percent and not the last percentage it was when the light was turned off. Is there a way to fix that?

Great that you found the solution!

Silly question: how do you update? I found instruction for updating if youā€™re on a (very) old version which Iā€™m not it seems.

Cannot figure out how to update

Hi all,

After upgrading from v1.3.6 to v1.3.9 the browser no longer shows all the cards with an entity attribute. For example, in my main page I have every room of my house. Some of them have the climate of the room as entity to show its temperature, some of them donā€™t have any entity. Now I can only see the rooms with no entity:

As you can imagine, all rooms are almost empty as every button with entity attribute (lights, switches, covers, etcā€¦) are not shownā€¦

Any idea?

Thank you

not sure whats wrong with the default room card, but in the mean time you might want to give my custom room card a try My Custom Cards for Minimalist UI it has a lot more options.

Thank you for the reply I will take a look to your custom room card!

But my problem is not only with the room card is with all cards with an entity attribute as lights, switchesā€¦

are you using the method of letting UI Lovelace Minimalist install custom card resources, if so try this method, as that method does always have the lastest up to date resources.

go to Open your Home Assistant instance and show an integration., then click on Configure, then make sure that Include custom card resources it's depending on. is UN-CHECKED, and click SUBMIT

then, goto to HACS ā†’ frontend and install these:

button-card
lovelace-card-mod
mini-graph-card
mini-media-player
my-cards
light-entity-card
auto-entities
simple-weather-card

my-cards is one integration that might not be in HACS repository click on the link to install it Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

No luck. In fact, since I started with Minimalist before it was in HACS, I already had all the cards installed and updated in HACSā€¦

Hey all, just wanted to share a card I made for the remote domain. May be useful, especially since the Harmony integration has move activity switches to deprecated. The card functions like a lot of multi-row cards, where the second row is hidden unless needed (in this case, when the remote is on).

Ive added a few buttons as examples, but with variables these could be changed to whatever you want.

Template code

remote_large:
  show_icon: false
  show_name: false
  show_state: false
  styles:
    card:
      - border-radius: var(--border-radius)
      - box-shadow: var(--box-shadow)
      - padding: 12px
    grid:
      - grid-template-areas: |
          [[[
            var areas = "'remote'";
            if (entity.state == 'on'){
              areas = areas + " 'buttons'";
            }
            return areas;
          ]]]
      - grid-template-columns: 1fr
      - grid-template-rows: |
          [[[
            var rows = "min-content";
            if (entity.state == 'on'){
              rows = rows + " min-content";
            }
            return rows;
          ]]]
      - row-gap: |-
          [[[
            if (entity.state == 'on') {
                return "12px";
              } else {
                return "0px";
              }
          ]]]
    custom_fields:
      buttons:
        - display: |
            [[[
              if(entity.state == 'on') {
              return "block";
              }
              return "none";
            ]]]
  custom_fields:
    remote:
      card:
        type: "custom:button-card"
        template:
          - icon_info
        styles:
            card:
              - border: none
        tap_action:
          action: toggle
        entity: "[[[ return entity.entity_id ]]]"
        name: "[[[ return entity.attributes.friendly_name ]]]"
        label: >-
          [[[ 
              if (entity.state == 'on'){
                var etat = "On - " + (entity.attributes.current_activity);
              }else {
                var etat = "Off";
              }
              return etat ;
          ]]]
        state:
          - operator: template
            value: "[[[ return entity.state == 'on' ]]]"
            styles:
              icon:
                - color: "rgba(var(--color-green),1)"
              img_cell:
                - background-color: "rgba(var(--color-green),0.2)"
    buttons:
      card:
        type: "custom:button-card"
        styles:
            card:
              - padding: 0px
              - border: none
            grid:
              - grid-template-areas: '"item1 item2 item3 item4"'
              - grid-template-columns: 1fr 1fr 1fr 1fr
              - grid-template-rows: min-content
              - column-gap: 7px
        custom_fields:
          item1:
            card:
              icon: "mdi:power"
              type: "custom:button-card"
              template: widget_icon
              entity: "[[[ return entity.entity_id ]]]"
              tap_action:
                action: toggle
          item2:
            card:
              icon: "mdi:volume-off"
              type: "custom:button-card"
              template: widget_icon
              tap_action: 
                action: call-service
                service: input_button.press
                service_data:
                  entity_id: "[[[ return variables.remote_mute ]]]"
          item3:
            card:
              icon: "mdi:play"
              type: "custom:button-card"
              template: widget_icon
          item4:
            card:
              icon: "mdi:menu"
              type: "custom:button-card"
              template: widget_icon
              entity: "[[[ return variables.remote_activities]]]"
              tap_action:
                action: more-info

Example use

- type: custom:button-card
  template: remote_large
  entity: remote.great_room
  variables:
    remote_activities: select.great_room_activities
    remote_mute: input_button.remote_mute_great_room
1 Like

Hi, I am creating a Minimalist dashboard for my bathroom Sonoff NSPanel Pro. In the bathroom are two heated towel rails that can be turned ON/OFF with HA Switches. I think I need to create a custom card that can be used so that I can change the switch between ON, OFF or enable a schedule (already available as another switch).
I have not created a custom card before. I have read through the docs and looked at a couple of templates but a bit lost on the best place to start. Can someone recommend a good starting card or a resource to read etc.
BTW: I already have Minimalist installed and working with some standard cards and chips.
Much appreciated.

Thankyou!!! both binary sensor cards are fixed by doing this.

This looks like a scene card , thereā€™s a custom variant where scenes are rooms.

I hope wish that on 1 line I can have 2 scenes and 3 rooms

Hey guys,

Im getting this error, not sure when it popped up, I havenā€™t looked for a while

image

In the doco I can see there was a breaking change a while back, but I seem to have that set or am I reading this wrong?

In fact Im not really sure what this meansā€¦

show_last_changed is changed to be used as variable:

variables:
  ulm_show_last_changed: true

https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_binary_sensor_alert/#usage

I have that set and its still not working?

Any help would be awesome :slight_smile:

    cards:
      - type: "custom:button-card"
        template: card_binary_sensor_alert
        variables:
          ulm_card_binary_sensor_alert: true
          ulm_card_binary_sensor_alert_name: Dishwasher
          ulm_show_last_changed: true
        entity: binary_sensor.dishwasher_door

Hi all

I am having trouble getting my popup to work with browser_mod. I have followed all instructions at browser_mod and was able to fire up a popup when in developer tools calling the service browser_mod.popup.

can anyone guide me on what is wrong here?

Thank you!

        cards:
          # Level 1
          - type: "custom:button-card"
            template:
              - card_room
              - red_on
            name: Level 1
            icon: mdi:home-floor-1
            variables:
              label_use_temperature: false
              entity_1:
                entity_id: switch.living_room_group
                tap_action:
                  action: fire-dom-event
                  browser_mod:
                    service: browser_mod.popup
                    data:
                      dismissable: true
                      autoclose: false
                      title: Living Room
                      content: testing
                templates:
                  - yellow_on

after much trying, it looks like i cannot call browser_mod from within a variable/one of the four possible room card ā€¦ one of the four subiconsā€¦ I want to create a popup after click on the subiconsā€¦ is that possible?? thank you v much for ur helpā€¦

There was another breaking change, use

ulm_card_binary_sensor_show_last_changed

instead.

2 Likes

Yeah it seems the doco is wrong :frowning:

Thanks for that :slight_smile:

Hi everyone,

i have some new hue color lights and try to get the color palette working inside the popup. But i dont know which select entity i have to select?

Think its very simple but coudnt find anything about it.

Anyone a hint for this.

Thanks in advanced.

      - type: "custom:button-card"
        template: card_light_slider_collapse
        entity: light.hue_color_luster_1
        variables:
          ulm_card_light_name: Wohnzimmer
          ulm_card_light_enable_color: true
          ulm_card_light_force_background_color: true
          ulm_card_light_enable_popup: true
          ulm_card_light_color_palette: 

For some odd reason I need to restart HA every time after a change bluhgā€¦ anyone know how to solve this?