mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Make sure blueprint cache is flushed on script reload (#67899)
This commit is contained in:
committed by
Paulus Schoutsen
parent
07e70c81b0
commit
c608cafebd
@@ -175,7 +175,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Call a service to reload scripts."""
|
||||
if (conf := await component.async_prepare_reload()) is None:
|
||||
return
|
||||
|
||||
async_get_blueprints(hass).async_reset_cache()
|
||||
await _async_process_config(hass, conf, component)
|
||||
|
||||
async def turn_on_service(service: ServiceCall) -> None:
|
||||
|
Reference in New Issue
Block a user