From 6038ba16172865c04efba4ed1674f2809f2a833e Mon Sep 17 00:00:00 2001 From: Maarten Date: Wed, 24 Jul 2019 21:05:25 +0000 Subject: [PATCH] Update attribute of input_datetime with icon: (#9967) * Update input_datetime.markdown It's possible to set an icon for input_datetime, but it's not mentioned in the documentation. * :pencil2: Tweak --- source/_components/input_datetime.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/input_datetime.markdown b/source/_components/input_datetime.markdown index 406575ab317..e04b2f692f5 100644 --- a/source/_components/input_datetime.markdown +++ b/source/_components/input_datetime.markdown @@ -53,6 +53,10 @@ input_datetime: required: false type: boolean default: false + icon: + description: Icon to display in the frontend. + required: false + type: icon initial: description: Set the initial value of this input, depending on `has_time` and `has_date`. required: false @@ -71,6 +75,7 @@ automations and templates. | `has_date` | `true` if this entity has a date. | `year`
`month`
`day` | The year, month and day of the date.
(only available if `has_| `hour`
`minute`
`second` | The hour, minute and second of the time.
(only available if `has_time: true`) | `timestamp` | A timestamp representing the time held in the input.
If `has_ + ### Restore State This integration will automatically restore the state it had prior to Home