🌻 Lovelace UI • Minimalist

Sorry I literally just found it hiding underneath that little dropdown.

Im stil getting the error.

Just to confirm, it goes in

button_card_templates >> card_room.yaml

My usage.

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

Thanks

This is stupid. I get frustraded when simple things dont work. Got to be honest been going at this now for 4 days.

I used to see that opccassionally. It clearly says the file is missing. I just went into that HACS card and re-download it, then all is well

done that 3 times

Maybe compoletely uninstall, reboot, then reinstall it from hacs?

Can you share the full dashboard yaml. That would give us some more insight in why the template is not found.

aparently this was the issue, as i’m still getting the errors, anyone have any ideas ?

Hello,
I have a problem with some custom cards (nas summary, apex-charts and bar cards). When I add them to my dashboard they don’t appear when I’m in the browser and in the mobile app it’s like the dashboard crashes (blank screen then HA logo then blank screen again). No error in console.
Does anyone have the same problem?

1 Like

finally found the issue with my dashboard, it was a bug in button-card, it has been fixed in latest dev version here fix(templates): `variables` was `undefined` if none where provided. · custom-cards/button-card@fad332b · GitHub

Sure, here you go.

views:
  - title: Home
    cards:
      - type: button
        entity: switch.a8_light1
        name: Living Room
        icon: mdi:sofa-outline
        hold_action:
          action: toggle
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              browser_id: THIS
              dismissable: true
              content:
                type: vertical-stack
                cards:
                  - type: custom:mushroom-title-card
                    title: Lighting & Security
                    subtitle: ''
                    alignment: center
                  - type: horizontal-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.topwalllights
                        name: Top Wall Lights
                        layout: vertical
                        tap_action:
                          action: more-info
                        hold_action:
                          action: toggle
                      - type: custom:mushroom-light-card
                        layout: vertical
                        entity: light.topstairlights
                        name: Top Stair Lights
                        tap_action:
                          action: more-info
                        hold_action:
                          action: toggle
                      - type: custom:mushroom-light-card
                        entity: light.top_deck_pir_1_top_deck_lights
                        show_brightness_control: true
                        name: Deck
                        tap_action:
                          action: more-info
                        hold_action:
                          action: toggle
      - type: picture-entity
        entity: camera.cam_test_my_camera
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: toggle
        entity: switch.cam_test_light
        icon: mdi:lightbulb
      - type: shopping-list
        title: To Do
      - type: custom:tabbed-card
        options: {}
        tabs:
          - card:
              type: button
              entity: light.bed_light
              tap_action:
                action: toggle
              show_name: true
              show_icon: true
              show_state: true
            attributes:
              label: Button
              icon: mdi:pause
          - card:
              type: entities
              title: Air Quality
              entities:
                - air_quality.demo_air_quality_home
                - air_quality.demo_air_quality_office
            attributes:
              label: Air Quality
              icon: mdi:pause
          - card:
              type: entities
              title: Binary sensor
              entities:
                - binary_sensor.basement_floor_wet
                - binary_sensor.movement_backyard
            attributes:
              label: Binary Sensor
              icon: mdi:pause
      - type: custom:todoist-card
        entity: sensor.to_do_list
        show_header: true
        show_completed: 5
        show_item_add: true
        use_quick_add: false
        show_item_close: true
        show_item_delete: true
        only_today_overdue: false
      - type: vertical-stack
        cards:
          - type: horizontal-stack
            cards:
              - type: picture
                image: /local/images/channels/1.png
              - type: picture
                image: /local/images/channels/1+1.png
              - type: picture
                image: /local/images/channels/2.png
              - type: picture
                image: /local/images/channels/2+1.png
          - type: horizontal-stack
            cards:
              - type: picture
                image: /local/images/channels/3.png
              - type: picture
                image: /local/images/channels/3+1.png
              - type: picture
                image: /local/images/channels/maoritv.png
          - type: horizontal-stack
            cards:
              - type: picture
                image: /local/images/channels/numbers/number-one-square.png
              - type: picture
                image: /local/images/channels/numbers/number-two-square.png
              - type: picture
                image: /local/images/channels/numbers/number-three-square.png
              - type: picture
                image: /local/images/channels/numbers/number-four-square.png
              - type: picture
                image: /local/images/channels/numbers/number-five-square.png
          - type: horizontal-stack
            cards:
              - type: horizontal-stack
                cards:
                  - type: picture
                    image: /local/images/channels/numbers/number-six-square.png
                  - type: picture
                    image: /local/images/channels/numbers/number-seven-square.png
                  - type: picture
                    image: /local/images/channels/numbers/number-eight-square.png
                  - type: picture
                    image: /local/images/channels/numbers/number-nine-square.png
                  - type: picture
                    image: /local/images/channels/numbers/number-zero-square.png
      - type: custom:mushroom-chips-card
        chips:
          - type: entity
            entity: light.camper_outputs_camperlights
            icon: mdi:lightbulb-group
            name: Lights
            content_info: name
      - type: vertical-stack
        cards:
          - type: horizontal-stack
            cards:
              - type: custom:mushroom-light-card
                entity: light.top_deck_pir_1_top_deck_lights
                layout: vertical
                show_brightness_control: true
                name: Top Deck Lights
              - type: custom:mushroom-light-card
                entity: light.topwalllights
                layout: vertical
              - type: custom:mushroom-light-card
                entity: light.topwalllights
                layout: vertical
          - type: horizontal-stack
            cards:
              - type: custom:mushroom-light-card
                entity: light.topwalllights
                layout: vertical
              - type: custom:mushroom-light-card
                entity: light.topwalllights
                layout: vertical
              - type: custom:mushroom-light-card
                entity: light.topwalllights
                layout: vertical
      - type: custom:button-card
        template:
          - card_room
          - red_no_state
        name: Bathroom
        entity: light.topstairlights
        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.topstairlights
            templates:
              - yellow_on
            tap_action:
              action: toggle
          entity_2:
            entity_id: light.camper_outputs_bottomstairlights
            templates:
              - blue_on
            tap_action:
              action: none
          entity_3:
            entity_id: light.camper_outputs_camperdecklights
            templates:
              - green_on
              - red_off
            tap_action:
              action: toggle
          entity_4:
            entity_id: light.topwalllights
            templates:
              - pink_on
            tap_action:
              action: toggle

