Skip to content

Commit a33ed1d

Browse files
author
Marc Forth
authored
Update input_datetime.markdown
1 parent e081ef3 commit a33ed1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/_components/input_datetime.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ This component provides a service to modify the state of the `input_datetime`.
8989

9090
The following example shows the usage of the `input_datetime` as a trigger in an automation (note that you will need a [time sensor](https://home-assistant.io/components/sensor.time_date/) elsewhere in your configuration):
9191

92-
92+
{% raw %}
9393
```yaml
9494
# Example configuration.yaml entry
95-
# Turns on bedroom light at the time specifiedateutomadate:
95+
# Turns on bedroom light at the time specified.
9696
trigger:
9797
platform: template
9898
@@ -101,6 +101,7 @@ The following example shows the usage of the `input_datetime` as a trigger in an
101101
- service: light.turn_on
102102
entity_id: light.bedroom
103103
```
104+
{% endraw %}
104105

105106
To dynamically set the `input_datetime` you can call `input_datetime.set_datetime`. The following example can be used in an automation rule:
106107

0 commit comments

Comments
 (0)