From 6e6cd977191230b895db72f4dff8124601eccbfd Mon Sep 17 00:00:00 2001 From: Veejer <112398263+Veejer@users.noreply.github.com> Date: Sun, 18 Sep 2022 14:44:25 -0400 Subject: [PATCH] #86 Updated doc --- docs/example-cfg-data.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/example-cfg-data.md b/docs/example-cfg-data.md index d4aad17..6abde9f 100644 --- a/docs/example-cfg-data.md +++ b/docs/example-cfg-data.md @@ -14,6 +14,9 @@ for the assigned value of `data`: * any `key in this.entity` (e.g., `entity_id`, `state`, ...) * otherwise a key within `this.entity.attributes` will be assumed +When accessing attributes, sometimes an attribute object will itself contain objects. +In that case, you can access the lower object using dotted notation. eg: object1.object2.field1 + If the chosen `data` selector does not resolve to something useful, the cell will be marked with an error - collection/rendering should continue w/o any issues.