🌻 Lovelace UI • Minimalist

No dumb questions :slight_smile:

Please see my config below:


      - type: vertical-stack
        cards:
          - card:
              cards:
                - type: 'custom:button-card'
                  name: Media TV
                  template: title
                - cards:
                    - template: edge
                      type: 'custom:button-card'
                    - artwork: full-cover
                      entity: media_player.living_room_tv
                      style: |
                        :host {
                          --ha-card-border-radius: var(--border-radius);
                          --ha-card-box-shadow: var(--box-shadow);
                        }
                      type: 'custom:mini-media-player'
                    - template: edge
                      type: 'custom:button-card'
                  type: horizontal-stack
              type: vertical-stack
            conditions:
              - entity: media_player.living_room_tv
                state_not: 'unknown'
            type: conditional

1 Like

Brilliant! Thank you, this is also helpful in me better understanding this side of HA! Theming is an area I am lacking in

thanks for the wonderfull theme or projekt!!!

Hej!

It sure is hot :slight_smile: How do you manage to control your AC with Home assistant? I’ve tried some custom IR blaster setup but I don’t like it as it doesn’t give any indication about which mode/temp target is set.

Hey, love the proyect, big thanks to OP and everyone involved.

Silly question, how do you handle spaces between rows in the vertical-stack?.
I’m migrating my setup and I’m using the title card without text to add a blank space between rows.

Thanks

Hello everyone question from a newbie, is the card room available for download? Can anyone share the code or link to it? Thanks to everyone that involve in the creation of the beautiful and wonderful theme.

Thanks

Check this post: 🌻 Lovelace UI • Minimalist - #842 by CM000n

Hi @Noah , Thanks for posting this, How do I use the group option, Does that still allow lights to be controlled individually?

Yes, see the documentation here

The group light platform lets you combine multiple lights into one entity. All child lights of a light group can still be used as usual, but controlling the state of the grouped light will forward the command to each child light.

Thanks for the reply!

Oh, I did this and it just showed up with zero lights on but should have been at least 3 lights on.

Hmm that should not happen :thinking:

Can you share the relevant configuration?
Light group, count sensor, frontend chip card?

I try the code, but it will not display my entities. I don’t have knowledge of coding but the yaml in no complete. Is that correct?

Have you downloaded the _custom_card_room and installed that into minimalist-templates folder?

hopefully this will help, in config I have the following.

light:
  - platform: group
    name: All Lights
    entities:
      - light.ceiling_light_2
      - light.ceiling_light_3
      - light.signify_netherlands_b_v_lwa018_4c6f3b0b_level_on_off
      - light.light_panels_51_8b_9a
      - light.right_lamp

I did remove the light group and re-add it but now it just shows status “on” when one of the lights are on.

the chip code is.

                - type: 'custom:button-card'
                  template: chip_icon_state
                  variables:
                    ulm_chip_icon_state_icon: '💡️'
                    ulm_chip_icon_state_entity: light.all_lights

and because I couldn’t figure out how to use the group code I’m just using one that checks the status of all lights but I have light entities that I don’t want to show (iCue lights)

  - platform: template
    sensors:
      current_lights_on:
        friendly_name: All Lights Currently On
        value_template: >-
          {{ states.light|selectattr('state','equalto','on')|list|length }}

This is the default behavior :wink:

1 Like

Change light.all_lights under variables to sensor.current_lights_on

2 Likes

You’re using your light group as the chip state but this should be your created sensor that counts the lights: sensor.current_lights_on. (as mentioned by @jompa68 as well)

                - type: 'custom:button-card'
                  template: chip_icon_state
                  triggers_update: sensor.current_lights_on
                  variables:
                    ulm_chip_icon_state_icon: '💡️'
                    ulm_chip_icon_state_entity: sensor.current_lights_on

I have also added a triggers_update to make sure the card updates whenever HA updates the sensor.

Lastly, to count the lights in the light group I’ve changed the template_sensor a bit:

  - platform: template
    sensors:
      current_lights_on:
        friendly_name: All Lights Currently On
        value_template: >-
          {{ expand('light.all_lights') |selectattr('state','equalto','on')|list|length }}
1 Like

Thank you! Your amazing! Works great :grin:

v1.0.0-beta.10

Good afternoon everyone,

With the agreement of @CM000n, I publish this release which include popup cards for lights and power outlets.
These cards are “responsive” depending on your screen size.
As usual, it is up to the community to improve and create new popup cards.
In the future, I will add more compatible cards and more popups :wink:

What’s Changed

:page_facing_up: Documentation

  • Specific readme for popups is available here

Full Changelog: Comparing v1.0.0-beta.9...v1.0.0-beta.10 · UI-Lovelace-Minimalist/UI · GitHub

:heart: Special thanks to @bavo for his help on creating these popups

:heart: And @CM000n for his hard work on this project.

14 Likes

Is it just me or do the new popups not work. I have all my cards inside Horizontal or vertical stacks:

    - type: horizontal-stack
      cards:     
        - type: custom:button-card
          template: edge
        - type: 'custom:button-card'
          template:
            - card_light
            - popup_light
          entity: 'light.192_168_10_253'     
        - type: custom:button-card
          template: edge

Running HA 2021.12.5 on desktop i just get a blank Popup and in the iOS companion app it’s just not loading sometimes also the app crashes