mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-06-27 12:36:28 +00:00
Correcting the function now to now() (#358)
This commit is contained in:
parent
aa04eaabe5
commit
0da3258bbf
@ -480,7 +480,7 @@ Sample `curl` command:
|
|||||||
```bash
|
```bash
|
||||||
$ curl -X POST -H "Authorization: Bearer ABCDEFGH" \
|
$ curl -X POST -H "Authorization: Bearer ABCDEFGH" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"template": "It is {{ now }}!"}' http://localhost:8123/api/template
|
-d '{"template": "It is {{ now() }}!"}' http://localhost:8123/api/template
|
||||||
```
|
```
|
||||||
|
|
||||||
#### POST /api/config/core/check_config
|
#### POST /api/config/core/check_config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user