From 37cf4e410f562a65ae1baa20a9829fff2d8be401 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sun, 24 Jan 2021 00:45:41 +0100 Subject: [PATCH] New `format` option for attribute rows (#16277) Co-authored-by: Franck Nijhof --- source/_lovelace/entities.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_lovelace/entities.markdown b/source/_lovelace/entities.markdown index bae810472ce..bb044e2472b 100644 --- a/source/_lovelace/entities.markdown +++ b/source/_lovelace/entities.markdown @@ -331,6 +331,10 @@ name: required: false description: Overwrites friendly name. type: string +format: + required: false + description: "How the attribute value should be formatted. Currently only supported for timestamp attributes. Valid values are: `relative`, `total`, `date`, `time` and `datetime`." + type: string {% endconfiguration %} ## Example