device.codepad
The Codepad is used to protect some widgets. You have to enter a correct code to use the widgets for a time. You may specify a global code in the config.php for all codepads.
{{ device.codepad(id, code, title, duration) }}
id
code
title
duration
<div class="codepad" data-bind='codepad1' >
...
{{ basic.stateswitch('', 'bath.light.switch') }}
...
</div>
{{ device.codepad('codepad1') }}