Hello everyone. I want to change the background color for the on state but it only works for the off state.
I am clearly changing the state of the card before it turns yellow. Does anyone know where I should change the background color?
I am just making myself a bit more familiar with your design. I really like the popup cards and its very intuitive design
I have not figured out yet how to get the cover card popup working. I have enabled ulm_card_cover_enable_popup assuming a hold action will bring up the popup for the cover card. After having a look at the /card_cover.yaml I see that there are the hold sections are commented out:
Thank you. When I change the color in on, it changes the background of the bulb icon but not the card.
What I want is the other way around. I want the tag to go blank when it’s on. But if I do it in the on, the only thing that changes is the background of the icon
You can merge states together by id when using templates. The states you want to merge have to have the same id. This id parameter is new and can be anything (string, number, …). States without id will be appended to the state array. Styles embedded in a state are merged together as usual. See here for an example.
So its not possible with this template. You have two possibilities. First you can create an issue or pull request so the states in the light-card template gets an ID. So they can be overwritten or you simply copy the light-card template, rename it an modify it for four needs.
Yes. I copied and changed the name to the template to see if I could change it. But I’m not getting it. I’m going to better see the info you gave me to see what I’m doing wrong. Thank you so much
Im trying to add the apexcharts card to a view, but I get a TypeError. I’ve installed the Apexcharts from HACS and can run it in a normal dashboard. I have the custom_card_apexcharts and corresponding yaml file inside ui lovelace minimalist but it wont work. Any ideas?
ButtonCardJSTemplateError: TypeError: Cannot read properties of undefined (reading 'attributes') in 'return entity.attributes.icon'
Hi All! I’m barely new to Minimalist. I’m trying to build my tablet dashboard.
There’s a way to put cards in specific columns?
I cannot find a way to adjust cards to fit my tablet.
Thank you!
You can find the template under following path: /config/custom_components/ui_lovelace_minimalist/ui_minimalist/ulm_templates/card_templates/cards/card_light.yaml
The problem is this section:
state:
- value: "on"
It can only be overwritten when there is an id, like this:
state:
- value: "on"
id: "on_id"
You can add this to the code, but with the next update the change is gone.
So you can simply copy the card template and put it in /config/ui_lovelace_minimalist/custom_cards
Then rename the template e.g. card_light_mod (not only the file. its the first line in the code) and make your changes int the state/style section.
Change the template for your lights in you ui-yaml to card_light_mod . Navigate to the developer-tools > yaml and push the ui lovelace- minimalist button. Navigate to your ui and hit f5 or reload the page using the top right menu. that’s it.
Hi, Thanks for the previous informations
I’m now working on some automations recall buttons on the UI. Which will be the best way to to that? I have an automation triggered by an helper.
Will it be possible to use a chip to trigger an automation?
If I don’t make a mistake, you must uncomment the code from line 17 to 35 in this file card_cover.yaml.
Don’t forget to reload UI-Minimalist by pressing the C key on your dashboard and reload UI-minimalist