From 2eee41f397452f07f10c08198006729d1c01254a Mon Sep 17 00:00:00 2001 From: Werner Pieterson Date: Sat, 25 Jul 2020 14:41:17 +0200 Subject: [PATCH] Update info.md --- apps/info.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/info.md b/apps/info.md index 4d5c71c..a9522ab 100644 --- a/apps/info.md +++ b/apps/info.md @@ -7,17 +7,17 @@ ## Introduction Wasp in a Box is an AppDaemon app for detecting occupancy using door and motions sensors. -If the box (door) is open, we assume there is no wasp (person) in the box. -If I see a wasp (motion), then there is a wasp in the box. -If I close the box, then there is a wasp in the box. -If the box has not been opened, we assume the wasp is still in the box. - +If the box (door) is open, we assume there is no wasp (person) in the box. +If I see a wasp (motion), then there is a wasp in the box. +If I close the box, then there is a wasp in the box. +If the box has not been opened, we assume the wasp is still in the box. + The state of the generated binary sensor can be used for triggering automations. ### Example: -If someone enters the bathroom and motion is detected, then turn on the light. -If the door is closed and motion is detected, then keep the light on as long as the door is closed. -If the door is open and no motion is detected, then turn off the light. +If someone enters the bathroom and motion is detected, then turn on the light. +If the door is closed and motion is detected, then keep the light on as long as the door is closed. +If the door is open and no motion is detected, then turn off the light. ## Installation Download the `wasp` directory from inside the `apps` directory to your local `apps` directory, then configure the `wasp` module in `apps.yaml`. @@ -40,4 +40,4 @@ key | optional | type | default | description `class` | False | string | | The name of the Class. `name` | True | string | Defaults to the app name, e.g. Bathroom Wasp | The friendly_name of the sensor. `door_sensors` | False | list | | A list of door sensor entity_ids. -`motion_sensors` | False | list | | A list of motion sensor entity_ids. \ No newline at end of file +`motion_sensors` | False | list | | A list of motion sensor entity_ids.