Tired of boring, static backgrounds in your Home Assistant Lovelace UI?
Want to add a touch of dynamism and visual interest?
Introducing the lovelace-fluid-level-background-card, a custom card that renders a mesmerizing animated fluid level behind any other card in your Lovelace UI.
This card is perfect for:
Visualizing sensor data in a captivating way, like water tank levels or battery gauges.
Creating unique and eye-catching dashboards.
Adding a touch of personality to your Home Assistant setup.
This looks beautiful! Should work great with my kettleâs water level sensor.
Seems it doesnât fully support card resizing in the new Sections view. I hope itâll be fixed in the future though.
Your code contains 4 different cards and card-mod. This thread is just for one of them. I would suggest you âisolateâ your issue by solving issues with ONE particular fluid card. If you found this code in Internet and trying to use it blindly - not a proper way for a beginner.
Here is about posting a code.
I usually post a code placing it between triple backticks:
where that âbacktickâ button is located right below an âESCâ button on a keyboard (may be different on Apple keyboards).
Posting a properly formatted code is crucial to get a support. Note that many âhelpersâ copy/paste a code into their setups to help with an issue.
Can someone help me please i have tried following the code online for this card but when i do the water level bar sits off the card to the bottom left and i cannot get the bar to move back please see my code below.
I have tried adjusting the px values and nothing changes.
I have tried adjusting the values that say adjust these values but this doesnât seam to make any difference to the card please can someone point me in the right direction?
I believe you can edit old posts instead of deleting them, for future optionsâŚ
For this last post, it could be edited for example. The code block is great, but the text pasted in needs to have proper indentation as it would in Home Assistant. If youâve lost your indentation in the card Iâd probably start over and migrate your tweaks into a blank slate so you have the proper indentation.
I am trying to get this working, but really struggling.
I have created a card with the empty fluid tank.
Another card for this animation, which shows a moving fluid with the correct percentage. How do I put them together?
Is there a simple set of instructions on how to configure it from scratch?
I tried googling for examples of code, but none helped. Also searched on this HA forum for examples, again no decent examples to work from of the code needed.
I am trying out this card and itâs great but I have a problem with my image. I downloaded a water tank image and made the inner part transparent. However the fluid level doesnât match the actual level - it appears to show the tank more full than it is. I think this is down to my image. Can anyone have a look at my image and advise what the problem is? Many Thanks.