Add custom integration, do not use yaml UI mode (keep auto discovery)

Hi;

HA version: 0.109.6 (docker)

I have installed the ZHA Network Card integration (https://github.com/dmulcahey/zha-network-card) to display Zigbee device status.

To do so, yaml mode is required, which (correct me if wrong) loses HA ability to manage UI and automatically populate UI with newly discovered devices. I want to use this integration AND have HA control the UI.

There is a howto regarding this: https://www.home-assistant.io/lovelace/yaml-mode/
which I find confusing:
" To revert back to using the UI to edit your Lovelace interface, remove the lovelace section from your configuration.yaml and copy the contents of your ui-lovelace.yaml into the raw configuration section of Home Assistant and restart."

because:

  • no lovelace section in configuration.yaml
  • copy the contents of your ui-lovelace.yaml into the raw configuration section of Home Assistant. No ui-lovelace.yaml file. Which file to use? What file is “raw configuration section of Home Assistant”?

It it possible to keep this custom integration AND have lovelace manage the UI? If so, how?

Thanks;
Bill

I think you are mixing topics together. First you can have HA auto-generate a UI or do a custom ui. If you do a custom UI you can use yaml mode (edit yaml file) or storage mode (edit through the ui). Your link above refers to converting a custom ui between yaml and storage mode.

So back to your original question, can you have both, sure. You could have one dashboard be the auto-generated ui and then create a second dash board (either yaml or storage) that contains the custom cards you want to use. You could link the second dash board to the sidebar and the icon would show under the overview (auto-generated) icon. That way you have easy access to either the general controls (auto-generated) or the custom controls.

Hope that makes sense.