Textual improvements of the README

This commit is contained in:
Paul van Tilburg 2014-11-29 17:51:10 +01:00
parent 4f3a305145
commit 042b32c6a2
1 changed files with 12 additions and 12 deletions

View File

@ -119,31 +119,31 @@ An example setup:
scene: Nice office lighting scene: Nice office lighting
The rule "Off when closed" has no conditions, thus it is always valid. 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 It is also not a trigger so when valid and active it will keep excuting
the "All off" event (see below). the event "All off" (see below) repeatedly.
Between 9:00 and 18:00, the rule "Office lighting during working hours" is 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 valid and it has a higher priority, so the rule "Off when closed" will
inactive. By default this is a trigger, so at activation it will become inactive. This is a trigger (by default), so at activation it will
execute the scene "Nice office lighting" (see below). execute the scene "Nice office lighting" (see below) only once.
At 18:00 the "Office lighting during working hours" will become inactive 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 and the always-valid rule "All off" will become active and start
executing the "All off" event again. executing the event "All off" repeatedly again during the night.
`events.yml`: `events.yml`:
All off: All off:
lights: [1, 2, 3, 4] lights: [1, 2, 3, 4]
actions: actions:
"on": false "on": false
`scenes.yml`: `scenes.yml`:
Nice office lighting: Nice office lighting:
- light: Hue light window - light: Hue light window
actions: actions:
hue: 12345 hue: 12345
sat: 200 sat: 200
bri: 255 bri: 255
- lights: LivingColor light - lights: LivingColor light