From 0f4a36a7ed71aaa759d7d2f947b4dbde445a450e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 24 Nov 2018 20:47:45 +0100 Subject: [PATCH] Add timestamp device class docs (#7606) * Add timestamp device class docs * Fix yaml * :pencil2: Tweak --- source/_lovelace/entities.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_lovelace/entities.markdown b/source/_lovelace/entities.markdown index 1e99fbfef61..b7837533ced 100644 --- a/source/_lovelace/entities.markdown +++ b/source/_lovelace/entities.markdown @@ -57,6 +57,10 @@ secondary_info: required: false description: "Show additional info. Values: `entity-id`, `last-changed`." type: string +format: + required: false + description: "How the state should be formatted. Currently only used for timestamp sensors. Valid values are: `relative`, `total`, `date`, `time` and `datetime`." + type: string {% endconfiguration %} ## {% linkable_title Special Row Elements %}