lovelace-multiple-entity-row
lovelace-multiple-entity-row copied to clipboard
[FR]: Support for "object" attributes
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
+1
+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