#What do the cool kids use for locks (ui)?

1 messages · Page 1 of 1 (latest)

lusty mauve
#

Im using an input boolean to show a card with -the buttons- for 3 seconds. I'd ike a slider input or something harder to butt-press. I use to have a slider with the august lo lock. Are sliders still a thing?

#

Im sorry is this already a thread ? Can i post a video of my current dashboard?

inner trench
#

An entities card can have a confirmation dialog:

lusty mauve
#

Oh really?

#

I tried that it didnt stick

#

Thanks for chiming in. Maybe i can use this vanishing card trick and the confirmation.
Does it only work with entities card ?

inner trench
#

Seems so

lusty mauve
#

Sold
Thank you !

cunning fiber
#

The custom:button-card has a Lock Object feature.

|This will display a normal button with a lock symbol in the corner. Clicking the button will make the lock go away and enable the button to be manoeuvred [sic] for delay seconds (5 by default).
You can set the action needed to unlock it (tap, double-tap, hold) and set exemptions for specific users (maybe you have a user for a tablet-based dashboard and don't really need the lock mechanism for that).

#

Are sliders still a thing?
Take a look at @dry current 's custom-card-features. It has a bunch of features to include sliders. I'm not sure if it can be used for a confirmation-type interface, though. It does support action confirmations like karwosts suggested. So, maybe the physical action of moving the slider would be enough and, if not, then you could have it present the confirmation dialog.
(Admittedly, I have this installed but haven't taken the time to check it out. There is a bunch that it can do, but I haven't committed the time to look into all of it.)

dry current
#

The first example in the custom card features README is an alternate lock feature using a toggle switch. You can also make it so that toggles only actuate on swipes only and only if you make a full swipe across it using the options in the editor. And it has action confirmation support.