lovelace-toggle-lock-entity-row icon indicating copy to clipboard operation
lovelace-toggle-lock-entity-row copied to clipboard

Support for entity-button type

Open elRadix opened this issue 6 years ago • 4 comments

as the title says

elRadix avatar Dec 23 '18 17:12 elRadix

@elRadix FYI the button-card does support lock. As this is a row, I don't think this would should be applied to other cards. A toggle-lock-card does sound like a good idea though

https://github.com/custom-cards/button-card

iantrich avatar Oct 11 '19 13:10 iantrich

@thomasloven what do you think about adding a toggle-lock-card to core that is like the unavailable overlay in the light card? It blocks all input to the card. image Instead of the "Unavailable" text, we put the lock icon on the top right and when you click on it the lock is remove for x seconds and you can interact with the card e.g.

type: toggle-lock
delay: 5
card:
  type: thermostat
  entity: climate.house

could have a row and element as well.

iantrich avatar Oct 11 '19 13:10 iantrich

I think it's better to avoid accidental triggering by using elements which consider scrolling, and locking things based on the current user.

thomasloven avatar Oct 11 '19 13:10 thomasloven

This row is now deprecated. Please use restriction-card instead.

thomasloven avatar Jan 31 '20 08:01 thomasloven