From a3fbbee6ea6f66b000f5da7a1022643b44aba297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Mon, 29 Mar 2021 23:28:55 +0200 Subject: [PATCH] Rename layout option for cards to view_layout (#863) Discussion: https://discord.com/channels/330944238910963714/351047592588869643/821281122755411968 --- docs/frontend/custom-ui/lovelace-custom-view.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/frontend/custom-ui/lovelace-custom-view.md b/docs/frontend/custom-ui/lovelace-custom-view.md index adabfe72..729aef8e 100644 --- a/docs/frontend/custom-ui/lovelace-custom-view.md +++ b/docs/frontend/custom-ui/lovelace-custom-view.md @@ -64,11 +64,11 @@ A user who downloads and installs your new Custom View can then use it via editi ## Store Custom Data -If your view requires data to persist at a card level, there is a `layout` in the card configuration that can be used to store information. Example: Key, X and Y coordinates, width and height, etc. This can be useful when you need to store the location or dimensions of a card for your view. +If your view requires data to persist at a card level, there is a `view_layout` in the card configuration that can be used to store information. Example: Key, X and Y coordinates, width and height, etc. This can be useful when you need to store the location or dimensions of a card for your view. ```yaml - type: weather-card - layout: + view_layout: key: 1234 width: 54px entity: weather.my_weather