Skip to content

Commit 77bf711

Browse files
aneischfabaff
authored andcommitted
Fixed as_timestamp reference (home-assistant#2394)
Requires parenthesis.
1 parent bd26868 commit 77bf711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_docs/configuration/templating.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Home Assistant adds extensions to allow templates to access all of the current s
7474
- `is_state_attr('device_tracker.paulus', 'battery', 40)` will test if the given entity is specified state.
7575
- `now()` will be rendered as current time in your time zone.
7676
- `utcnow()` will be rendered as UTC time.
77-
- `as_timestamp` will convert datetime object or string to UNIX timestamp
77+
- `as_timestamp()` will convert datetime object or string to UNIX timestamp
7878
- `distance()` will measure the distance in meters between home, entity, coordinates.
7979
- `closest()` will find the closest entity.
8080
- `relative_time(timestamp)` will format the date time as relative time vs now (ie 7 seconds)

0 commit comments

Comments
 (0)