From ee91f59f49a2a3245985a2fc0e1b783e45147b0d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 10 Dec 2018 19:30:21 +0100 Subject: [PATCH] Update 2018-12-12-release-84.markdown --- source/_posts/2018-12-12-release-84.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_posts/2018-12-12-release-84.markdown b/source/_posts/2018-12-12-release-84.markdown index 56b9f2db9f2..12c5ad51f6e 100644 --- a/source/_posts/2018-12-12-release-84.markdown +++ b/source/_posts/2018-12-12-release-84.markdown @@ -15,7 +15,9 @@ og_image: /images/blog/2018-12-release-84/components.png Lovelace was supposed to be the default, but we decided to wait a release to make it all just right. If you are currently testing Lovelace, we have now three different modes; auto-generated, storage, and yaml (the old way of doing Lovelace). The UI editor will be limited to the storage mode, in which we control how the config is stored. It was the only way we could manage to pull this off without running into a thousand bugs and crazy code everywhere. -So if you were using Lovelace and want to continue managing a YAML file, [check here how to enable the YAML mode](/lovelace/yaml-mode/). The file `ui-lovelace.yaml` will load using the same loader as `configuration.yaml`. Main change between the old YAML loader is that it's now using YAML 1.1 instead of YAML 1.2, so make sure that you wrap `on` and `off` in your configs! We have also aligned the configuration of all the cards, causing breaking changes. Changes are especially focused around how we define actions for short and long presses. See [the docs][/lovelace/] for more info. +So if you were using Lovelace before 0.84, you have two options. Option one is to use the new storage mode and import your existing file. You can do this by opening the UI, click on Configure UI to go from generated to storage mode. Then click on "raw config editor" in the menu and paste the content of your `ui-lovelace.yaml` file. + +If you want to continue managing a YAML file, [check here how to enable the YAML mode](/lovelace/yaml-mode/). The file `ui-lovelace.yaml` will load using the same loader as `configuration.yaml`. Main change between the old YAML loader is that it's now using YAML 1.1 instead of YAML 1.2, so make sure that you wrap `on` and `off` in your configs! We have also aligned the configuration of all the cards, causing breaking changes. Changes are especially focused around how we define actions for short and long presses. See [the docs][/lovelace/] for more info. Editor UI is now further processed. You can manage your Lovelace UI without leaving your browser! It is possible to add, edit and delete views. It is possible to add, edit, move and delete cards, including custom cards!