You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"title": "Ultimo-Zählerstände eintragen",
|
|
"fields": [
|
|
{
|
|
"name": "meter_number",
|
|
"widget": "text_field",
|
|
"label": "Zählernummer",
|
|
"hint_text": "z.B. 21162908_40008",
|
|
"validators": [
|
|
{
|
|
"type": "required",
|
|
"error_text": "Zählernummer ist erforderlich"
|
|
}
|
|
],
|
|
"prefix_icon": "speed"
|
|
},
|
|
{
|
|
"name": "variable_name",
|
|
"widget": "text_field",
|
|
"label": "Variable Name (optional)",
|
|
"hint_text": "Standard: ENERGY_INST_VAL",
|
|
"initial_value": "ENERGY_INST_VAL",
|
|
"prefix_icon": "analytics"
|
|
},
|
|
{
|
|
"name": "readings",
|
|
"widget": "text_field",
|
|
"label": "Ultimo-Stände",
|
|
"hint_text": "Format: YYYY-MM:Wert, z.B. 2024-01:12345.5, 2024-02:23456.7 (eine Zeile pro Monat)",
|
|
"text_field_config": {
|
|
"max_lines": 10,
|
|
"keyboard_type": "multiline"
|
|
},
|
|
"validators": [
|
|
{
|
|
"type": "required",
|
|
"error_text": "Mindestens ein Ultimo-Stand ist erforderlich"
|
|
}
|
|
],
|
|
"helper_text": "Jede Zeile ein Monatstand im Format YYYY-MM:Zählerstand",
|
|
"prefix_icon": "list"
|
|
}
|
|
]
|
|
} |