#Real time visual

1 messages · Page 1 of 1 (latest)

hollow oak
#

Hi all, i was wondering if there is software like notepad++ or Visual Studio where you can program your dashboard in yaml code and see it update in real time to see the progress.

Dont need the values to be populated from my devices but see the layout.

Without having to restart home assistant each time?

silk grove
#

You never have to restart, you can always just reload the YAML for dashboards

supple briar
#

I use an automation to refresh dashboards after editing. In the trigger: ```yaml
triggers:

  • event_type: lovelace_updated
    id: lovelace_updated
    trigger: event
The automation presses all of the load the start URL buttons and does a `browser_mod.refresh` action for Firefox's device_id.
Something to bear in mind about this automation: It does not *see* changes made in a file referenced with an `!include`. I always have to save that file and then save the main dashboard file even if no changes are made to it in order to get it to trigger.
Sometimes it does take a couple of seconds to actually trigger. If that's a problem for you, then you'll have to use **Tinkerer**'s suggestion of refreshing the dashboard.
But, in terms of seeing real-time changes, that's not possible.