mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
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.
* ✏️ Tweak
This commit is contained in:
parent
337a165934
commit
6038ba1617
@ -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`<br>`month`<br>`day` | The year, month and day of the date.<br>(only available if `has_| `hour`<br>`minute`<br>`second` | The hour, minute and second of the time.<br>(only available if `has_time: true`)
|
||||
| `timestamp` | A timestamp representing the time held in the input.<br>If `has_
|
||||
|
||||
### Restore State
|
||||
|
||||
This integration will automatically restore the state it had prior to Home
|
||||
|
Loading…
x
Reference in New Issue
Block a user