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

Service to var.set a mapping attribute #108

Open
GaPhi opened this issue Mar 24, 2024 · 2 comments
Open

Service to var.set a mapping attribute #108

GaPhi opened this issue Mar 24, 2024 · 2 comments
Labels
feature request New feature request

Comments

@GaPhi
Copy link

GaPhi commented Mar 24, 2024

The current service only allows string as an attribute value.

I need to set a mapping, which seems possible using the developers tools must is rejected by the service call.
template value should be a string for dictionary value @ data['attributes']['my_attribute']

Is is possible to update the service call to allow any attribute value type ?
It would be easier to use (today I transform the data in a JSON string to store it, and need to parse it when reading it again)

Thanks !

@snarky-snark
Copy link
Owner

Attribute values are template strings which can evaluate to non-string values.

@snarky-snark
Copy link
Owner

@snarky-snark snarky-snark added the feature request New feature request label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants