deploy script form: ultimo_meter_reading_entry
parent
74e6706fcf
commit
0001415dc4
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue