mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +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
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
icon:
|
||||||
|
description: Icon to display in the frontend.
|
||||||
|
required: false
|
||||||
|
type: icon
|
||||||
initial:
|
initial:
|
||||||
description: Set the initial value of this input, depending on `has_time` and `has_date`.
|
description: Set the initial value of this input, depending on `has_time` and `has_date`.
|
||||||
required: false
|
required: false
|
||||||
@ -71,6 +75,7 @@ automations and templates.
|
|||||||
| `has_date` | `true` if this entity has a date.
|
| `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`)
|
| `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_
|
| `timestamp` | A timestamp representing the time held in the input.<br>If `has_
|
||||||
|
|
||||||
### Restore State
|
### Restore State
|
||||||
|
|
||||||
This integration will automatically restore the state it had prior to Home
|
This integration will automatically restore the state it had prior to Home
|
||||||
|
Loading…
x
Reference in New Issue
Block a user