mirror of
https://github.com/home-assistant/core.git
synced 2025-08-08 07:05:07 +02:00
Fix large imap_content event warning by truncating the email text body to 2 KiB (#92066)
This commit is contained in:
@@ -177,7 +177,7 @@ class ImapDataUpdateCoordinator(DataUpdateCoordinator[int | None]):
|
||||
"search": self.config_entry.data[CONF_SEARCH],
|
||||
"folder": self.config_entry.data[CONF_FOLDER],
|
||||
"date": message.date,
|
||||
"text": message.text,
|
||||
"text": message.text[:2048],
|
||||
"sender": message.sender,
|
||||
"subject": message.subject,
|
||||
"headers": message.headers,
|
||||
|
Reference in New Issue
Block a user