I'am trying for days to have a button or a section which is protected by a simple passcode. No high security area. Just a simple protection.
One approach could be:
Have a button with
lock:
enabled: true
and add
lock:
enabled: true
passcode: 1234554321
In case of passcode has been set: button will only be unlocked when the user enters the code for that button. The input box could be the same panel as for the alarm panel. Code could only be numbers. That's sufficent.
It should also be possible to reference the code in the secrets.yaml
This could be a great feature because HA lacks the possibilty to have a password locked section. There are two custom cards for such a feature but they can not be used with hki because one can not place an addon on a custom card.
I'am trying for days to have a button or a section which is protected by a simple passcode. No high security area. Just a simple protection.
One approach could be:
Have a button with
and add
In case of passcode has been set: button will only be unlocked when the user enters the code for that button. The input box could be the same panel as for the alarm panel. Code could only be numbers. That's sufficent.
It should also be possible to reference the code in the secrets.yaml
This could be a great feature because HA lacks the possibilty to have a password locked section. There are two custom cards for such a feature but they can not be used with hki because one can not place an addon on a custom card.
Best regards!