Make sure blueprint cache is flushed on script reload (#67899)

pull/68001/head
Joakim Plate 2022-03-09 20:21:31 +01:00 committed by Paulus Schoutsen
parent 07e70c81b0
commit c608cafebd
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Call a service to reload scripts.""" """Call a service to reload scripts."""
if (conf := await component.async_prepare_reload()) is None: if (conf := await component.async_prepare_reload()) is None:
return return
async_get_blueprints(hass).async_reset_cache()
await _async_process_config(hass, conf, component) await _async_process_config(hass, conf, component)
async def turn_on_service(service: ServiceCall) -> None: async def turn_on_service(service: ServiceCall) -> None: