From 042b32c6a29f2ba5e7e8d410c9f630b7e5ea8337 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 29 Nov 2014 17:51:10 +0100 Subject: [PATCH] Textual improvements of the README --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 8970373..46fe5b7 100644 --- a/README.md +++ b/README.md @@ -119,31 +119,31 @@ An example setup: scene: Nice office lighting The rule "Off when closed" has no conditions, thus it is always valid. -It is also not a trigger so when valid and active it will always excute -the "All off" event (see below). +It is also not a trigger so when valid and active it will keep excuting +the event "All off" (see below) repeatedly. Between 9:00 and 18:00, the rule "Office lighting during working hours" is -valid and it has a higher priority, so "Off when closed" will become -inactive. By default this is a trigger, so at activation it will -execute the scene "Nice office lighting" (see below). +valid and it has a higher priority, so the rule "Off when closed" will +become inactive. This is a trigger (by default), so at activation it will +execute the scene "Nice office lighting" (see below) only once. At 18:00 the "Office lighting during working hours" will become inactive -again and the always-valid "All off" rule will take over and start -executing the "All off" event again. +and the always-valid rule "All off" will become active and start +executing the event "All off" repeatedly again during the night. `events.yml`: - All off: - lights: [1, 2, 3, 4] - actions: - "on": false + All off: + lights: [1, 2, 3, 4] + actions: + "on": false `scenes.yml`: Nice office lighting: - light: Hue light window actions: - hue: 12345 + hue: 12345 sat: 200 bri: 255 - lights: LivingColor light