lovelace-multiple-entity-row icon indicating copy to clipboard operation
lovelace-multiple-entity-row copied to clipboard

[FR]: Support for "object" attributes

Open ildar170975 opened this issue 3 years ago • 3 comments

An entity may have an "object" attribute usually accessed in jinjia templates as:

state_attr("sensor.some_entity","some_object_attr").subattr

It would be great to have a possibility to access them like:

attribute: some_object_attr:subattr

or

attribute: some_object_attr.subattr

ildar170975 avatar Jul 17 '22 03:07 ildar170975

+1

quammy avatar Nov 12 '22 21:11 quammy

+1

I would like to have this feature as well.

As for the syntax: In automations I think the following syntax is used (but I am not sure): trigger.zone.attributes.friendly_name

In my oppinion it would be preferable to keep the syntaxes alike.

Example: https://community.home-assistant.io/t/automation-for-entering-and-leaving-zones/265000/4?u=loovanloon

loovanloon avatar Nov 21 '22 07:11 loovanloon