Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data keys for related entities in widgets. #10578

Open
liotys opened this issue Apr 16, 2024 · 0 comments
Open

Data keys for related entities in widgets. #10578

liotys opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels

Comments

@liotys
Copy link

liotys commented Apr 16, 2024

Is your feature request related to a problem? Please describe.
It's often very usefull to access values of attributes of related entities in addition with attributes of the entity displayed in widgets.

Describe the solution you'd like
We could access to attributes or fields or latest datakey of related entities using the name of the relation (rel_name) and it's direction (from, to) like:
rel_name_from.attribute1 or rel_name_to.temperature
It would be great if it could be recursive -> rel_name1_from.rel_name2_to.attribute_name.

image

Describe alternatives you've considered
When I want to use a related attribute, I copy the attribute of related entity in an attribute of the entity considered. But it needs to be very rigorous with the creation/updates of related values or updates of relations.

@liotys liotys added the feature label Apr 16, 2024
@liotys liotys changed the title Data keys for related objects in widgets. Data keys for related entities in widgets. Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants