diff --git a/source/_components/input_datetime.markdown b/source/_components/input_datetime.markdown
index e04b2f692f5..4ce98239872 100644
--- a/source/_components/input_datetime.markdown
+++ b/source/_components/input_datetime.markdown
@@ -73,8 +73,8 @@ automations and templates.
| ----- | ----- |
| `has_time` | `true` if this entity has a time.
| `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_
+| `year`
`month`
`day` | The year, month and day of the date.
(only available if `has_date: true`)
+| `timestamp` | A timestamp representing the time held in the input.
(only available if `has_time: true`)
### Restore State