From abe1bd1c45a7e5e05d18dd76482a63fd20267c73 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Sep 2016 17:13:07 +0200 Subject: [PATCH] Add iot class and other minor changes --- source/_components/sensor.imap.markdown | 1 + source/_components/sensor.imap_email_content.markdown | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/source/_components/sensor.imap.markdown b/source/_components/sensor.imap.markdown index b091483a012..7001f25e6f1 100644 --- a/source/_components/sensor.imap.markdown +++ b/source/_components/sensor.imap.markdown @@ -9,6 +9,7 @@ sharing: true footer: true ha_category: Sensor ha_release: 0.25 +ha_iot_class: "Local Polling" --- diff --git a/source/_components/sensor.imap_email_content.markdown b/source/_components/sensor.imap_email_content.markdown index 50eeace8982..8487def7b58 100644 --- a/source/_components/sensor.imap_email_content.markdown +++ b/source/_components/sensor.imap_email_content.markdown @@ -1,18 +1,19 @@ --- layout: page -title: "Imap E-mail Content" -description: "Instructions how to integrate imap email content sensor into Home Assistant." +title: "IMAP Email Content" +description: "Instructions how to integrate IMAP email content sensor into Home Assistant." date: 2016-09-09 12:30 sidebar: true comments: false sharing: true footer: true ha_category: Sensor +ha_iot_class: "Local Polling" +ha_release: 0.25 --- -The `imap email content` sensor platform will read emails from an imap email server and report them as a state change within Home Assistant. -This is useful if you have a device that only reports its state via email. +The `imap_email_content` sensor platform will read emails from an IMAP email server and report them as a state change within Home Assistant. This is useful if you have a device that only reports its state via email. To enable this sensor, add the following lines to your `configuration.yaml` file: @@ -34,7 +35,7 @@ Configuration variables: - **server** (*Required*): The IP address or hostname of the IMAP server. - **port** (*Required*): The port where the server is accessible. -- **name** (*Optional*): Name of the IMAP sensor. +- **name** (*Optional*): Name of the IMAP sensor to use in the frontend. - **username** (*Required*): Username for the IMAP server. - **password** (*Required*): Password for the IMAP server. - **senders** (*Required*): A list of sender email addresses that are allowed to report state via email. Only emails recieved from these addresses will be processed.