Import powerwall in the executor to avoid blocking the event loop (#111749)

`2024-02-27 22:44:17.087 DEBUG (MainThread) [homeassistant.loader] Component powerwall import took 0.459 seconds (loaded_executor=False)`
This commit is contained in:
J. Nick Koston 2024-02-28 09:31:23 -10:00 committed by GitHub
parent 327796a750
commit 941df567f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@
}
],
"documentation": "https://www.home-assistant.io/integrations/powerwall",
"import_executor": true,
"iot_class": "local_polling",
"loggers": ["tesla_powerwall"],
"requirements": ["tesla-powerwall==0.5.1"]