Document prefix in customapi

This commit is contained in:
Michael Telatynski 2024-01-18 20:08:49 +00:00 committed by GitHub
parent 60ee3c22a4
commit 780e6e66f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,7 @@ mappings:
## Data Transformation
You can manipulate data with the following tools `remap`, `scale` and `suffix`, for example:
You can manipulate data with the following tools `remap`, `scale`, `prefix` and `suffix`, for example:
```yaml
- field: key4
@ -111,6 +111,10 @@ You can manipulate data with the following tools `remap`, `scale` and `suffix`,
format: float
scale: 0.001 # can be number or string e.g. 1/16
suffix: kW
- field: key6
label: Cost
format: float
prefix: "£"
```
## Custom Headers