mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 23:57:06 +00:00
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:
parent
327796a750
commit
941df567f8
@ -12,6 +12,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/powerwall",
|
"documentation": "https://www.home-assistant.io/integrations/powerwall",
|
||||||
|
"import_executor": true,
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["tesla_powerwall"],
|
"loggers": ["tesla_powerwall"],
|
||||||
"requirements": ["tesla-powerwall==0.5.1"]
|
"requirements": ["tesla-powerwall==0.5.1"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user