Change default IMAP Email Content sensor value from body to subject (#4199)

* Change default sensor value from body to subject

* ✏️ Grammar
This commit is contained in:
NotoriousBDG 2018-01-11 17:00:32 -05:00 committed by Franck Nijhof
parent 8893226527
commit 666c8657b0

View File

@ -38,7 +38,7 @@ Configuration variables:
- **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 received from these addresses will be processed.
- **value_template** (*Optional*): If specified this template will be used to render the state of sensor. If a template is not supplied the raw message body will be used for the sensor value. The following attributes will be supplied to the template:
- **value_template** (*Optional*): If specified this template will be used to render the state of the sensor. If a template is not supplied the message subject will be used for the sensor value. The following attributes will be supplied to the template:
* **from**: The from address of the email
* **body**: The body of the email