šŸŒ» Lovelace UI ā€¢ Minimalist

Hey guys,
I created an update-chip that shows you if a new update is available. It also supports the language - templates.

chip_update6 chip_update3
chip_update5

Usage

- type: custom:button-card
  template: chip_update
  entity: group.updates
  variables:
    ulm_chip_update_path: '/ui-lovelace-minimalist/system'

Template code

---
### Chip Update ###
chip_update:
  template: 
    - "ulm_language_variables"
    - "chips"
  tap_action:
    action: navigate
    navigation_path: "[[[ return variables.ulm_chip_update_path; ]]]"
    haptic: light
  show_icon: true
  state:
  - operator: default
    color: red
    icon: mdi:shield-alert
    label: "[[[ return variables.ulm_updates_available  ]]]"
  - value: 'off'
    color: green
    icon: mdi:shield-check
    label: "[[[ return variables.ulm_no_updates_available  ]]]"
  styles:
    grid:
      - grid-template-areas: "'i l'"
  
2 Likes

Still no go. I have created another instance of home assistant as a dev environment in a different virtual machine Copy everything like you have posted and still not working for me. Will keep looking to see where Iā€™m wrong. Maybe Iā€™m missing and custom card or a lovelace element that Iā€™m over seeing. Thank you for all of your time and help.

Are pop ups working ok for everyone? Just canā€™t get them to work and have checked code and integrations many times!!

Make sure youā€™ve added

browser_mod:

to your configuration.yaml file. More info can be found here.

I do have browser_mod configured but I also have ā€œdisable: allā€ in the config to stop all those entities being created. Perhaps that could be my issue!?!?

I canā€™t be sure that that is your issue, but it would make sense that it could be. Try removing it from your config, restarting HA, and checking to see if the problem is fixed.

Nope, that wasnā€™t it :frowning: will keep trying, thanks anyway!

Resolved! Had ticked the ā€œinclude custom cardsā€ option which was trying to load resources twice and causing the issue. All sorted, thanks again!

Hi, hope anybody can help me out, feeling stupid. I tried in different ways to change the icons (the 4 at right side) of the card-room, but no change is working. Where and how i need to change the config to adjust the entity_1 to a different icon, i donĀ“t want the default from the template. The icon value for the big icon is working, but for entity_1 or any sub (here ā€œicon: mdi:ceiling-lightā€) itĀ“s not changing anything:

  - type: horizontal-stack
    cards:
      - type: "custom:button-card"
        template:
          - card_room
          - blue_no_state
        name: Wohnzimmer
        label: '[[[ return["šŸŒ”ļø"] + states["sensor.sensor_wohnzimmer_temperature"].state +"Ā°C  šŸ’§"+states["sensor.sensor_wohnzimmer_humidity"].state + "%"]]]'
        styles:
          label:
            - font-size: 14px
          name:
            - font-size: 14px
        entity: light.yeelight_ceiling3_0x0000000005ec8cd8
        icon: mdi:home
        tap_action:
          action: navigate
          navigation_path: "wohnzimmer"
        variables:
          label_use_temperature: false
          label_use_brightness: true
          entity_1:
            entity_id: light.yeelight_ceiling3_0x0000000005ec8cd8
            icon: mdi:ceiling-light
            templates:
              - yellow_on
            tap_action:
              action: toggle

Send me the whole code thatā€™s not working

You can set the entity icon in the customize.yaml file for room cards.

Thank you for this great config.
I am using HA mainly on desktop and noticed something odd with the font alignment.
Can you think of a solution?

Image 758

It would have to do with the padding on the top and bottom of the name and label fields. Play around with those numbers and you should get it to align to your liking I think!

Hi Gilganik, here is the full yaml, i stripped it of further rooms, cause in no card itĀ“s working for me now. In this sample just entity_1 shouldnĀ“t use the default mdi bulb icon, instead i want use the icon: mdi:ceiling-light

