Please help me ).
Cannot understand "translate()" function.
There is a Picture elements card with:
background image;
icons.
According to this, a default "translate()" is (-50%,-50%).
My rotated icons a shifted. To prevent it, I have to explicitly deifine "translate(-50%,50%)":
Here a left top corner of the 2nd image (pink) is located on the left top corner of the card.
This is OK (expected behaviour).
But in “Panel mode” it looks bad, WHY?
When I start resizing the browser’s window (from full screen to a smaller size), at some point pink & blue images become of one size (as required).
Update: Seems this is a bug:
The main image (property of Picture elements card) is resized properly.
The child image (property of the embedded “image” object) is resized NOT MORE than it’s actual size.
So I found a workaround - all images must be at least 1920x1200 (resolution of my screen).
Each element has a “center point” which is by default at the real center of the element.
And position of each element (top, right) is defined for the center.
That is why all text labels are placed aligned centrally.
To prevent this use: transform: translate(0,0)
By default transform = translate(-50%,-50%).
Almost 2 years and a few hour of smart home hobbying, you might say it’s getting (way too) crowded
Guess I just like a total overview in addition to the room-by-room cards.
From what I remember it’s some kind of cache issue.
I installed a custom component from hacs called “Lovelace Card Preloader”
And then in my raw configuration I entered which cards I wanted pre loading like it mentions in the documentation.
From what I remember though I had to delete all the cache from the browser and force close etc.
I’ve stopped using it now though as I could never get the avatars changing correctly and my wife wasn’t keen on every road and movement being displayed
I have been using the Material interface since day one, it completely changed the game for LMS
Now its most definitely the best server/interface combo around, specially with PicorePlayer its fast reliable the sound is incredible too I tweaked the DSD and the sox filters etc… I have some of the best sounding audio i’ve heard in my house plus it looks good!
A while ago I showed my floorplan which has now evolved into a more sophisticated user friendly interface. I just made a YouTube video demonstrating this and I hope the reception will be positive in which i can start looking at future videos involving tutorials also.
Hi all!
I’m trying to show a blinking warning notification when a binary sensor is active using an image inside a picture elements. I have the code below but it doesn’t work. Does anyone know how to do it?
Not really no.
I gave up on that type of card as I couldn’t figure things out in my head
I just use a basic non changing avatar picture now with the status zone location underneath.
I think it may have been some kind of state overlay causing it.
My old kindle fire 7 doesn’t allow any custom cards, so the only way I found to build a decent dashboard with the stock lovelace tools was by creating a picture-elements card that coverered the whole screen and set all the elements on top of that picture. The picture in the botton is just a black screen same size as the kindle’s screen. All the elements on top are picture elements.
Here is my main dashboard based on picture-elements. I have tried to collect as many information possible but still keeping the look nice and neat. Several conditional elements are also active, for example, when a dimmer is switched an additional icon appear to adjust the level, or when the lights are on consumed power is visualized.
Any feedback is welcome.