This KC custom element is just a simple switch -> on/off
You can test it by configuring https://amend.cz/inputs/switch.html url for your custom element.
You can specify the Parameters {JSON} part of the configuration to configure the default state or a label.
(empty){ "default": true }{
"label": "Confirmed"
}{
"default": true,
"label": "Accepted"
}