#Reloading All yaml configuration does't update changes to yaml mode lovelace files.

1 messages · Page 1 of 1 (latest)

winter venture
#

As explained in the title, I keep having to restart the whole of home assistant in order to see UI changes in my dashboard for example updating a title name or commenting a card out, is this correct or do I have something messed up with my setup?

proven onyx
#

That option has nothing to do with the frontend

#

Which file are you editing for the frontend?

#

My guess is that it's some included file

winter venture
#

Well the file in question is dashboard/views/home.yaml

I guess I just presumed because of the wording then is there a better way to see UI changes when making amendments to Frontend yaml files in my Dashboard ?

proven onyx
#

You should just need to reload in your browser, maybe clear the cache

#

Is that a secondary YAML dashboard? The main one is ui-lovelace.yaml

winter venture
#
lovelace:
  mode: "storage"
  resources: !include resources.yaml

  dashboards:
    test-dashboard:
      mode: yaml
      title: Test
      icon: mdi:home
      show_in_sidebar: true
      filename: "dashboard/Test/main.yaml"
#

Yeah reloading the page and clear cache doesn't do the job only restarting home assistant seems to solve changes

proven onyx
#

try:

When you make changes to ui-lovelace.yaml, you don’t have to restart Home Assistant or refresh the page. Just hit the refresh button in the menu at the top of the UI.

winter venture
#

That worked just now interesting 🤔

proven onyx
#

Changing files that you included from the main YAML file is also weird. I always have to at least touch the main YAML file to see changes in an included file

#

but I haven't tried the menu option

winter venture
#

Thanks it seems to be consistent at least for now with the minor changes I make. I am interested what that refresh button does because it also seems to affect the app so seems quite to be reloading the yamls I presume.

#

Maybe it's how you include that doesn't propugate the updates correctly no idea though clutching at straws aha

`views: !include_dir_list views