Yaml dashboard to pick up elements generated by Linux script

Hi all,

I have a Lovelace dashboard in yaml mode with split configuration for which I’m generating a few dashboard elements via a shell script based on a sensor’s attribute list (e.g when the list of meteo alert attributes of a sensor changes, an automation invokes a shell script that generates button for each alert whose level is above a certain value).
e.g.: for alerts attribute in
https://raw.githubusercontent.com/amaximus/met_alerts_hu/main/met_alerts_attrs.png

How could I make Lovelace detect that the dasboard elements configuration has changed on OS/file system level and reload the dashboard?
browser_mod didn’t work.

As a solution and info to others, when using browser_mod.refresh instead of browser_mod.lovelace_reload worked (HA 2023.5.3 and browser_mod 2.2.1).