Thanks @D34DC3N73R I tried it and it partially works.
Card is correctly placed at the bottom of the page but it is no more aligned to the sidebar column (it slightly overlaps other columns).
Ciao @pajeronda I tried also your solution but it works only if I have 2 cards.
On my solution I have 3 cards and changing value on sidebar template moves down the second card (that I want close to the sidebar).
Yes, you’ll have to add other css attributes like padding, width or max-width. When you use absolute position the card is sort of ‘floating’ and no longer bound to the parent styles. In your case it looks like you could reduce padding-left, or set the width.
I made a way to easily add motion sensors to light cards. Pretty much all of my lights are tied to motion sensors and I wanted a way to include motion info. It’s styled similarly to the climate cards when lights are off, and when the lights are on, it animates to the upper right corner of the card and doesn’t interfere with the brightness circle. Side note, I couldn’t get triggers_update to work with a template so I’ve left that as part of the button card rather than in the template itself. If anyone has pointers on that I’d be glad to hear it.
Add motion.yaml to the button_card_templates directory.
In your ui-lovelace.yaml, add
variables:
motion:
and define the motion sensor entity_id.
If you want the card to update with the motion sensor and light entity state (rather than only the light entity), you’ll also need to add the motion entity to triggers_update:.
Lastly include - motion in the template section of your button card.
Trying to set up for the first time. My current lovelace config is as below. Am I able to add in this somehow without removing the mode:storage that I use for my other dashboards?
You can use this dashboard in storage mode, however you will need to change some things here and there to get everything up and running. I have also done it that way until I ultimately decided to just stick with this one dashboard