Do you care to show your code for it. It looks great.

Hi @tben, sorry for tagging you.

Thanks for all the great work and using custom button-card :blush:

I’m about to release v4.0.0 of button-card by the end of this week with some new shiny stuff aligned with the latest release of HA (and maybe breaking changes). Would you mind having a quick look if it doesn’t break too much for your templates with the latest dev16 version? :sweat_smile:

Getting your feedback (or anyone else here who is courageous enough to test the latest button-card beta) would be very helpful :slight_smile:

You can open issues directly on GH.

Still the same problem: I can’t fill the entire space of the tablet display 1920px:

Any hint on where to touch…?

@stefano-ita Can you share your yaml, I’m trying to remember how to get temperature on room cards but drawing a blank

@stefano-ita what is that graph on the bottom? I would very much like to have time intervals shown if not always at least to see the temp and time at a point on the graphs where I am touching, for example I have these which look nice but are not entirely useful -

For example when I hold my finger on the graph in the second screen shot, all that happens is the lines show as bolder (rather than the details for that one point in time being touched)?

Hoc can I get this wonderful display within minimalist?

image

(The above is the windrose card from HACS.)

I guess it’s not a dashboard build by the minimalist integration. You are missing the lines to include the button card templates. Note that can only work when you build your dashboard in YAML mode.

Minimalist cards work best when you you the full integration installed due to the nesting of templates between cards.

I think UI Minimalist is too hard to setup. I certainly is not working out of the box…

Has anyone confirmed that the latest version of Minimalist works with v4.0.0 of button-card?