mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
Additional info on Scheduler
Additional information about loading the scheduler component. Clarification that schedule.json is a file in the config directory.
This commit is contained in:
parent
a7b16e6b1d
commit
7f3790cf58
@ -12,7 +12,12 @@ footer: true
|
||||
A component that will act as a scheduler and performe actions based
|
||||
on the events in the schedule.
|
||||
|
||||
It will read a json object from `schedule.json` in the config dir and create a schedule based on it.
|
||||
Load the component by enabling it in `configuration.yaml`
|
||||
```
|
||||
scheduler:
|
||||
```
|
||||
|
||||
It will read a json object from the file `schedule.json` in the config dir (`~/.homeassistant`) and create a schedule based on it.
|
||||
|
||||
Each schedule is a JSON with the keys `id`, `name`, `description`, `entity_ids`, `events`.
|
||||
|
||||
@ -23,7 +28,7 @@ Each schedule is a JSON with the keys `id`, `name`, `description`, `entity_ids`,
|
||||
- events is an array of objects that describe the different events that is
|
||||
supported. Read in the events descriptions for more information
|
||||
|
||||
Example `schedule.json`
|
||||
Example `schedule.json` file
|
||||
|
||||
```json
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user