Paulus Schoutsen b5de04684c
Document frontend strategy (#900)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-27 10:29:26 -07:00

1.2 KiB

title
Registering Resources

If you want to extend the Home Assistant Lovelace interface with custom cards, strategies or views you need to load external resources.

The first step is to make it accessible for the Home Assistant frontend. This is done by creating a new directory in your config folder called www. Create this directory and restart Home Assistant.

Once restarted, you can put files in this directory. Each file will be accessible without authentication via the UI at /local.

The next step is to register these resources with the Lovelace interface. This is done by navigating to the Lovelace resources page by following below link:

Open your Home Assistant instance and show your Lovelace resources.

:::note

This tab is only available when the active user's profile has "advanced mode" enabled.

:::

Screenshot of the Resources tab, found at the top of the Lovelace Configuration UI

Screenshot of the Advanced Mode selector found on the Profile page