From 647b8c8a26e5a861d0d9ce60df68d840a807dd30 Mon Sep 17 00:00:00 2001 From: alexd321 <69210910+alexd321@users.noreply.github.com> Date: Tue, 3 Aug 2021 13:37:10 +0100 Subject: [PATCH] Update README.md Added restart HA step before adding to config, otherwise we encounter errors Updated example code to cover greater options of people and presence trackers --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c20dd63..14d2c3f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ ## How to install 1. Clone repository into $HASS_HOME/custom_components/iq_notify. -2. Update your configuration.yaml. +2. Restart Home Assistant +3. Update your configuration.yaml - example below The contents of this repository should be in a directory named `iq_notify` inside `custom_components` of your Home Assistant. @@ -27,10 +28,10 @@ notify: name: iphones # alias name for notify.{name} time: 2 # time offset in which we assume someone "just left/arrived" or "is staying" pairs: # a list of presence entities are corresponding notify services - - entity: binary_sensor.presence_he # presence entity id #1 - service: his_iphone # notify service to use for above entity, without domain (notify.) - - entity: binary_sensor.presence_she # presence entity id #2 - service: her_iphone # notify service to use for above entity, without domain (notify.) + - entity: binary_sensor.presence_person1 # presence entity id #1 + service: person1_iphone # notify service to use for above entity, without domain (notify.) + - entity: device_tracker.person2 # presence entity id #2 + service: person2_phone # notify service to use for above entity, without domain (notify.) ``` > `time` (defaults to 2)