Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Support for entity-button type #5

Open
elRadix opened this issue Dec 23, 2018 · 4 comments
Open

Support for entity-button type #5

elRadix opened this issue Dec 23, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@elRadix
Copy link

elRadix commented Dec 23, 2018

as the title says

@thomasloven thomasloven added feature request enhancement New feature or request and removed feature request labels Mar 12, 2019
@iantrich
Copy link

iantrich commented Oct 11, 2019

@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
Copy link

iantrich commented Oct 11, 2019

@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.

@thomasloven
Copy link
Owner

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

@thomasloven
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants