It seems you reduced the size of the button that’s why it is happening. In the previous version the lock was a child of the button, now it’s a sibling.
You can do it like this:
styles:
lock:
- padding-right: 20px #(or any other value, the default being 7px)
@RomRider Long time no see, good to see you’re still alive and kicking! Anyways I wanted to mention that an old bug has arisen since your last updates. When tapping on a button to select next option (for use with e.g. input_select) it will press it twice again. You have fixed this in the past but now it is back for some reason. Don’t know if anyone has already mentioned it.
This is strange as I am now using the latest core code to handle clicks and there do not seem to be any report of this problem with it. Would you mind trying with the core button please? (I don’t have the problem on my iPad with latest stable IOS)
since the latest 2 or 3 updates (starting with 3.2.0) my switches toggle only after quite some time, if at all, and I find myself re-tapping the button.
Ive just tested this with the identical switches on a regular entities card, and they do seem to respond quite swiftly. Could this at all be possible?
my switches are template and/or command-line switches, but I don’t think that will make a difference? Ive used these for almost 3 years now without changing them…
my button-card switches look like this (forgive me for not having adapted the new state_display yet still using my own here…):
You can create a Manual card and then paste your config there. If need to change anything, click Edit and do it as above. Or you can use Raw Editor.
Mind it that you won’t be happy with if you rely on LL in terms of storing your config as it reformat it and removes all comments. I have separate .yaml files with config of my cards and if I need to change something, I edit it, go to UI and paste it, check if it works and then save changes to my .yaml file.
Thanks, but I know how to use Manual card. I mean the configuration templates that are part of the Button Card features, not an individual card config.
hi!
in an above reply i saw a post of a button card with a circle-sensor-card in it to show the brightness of the light from the button card (@lubbertkramer). if i try his code it won’t show the brightness. But if i change the circle-sensor-card’s entity ('[[brightness]]') to my light’s entity then it shows just the on/off state. As you can see in the picture, that’s the current state. hope someone can help me. Thanks!!
What i did was using a custom field for a sensor template which shows the brightness. In my template i refer to the custom button card config that’s in my lovelace. That’s why only [[brightness]] is used, that maps to sensor.brightnesshal for example
thanks for this, we needed a new vertical-stack-in-card! Love the new functionality this offers at a glance, will dive in . Much appreciated!
Not sure if this solves our ‘grid’ demand, but certainly offers immediate benefits. Cool!
My lights can be controlled but there is no way to know if the light is on or off. That is the reason that I want to have a button with two type areas: one for on and one for off (in the same button).
Is it possible to achieve that with the button card? can I somehow define two tap areas on the button?
I have succeeded to create some initial demo of such button. Thx. I’ve got strange issue. If I call the light.turn_on service directly, the light turn on and off. If I create script for turn on / off, the card work as expected. Any idea why (below is the working version)?