Update input_datetime.markdown
This commit is contained in:
parent
262100de45
commit
c12f2e7e67
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ input_datetime:
|
||||||
A datetime input entity's state exports several attributes that can be useful in automations and templates.
|
A datetime input entity's state exports several attributes that can be useful in automations and templates.
|
||||||
|
|
||||||
| Attribute | Description |
|
| Attribute | Description |
|
||||||
| ... | ... |
|
| ----- | ----- |
|
||||||
| `has_time` | `true` if this entity has a time.
|
| `has_time` | `true` if this entity has a time.
|
||||||
| `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_date: true`)
|
| `year`<br>`month`<br>`day` | The year, month and day of the date.<br>(only available if `has_date: true`)
|
||||||
|
@ -81,7 +81,7 @@ This component supports the `restore_state` function which restores the state af
|
||||||
This component provides a service to modify the state of the `input_datetime`.
|
This component provides a service to modify the state of the `input_datetime`.
|
||||||
|
|
||||||
| Service | Data | Description |
|
| Service | Data | Description |
|
||||||
| ... | ... | ... |
|
| ----- | ----- | ----- |
|
||||||
| `set_datetime` | `time` | This can be used to dynamically set the time.
|
| `set_datetime` | `time` | This can be used to dynamically set the time.
|
||||||
| `set_datetime` | `date` | This can be used to dynamically set the date.
|
| `set_datetime` | `date` | This can be used to dynamically set the date.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue