mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
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:
parent
8893226527
commit
666c8657b0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user