Understood. Though I love the ease of the templating, I must admit the responsiveness I experience now is such a huge difference, I wouldn’t want to go back on that. I’ll add the few hard coded entities
So I’ve use this quarantine time to rebuild my while UI using mainly button-card, decluttering-card, card-mod, swiper-card, some picture-elements and a hell lot of yaml (almost 1000 lines of yaml for the button-card templates)
I inspired myself with @Mattias_Persson’s UI (and also used the circle from his code )
The media-players are not using mini-media-player but button-card.
The goal was simple, less stuff, more info at a glance in one page and popups on hold_action for most of the cards (sensors would display a graph with mini-graph-card, lights would present a clean popup with color, brightness, effect based on what they support, etc…). And multimedia management of course
It’s a bit out of topic, but it gives you some examples of what you can achieve with button-card by tweaking it the way you want.
I’ll share some of my templates later
@RomRider, looks great. Ive been working on my UI trying to use this card where possible as its super versatile. I need to investigate the media player side of things as that looks good.
It would also be interesting to know how you are handling the YAML for popups. Do you use YAML mode or the UI Editors?
I wanted to setup separate files for each popup but i don’t want to loose the UI editor and switch to YAML only mode so for now i am just pointing out to a separate dashboard that contains a view to each room.
Example below of one of those views with my button card which is basically two button cards together (1 power toggle and 1 main card for more-info with a built in slider and custom SVG hue bulb icons)
I don’t like UI’s to configure stuff… I’m probably old school So I use only yaml… I’m kind of sad now that some of the integrations are only possible to configure with the UI
I have one separate file for each popup, but they all call a decluttering-card template that embeds everything
I had that in place before with my old shitty and ugly UI, but I found it to be not very ergonomic (especially the fact that you had to go “back” with a button / swipe back to the first page every time)
It is 4 button cards to select the master, then a state-switch with mini-media-player to display the Sonos grouping list, then 4 mini-media-player for the volume bars
for some reason I cannot get the circle to render. svg viewbox is causing the problem. Not sure what. What version of your card are you using? I’m on 3.2.3.
EDIT: Everything seems to be calculating properly. No errors in logs and the html looks correct. Chrome is just not rendering it.
it’s probably rendered but either hidden somewhere because of the styles you apply on the field or because its z-index is not correct and it’s under something else.
If you go in the chrome debugger and unfold the button-card, the element should be there, you’ll see on the page where it is and then you can play with the styles on the div around it.
PS: I’m running 3.3.0-3 (beta), but it shouldn’t change anything for this.