evcc-io/tests/config-required-field.tpl.yaml
andig 714c847e2e
Config: enforce required fields when forcing save past a failed test (#29982)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Michael Geers <michael@geers.tv>
2026-05-18 18:05:18 +00:00

20 lines
454 B
YAML

template: required-field-demo
group: generic
products:
- description:
generic: Required Field Demo
params:
- name: usage
choice: ["grid"]
- name: secret
description:
generic: Secret
required: true
# unreachable uri so the connection test always fails, exposing the
# "Save anyway" button (see tests/config-required-field.spec.ts)
render: |
type: custom
power:
source: http
uri: http://localhost:1/{{ .secret }}