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 connfig.php for all codepads.
{{device.codepad(id, code, title, duration) }}
id
code
title
duration
<div class="codepad" data-bind='codepad1' >
...
{{ basic.switch('switch1', 'bath.light.switch') }}
...
</div>
{{ device.codepad('codepad1') }}