From 7f3790cf581f15fe0d10c656e4d7d1ac685da110 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Wed, 2 Sep 2015 15:00:25 -0400 Subject: [PATCH] Additional info on Scheduler Additional information about loading the scheduler component. Clarification that schedule.json is a file in the config directory. --- source/components/scheduler.markdown | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/components/scheduler.markdown b/source/components/scheduler.markdown index ca78e7521eec..a9691e79df76 100644 --- a/source/components/scheduler.markdown +++ b/source/components/scheduler.markdown @@ -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 [