From 942ad022cc7942cf35e18bc3c34727b731f6ed75 Mon Sep 17 00:00:00 2001 From: akasma74 Date: Fri, 15 Nov 2019 16:43:00 +0000 Subject: [PATCH 1/3] clarify options' use The current description looks outdated to me because: 1. In Lovelace the time/date is not displayed when we open default_view 2. If only - 'time' specified, no `sensor.date` or anything else exists (and it's not clear as the configuration variable name is `display_options` (maybe now it's better to make it deprecated and change to `options` or something)? --- source/_integrations/time_date.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/_integrations/time_date.markdown b/source/_integrations/time_date.markdown index 315632069554..c25876b7b19d 100644 --- a/source/_integrations/time_date.markdown +++ b/source/_integrations/time_date.markdown @@ -9,9 +9,11 @@ ha_release: pre 0.7 ha_qa_scale: internal --- -The time and date (`time_date`) sensor platform simple displays the time in various formats, the date, or both. +The time and date (`time_date`) sensor platform adds one or more sensors to your Home Assistant state machine. +It also displays the time in various formats, the date, or both in non-Lovelace mode. +Note that you have to add all options you need access to even if you don't want them to be displayed. -To enable this sensor in your installation, add the following to your `configuration.yaml` file: +To have these sensors available in your installation, add the following to your `configuration.yaml` file (each option creates a separate sensor that contais appropriate data): ```yaml # Example configuration.yaml entry From 1d443465bde399732d29ef4380df5f448f97e1df Mon Sep 17 00:00:00 2001 From: akasma74 Date: Sat, 16 Nov 2019 20:10:34 +0000 Subject: [PATCH 2/3] Update source/_integrations/time_date.markdown typo Co-Authored-By: Franck Nijhof --- source/_integrations/time_date.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/time_date.markdown b/source/_integrations/time_date.markdown index c25876b7b19d..280b4f151a0e 100644 --- a/source/_integrations/time_date.markdown +++ b/source/_integrations/time_date.markdown @@ -13,7 +13,7 @@ The time and date (`time_date`) sensor platform adds one or more sensors to your It also displays the time in various formats, the date, or both in non-Lovelace mode. Note that you have to add all options you need access to even if you don't want them to be displayed. -To have these sensors available in your installation, add the following to your `configuration.yaml` file (each option creates a separate sensor that contais appropriate data): +To have these sensors available in your installation, add the following to your `configuration.yaml` file (each option creates a separate sensor that contains appropriate data): ```yaml # Example configuration.yaml entry From 0084935a45958d3e9a4b04d79c822b6066f1cd3f Mon Sep 17 00:00:00 2001 From: akasma74 Date: Sun, 17 Nov 2019 21:07:27 +0000 Subject: [PATCH 3/3] resolving #1 --- source/_integrations/time_date.markdown | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/_integrations/time_date.markdown b/source/_integrations/time_date.markdown index 280b4f151a0e..4261bf2807f0 100644 --- a/source/_integrations/time_date.markdown +++ b/source/_integrations/time_date.markdown @@ -10,9 +10,6 @@ ha_qa_scale: internal --- The time and date (`time_date`) sensor platform adds one or more sensors to your Home Assistant state machine. -It also displays the time in various formats, the date, or both in non-Lovelace mode. -Note that you have to add all options you need access to even if you don't want them to be displayed. - To have these sensors available in your installation, add the following to your `configuration.yaml` file (each option creates a separate sensor that contains appropriate data): ```yaml