title: "Home"
path: "home"
cards:
  - type: "custom:button-card"
    template: "card_esh_welcome"
    triggers_update: "input_boolean.minimalist_dropdown"
    variables:
      ulm_card_esh_welcome_collapse: input_boolean.minimalist_dropdown
      ulm_weather: "weather.home"
      entity_1:
        nav: "wohnzimmer"
        icon: "mdi:home"
        name: "Wohnzimmer"
        color: "blue"
      entity_2:
        nav: "schlafzimmer"
        icon: "mdi:bed"
        name: "Schlafzimmer"
        color: "yellow"
      entity_3:
        nav: "kueche"
        icon: "mdi:fridge"
        name: "KĆ¼che"
        color: "green"
      entity_4:
        nav: "arbeitszimmer"
        icon: "mdi:laptop"
        name: Arbeit
        color: "purple"
      entity_5:
        nav: "bad"
        icon: "mdi:shower-head"
        name: Bad
        color: "red"

  - type: horizontal-stack
    cards:
      - type: "custom:button-card"
        template: card_person
        styles:
          icon:
            - color: "rgba(var(--color-theme),0.9)"
            - width: 42px
            - place-self: center
        entity_picture: /local/img/YXZ.png
        variables:
          ulm_card_person_entity: person. YXZ
          ulm_card_person_use_entity_picture: false
      - type: "custom:button-card"
        template: card_person
        variables:
          ulm_card_person_entity: person.YXZ2
          ulm_card_person_use_entity_picture: true

  - type: "custom:button-card"
    template: card_title
    name: RƤume

  - type: horizontal-stack
    cards:
      - type: "custom:button-card"
        template:
          - card_room
          - blue_no_state
        name: Wohnzimmer
        label: '[[[ return["šŸŒ”ļø"] + states["sensor.sensor_wohnzimmer_temperature"].state +"Ā°C  šŸ’§"+states["sensor.sensor_wohnzimmer_humidity"].state + "%"]]]'
        styles:
          label:
            - font-size: 14px
          name:
            - font-size: 14px
        entity: light.yeelight_ceiling3_0x0000000005ec8cd8
        icon: mdi:home
        tap_action:
          action: navigate
          navigation_path: "wohnzimmer"
        variables:
          label_use_temperature: false
          label_use_brightness: true
          entity_1:
            entity_id: light.yeelight_ceiling3_0x0000000005ec8cd8
            icon: mdi:ceiling-light
            templates:
              - yellow_on
            tap_action:
              action: toggle
          entity_2:
            icon: mdi:bed
            entity_id: binary_sensor.motion_sensor_01_occupancy
            templates:
              - blue_on
            tap_action:
              action: none
          entity_3:
            entity_id: input_boolean.manuell_wohnzimmer_boolean_var
            templates:
              - green_off
              - red_on
            tap_action:
              action: toggle
          entity_4:
            entity_id: climate.heizungen_wohnzimmer
            templates:
              - green_off
            tap_action:
              action: toggle
      - type: "custom:button-card"
        template:
          - card_room
          - red_no_state
        name: Bad
        label: '[[[ return["šŸŒ”ļø"] + states["sensor.bad_thermostat_temperatur"].state ]]]'
        styles:
          label:
            - font-size: 14px
          name:
            - font-size: 14px
        entity: light.badlicht
        icon: mdi:shower-head
        tap_action:
          action: navigate
          navigation_path: "bad"
        variables:
          label_use_temperature: false
          label_use_brightness: true
          entity_1:
            entity_id: light.badlicht
            templates:
              - yellow_on
            tap_action:
              action: toggle
          entity_2:
            entity_id: binary_sensor.motion_sensor_03_occupancy
            templates:
              - blue_on
            tap_action:
              action: none
          entity_3:
            entity_id: input_boolean.manuell_bad_boolean_var
            templates:
              - green_off
              - red_on
            tap_action:
              action: toggle
          entity_4:
            entity_id: climate.bad_thermostat
            templates:
              - green_off
            tap_action:
              action: toggle

Glad you figured it out! That was actually the culprit of some of my issues with the mini graph card a few months back. Seems to be a common issue.

from what I can see the code is correct. try to check into this page: Installation - UI Lovelace Minimalist (Included lovelace resources)

what you have all the custom cards installed

Started today exploring the possibilities of Minimalist UI: This is awesome! I made a (wall mounted) tablet UI

4 Likes

he nice dashboard & how did you make that popup card from buiradar?

Iā€™ve an issue where none of the colors within the cards are displaying. Any ideas?

Make sure you have selected the correct theme. Also, give HA a restart and try pressing Ctrl + F5 to completely refresh the page and clear cache.

1 Like