Really like this dashboard. Managed to install all cards etc. However, on my light card I do not see the toggle in the right upper corner. The template for light.yaml is exact the same as from the github. Any ideas please?
Another question is how to increase the icons on the cards? I find theme too small now.
My last question is how to change the scene buttons in the popup card for lights? I see for example relax button, but where to link this button to my own scene as it throw now an error.
Hey, thanks @RS53! Great that you are enjoying it!
Managed to install all cards etc. However, on my light card I do not see the toggle in the right upper corner. The template for light.yaml is exact the same as from the github. Any ideas please?
I have switched mostly to use the new_light template as it uses mushroom light slider which works really nicely. I have abandoned the toggle on the top-right corner in the process. However, it should still work. For example this:
Produces this kind of card on the tablet view and theme:
Another question is how to increase the icons on the cards? I find theme too small now.
The layout relies on rems as units in most places. There is a base font-size that I have adjusted in order to get a decently working scalable layout. The style.css dictates the root font-size which impacts on all measurements:
If you have not included this style.css into the www folder, then the icon’s might be too small. I have to admit that doing the initial layout I wasn’t exactly sure what works the best in terms of CSS measurements and I haven’t put more effort into it yet. If you want to play with the sizes, you can try adjusting the values in base.yaml:
This defines most dimensions on the button-cards that the dashboard uses. Some specific templates might have some hard-codings though which you need to tweak separately. One example is the new_light card which is not currently deriving the dimensions from the base.yaml.
My last question is how to change the scene buttons in the popup card for lights? I see for example relax button, but where to link this button to my own scene as it throw now an error.
The light popup scenes are defined here:
One exception to this is the tablet layout card that controls all lights. It uses a different tablet specific popup:
In addition, the mobile lights view which is not a popup has it’s own scenes:
In your screen, your title is in the same line as the “X”
I can not find the right statement in your theme file, which is responsible for that
Perhaps you can help me, an show me the part which i need for that
If you align your theme files with the changes and update to browser_mod 2.3.0 you should get working popups. Note that it also requires home assistant 2023.7.x. I’m using the latest 2023.7.2.
@troinine
Great, thx it works - i have overlooked your changes. My bad
If its okay, i would have one more question.
In your tablet view, you have the great looking sidebar.
What i want to achieve is a footer in the sidebar at the bottom
Perhaps you have a hint or so, how i can achieve that.
My actual tries were not successfull the only thing, which works was a spacer with 500px height… but that is not a good solution
You don’t need the language file
At my HA it works without changing the button_card. I try it first with the changes of button_card after that i redownloaded the button_card and my fix still works.
Add the following to the template compact_card, so it will also works at the mobile view.
Thanks for the suggestion. I had no idea that the localize function is available in the hass object. This would be the perfect solution for the button-card issues. However, the function seems to revert to English even though my language selection is Finnish:
The state should be “Kotona” in Finnish. The same issue is with other entities such as locks, binary sensors etc. I wonder how it tries to detect the current locale.