Marius, yes itās inside a custom button card. What I need to change is just the margin-left, and I succeeded to do that with the inspector, but I cannot find the right way to use it with card_mod, as I did with the rest of the parameters?
You suggest to use the entities card, I guess it will only have the slider?
Many thanks!
why not do it with the native button-card options on the custom field?
Ofc, you didnt post the full button, so I cant comment but most of the stylings in a button-card, also in custom fields can be done with native styling
not sufre I undirstrand what you mean here.
I just meant that your card looks like an entities card with a background. So why not use entities card for all of the entities and only card_mod the background of that entities card.
Iām not sure about using the right termsā¦ Iām using a custom card with custom_fields and the cards are mainly custom button cards. So when using the slider entity row the problem is how to adjust the style to make the card look like the other cardsā¦
The solution I found, which is not very optimum, is to duplicate the entity and use a button card to show the name and icon, and even the value, and next to it, a full row sliderā¦
Been using the lovelace slider card to control a switch for a while. Turns off after a set amount of time (time set by slider). The timer to turn it off has been working great but for some reason the āenableā switch doesnāt seem to be working. The switch turns off no matter if the enable is on or off. Can you see from the code what Iāve done wrong and why the automation is skipping the enabled toggle? Thank you!