Import smtp in the executor to avoid blocking the loop (#112089)

This one has no external requirements, but the email imports
from stdlib take ~0.6s on a green
This commit is contained in:
J. Nick Koston
2024-03-02 16:51:45 -10:00
committed by GitHub
parent 6421a08ba8
commit a07f6d9d76

View File

@@ -3,5 +3,6 @@
"name": "SMTP",
"codeowners": [],
"documentation": "https://www.home-assistant.io/integrations/smtp",
"import_executor": true,
"iot_class": "cloud_push"
}