🌻 Lovelace UI • Minimalist

Does anyone know how to switch the room card to just toggle when pressed? instead of navigating to a path?

I tried switching

            template:
              - card_room
              - blue_no_state
            name: Kitchen
            entity: light.kitchen_lights
            icon: mdi:countertop-outline
            entity_id: light.kitchen_lights
            tap_action:
              action: toggle
            variables:
              label_use_temperature: false
              label_use_brightness: true

to toggle but had no success.

how can i build the Chips, there give me Infos like “2 Window” open or “3 Lights” on?
You can see this is on the image from @Lucas23

hi @anon36468094 can you show the code, for the chip_state_icon? Counter for Lights. Thanks!

I do have it.

Hi,

I think you are confusing some stuff with each other.

You should have the Minimalist integration installed for the minimalist room card to get the correct button_card_template and all of its nested templates.

Now you are using a different HACS plugin based on the YAML you’ve shared.

The correct code is also available on the link you posted, that code includes:

type: "custom:button-card"

Where you have tried it with a non minimalist plugin:

Also as mentioned by another user there is no Minimalist theme selected on your device based on the screenshot. That can give you some nasty effects even when you have setup the card correctly according the accompanied documentation :wink:

Hi,

Could anybody help on creating a card that looks like this (with the progress indication around the icon) ?

Mushroom Reminder

I thought he meant Frontend on the HACS, Okay I just installed the Minimalist Integration
Is there a way to select a Minimalist theme for a specific dashboard? because my other dashboard requires notics theme to be selected.

  - type: 'custom:button-card'
    template:
      - card_room
      - red_no_state
    name: Bathroom
    entity: light.bathroom
    icon: mdi:shower-head
    tap_action:
      action: navigate
      navigation_path: '/ui-lovelace-minimalist/bathroom'
    variables:
      label_use_temperature: false
      label_use_brightness: true
      entity_1:
        entity_id: light.bathroom
        templates:
          - yellow_on
        tap_action:
          action: toggle
      entity_2:
        entity_id: binary_sensor.badkamer_motion_sensor
        templates:
          - blue_on
        tap_action:
          action: none
      entity_3:
        entity_id: input_boolean.badkamer_motionsensor_enabled
        templates:
          - green_on
          - red_off
        tap_action:
          action: toggle
      entity_4:
        entity_id: input_boolean.bath_mode
        templates:
          - pink_on
        tap_action:
          action: toggle

Getting this error now -

I am trying to create a card like this one basically -
https://ui-lovelace-minimalist.github.io/UI/usage/cards/card_room/#default-card-options

hi Guys, Is there a way to hide the tapbar when scrolling and can you customize the tapbar as you wish? regards

Glad it worked! :smiley:
As for the picture, I assume you are referring to the button icon.
If so, you can enable the icon for it.

As for the state, it’s a bit tricky to explain given that I don’t know your current set-up.
This heater that you are controlling via Google Assistant SDK, is it in any way accessible in Home Assistant? If it’s a state only entity and can’t control it just add it to this button so you can see its state:

type: button
icon: "mdi:heat-wave"   #or whatever icon you like
entity: switch.your_heater_entity   #entity of the device you'd like to know the state
name: Heater ON
show_state: true
tap_action:
  action: call-service
  service: google_assistant_sdk.send_text_command
  data:
    command: "turn on bedroom heater"

New to the UI Minimalist project but already loving it!

I am wondering if I can change the decimal point into a comma for all the cards. I think some cards did display it like that but every card that uses a temperature (room card, graph card etc) use a point.
I have my profile settings set accordingly grafik
My “normal” Lovelace dashboard displays all the values as shown.

I assume I can edit the Template Code of the cards to replace the decimal point but I am just wondering if there is a central place I can change this.

Thanks for any help!

I’m trying to call a script from the script card but can’t seem to pass a variable:

- type: 'custom:button-card'
  template: card_script
  variables:
    ulm_card_script_title: 'VRT Nieuws'
    ulm_card_script_icon: 'mdi:radio'
  tap_action:
    action: call-service
    service: script.turn_on
    service_data:
      entity_id: script.play_news_on_speaker
      radio_speaker: “robby”

Specifically the radio_speaker variable. I get the following error:
Failed to call service script/turn_on. extra keys not allowed @ data['radiospeaker']

What is the correct way to pass an extra variable with this card?

Have you tried this instead?

  tap_action:
    action: call-service
    service: script.turn_on
    data:
      entity_id: script.play_news_on_speaker
      radio_speaker: “robby”

Example: I’ve got a main script, that I use - and use the data to specify the variables

speech_engine_female:
  sequence:
    - condition: state
      entity_id: group.family
      state: home
    - service: tts.cloud_say
      data_template:
        entity_id: "{{ who }}"
        message: "{{ message }}"
        cache: true
        language: nb-NO
        options:
          gender: female
husk_ta_ut_av_vaskemaskin_tts:
  sequence:
    - condition: state
      entity_id: group.family
      state: home
    - service: script.speech_engine_female
      data:
        who: media_player.kjokken
        message: !include include/tts/husk_ta_ut_av_vaskemaskin_tts.yaml

Hello,

how can you change the images on the scene card in such a way that a full screen is taken over from the scenes?
I
would like to control hue scenes there and take over the images of the scenes. these should then be displayed there as a full circle.

Thanks

Hi all,
I am using room card but cannot activate icons for cover (opened /closed)
where did I wrong?

    - type: "horizontal-stack"
      cards:
      - type: 'custom:button-card'
        template:
          - card_room
          - red_no_state
        name: Bagno piccolo
        entity: climate.termostato_bagno_piccolo_p1
        icon: mdi:shower-head
        tap_action:
          action: navigate
          navigation_path: '/ui-lovelace-minimalist/BagnoPiccolo'
        variables:
          label_use_temperature: true
          label_use_brightness: true
          entity_1:
            icon: mdi:lightbulb
            entity_id: switch.luci_bagno_piccolo
            templates:
              - yellow_on
            tap_action:
              action: toggle
          entity_2:
            entity_id: cover.tapparelle_bagno_piccolo
            templates:
              - blue_on
            tap_action:
              action: toggle

thanks

Hey all,
I have followed up step by step the tuto to install and create the first buttons etc and it works nicely on my laptop. However when I visualize the outcome on my mobile (android) all icons are black… what am I missing ?

Merci !

Make sure you are using the correct theme on your device under your settings

Argh!!! Newbee in action!!! Merci this solved it.

1 Like

I’m trying to make some cards of my own but it is frustratingly bad explained, or i just cant find it… Anyone wanna help??

how can i use the card_room with popup_thermostat?

First try:

- type: horizontal-stack
        cards:
          - type: 'custom:button-card'
            template:
              - ulm_translation_engine
              - card_room
              - grey_no_state
              - grey_on
              - grey_off
            name: Schlafzimmer
            entity: climate.schlafzimmer_dect301_1
            icon: mdi:bed-king
            hold_action:
              action: none
            tap_action:
              action: "fire-dom-event"
              browser_mod:
                service: "browser_mod.popup"
                data:
                  large: true
                  hide_header: true
                  content:
                    type: "custom:button-card"
                    template: "popup_thermostat_temperature"
                    entity: "[[[ return entity.entity_id ]]]"

This card is empty, how can i give him the right “entity: climate.schlafzimmer_dect301_1” ?

what you need?

1 Like