diff --git a/source/_components/frontend.markdown b/source/_components/frontend.markdown index 82d9e4cb945..dc48dd837fb 100644 --- a/source/_components/frontend.markdown +++ b/source/_components/frontend.markdown @@ -18,6 +18,32 @@ This offers the official frontend to control Home Assistant. frontend: ``` +{% configuration %} + themes: + description: Allow to define different themes. See below for further details. + required: false + type: map + keys: + "[identifier]": + description: Name to use in the frontend. + required: true + type: [list, map] + keys: + "[css-identifier]": + description: The CSS identifier. + required: true + type: [list, string] + extra_html_url: + description: "List of addtional [resources](/developers/frontend_creating_custom_ui/) to load." + required: false + type: list + development_repo: + description: Allow to point to a directory containing frontend files instead of taking them from a pre-built PyPI package. Useful for Frontend development. + required: false + type: string +{% endconfiguration %} + + ## {% linkable_title Themes %} Starting with version 0.49 you can define themes: diff --git a/source/_components/http.markdown b/source/_components/http.markdown index 4eabe2665c3..e6e396109c0 100644 --- a/source/_components/http.markdown +++ b/source/_components/http.markdown @@ -29,7 +29,6 @@ Configuration variables: - **server_host** (*Optional*): Only listen to incoming requests on specific IP/host (default: accept all) - **server_port** (*Optional*): Let you set a port to use. Defaults to 8123. - **base_url** (*Optional*): The URL that Home Assistant is available on the internet. For example: `hass-example.duckdns.org:8123`. Defaults to the local IP address. The iOS app finds local installations, if you have an outside URL use this so that you can auto-fill when discovered in the app. -- **development** (*Optional*): Disable caching and load unvulcanized assets. Useful for Frontend development. - **ssl_certificate** (*Optional*): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection. - **ssl_key** (*Optional*): Path to your TLS/SSL key to serve Home Assistant over a secure connection. - **cors_allowed_origins** (*Optional*): A list of origin domain names to allow [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) requests from. Enabling this will set the `Access-Control-Allow-Origin` header to the Origin header if it is found in the list, and the `Access-Control-Allow-Headers` header to `Origin, Accept, X-Requested-With, Content-type, X-HA-access`. You must provide the exact Origin, i.e. `https://home-assistant.io` will allow requests from `https://home-assistant.io` but __not__ `http://home-assistant.io`.