Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ljmerza/ha-email-sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Aug 22, 2019
2 parents b3941e4 + 2f0441b commit c2701ec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ Gets emails from SMTP and prases out any tracking numbers from FedEx, UPS, USPS,
## Installation

* Add the `email` folder in your `custom_components` folder

```yaml
sensor:
- platform: email
email: !secret my_email
password: !secret my_email_password
```
* If the component doesn't load this might be due to Home Assistant not installing the requirements automatically through the manifests file. You can install them manaually by running `pip install beautifulsoup4==4.7.1 imapclient==2.1.0 mail-parser==3.9.3`
* If you use 2 factor authentication for Google you'll need to create an app password. See more details [here](https://support.google.com/accounts/answer/185833?hl=en)

Expand All @@ -28,13 +36,6 @@ Gets emails from SMTP and prases out any tracking numbers from FedEx, UPS, USPS,
| folder | string | **Optional** | `INBOX` Which folder to pull emails from
| show_all | boolean | **Optional** | `false` Show only unseen emails (default) or all emails from `folder`

```yaml
sensor:
- platform: email
email: !secret my_email
password: !secret my_email_password
```

---

Expand Down
15 changes: 8 additions & 7 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ Gets emails from SMTP and prases out any tracking numbers from FedEx, UPS, USPS,
## Installation

* Add the `email` folder in your `custom_components` folder

```yaml
sensor:
- platform: email
email: !secret my_email
password: !secret my_email_password
```
* If the component doesn't load this might be due to Home Assistant not installing the requirements automatically through the manifests file. You can install them manaually by running `pip install beautifulsoup4==4.7.1 imapclient==2.1.0 mail-parser==3.9.3`
* If you use 2 factor authentication for Google you'll need to create an app password. See more details [here](https://support.google.com/accounts/answer/185833?hl=en)

Expand All @@ -28,13 +36,6 @@ Gets emails from SMTP and prases out any tracking numbers from FedEx, UPS, USPS,
| folder | string | **Optional** | `INBOX` Which folder to pull emails from
| show_all | boolean | **Optional** | `false` Show only unseen emails (default) or all emails from `folder`

```yaml
sensor:
- platform: email
email: !secret my_email
password: !secret my_email_password
```

---

Expand Down

0 comments on commit c2701ec

Please sign in to comment.