From 780e6e66f3ca14fdeabdf9850817c2bbae2b09c2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 18 Jan 2024 20:08:49 +0000 Subject: [PATCH] Document `prefix` in customapi --- docs/widgets/services/customapi.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/widgets/services/customapi.md b/docs/widgets/services/customapi.md index d392f0a9..6833f3a8 100644 --- a/docs/widgets/services/customapi.md +++ b/docs/widgets/services/customapi.md @@ -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