iantrich / restriction-card

🔒 Apply restrictions to Lovelace cards
MIT License
259 stars 22 forks source link

allow use of Template for Lock Codes #55

Closed TKpizza closed 2 years ago

TKpizza commented 3 years ago

Is your feature request related to a problem? Please describe. Not a problem but having this feture would make life easier. I would like to use a template or reference a entity value for the lock passwords so that i can change all a passwords without having to dig through all of my code.

Describe the solution you'd like Allow Templates to be used for the lock password, or allow us to define an entity that the lock will use the state as the password.

Describe alternatives you've considered i have tried using templates in the code editor but it didnt work

Additional context Add any other context or screenshots about the feature request here.

iantrich commented 2 years ago

Use my config-template-card as an outer wrapper to accomplish this