Replies: 1 comment
-
No, there is no plan to add a general templating language to this integration, as it only enables obscure edge cases that a few power users would ever use compared with the effort to develop such a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to use the state from a random entity as a value in the device yaml?
My usecase is this :
I have a led strip, I managed to define a list of activable effects by using Tuya's IOT platform, I have all of them in a custom device yaml based on dreamlight_led_strip.yaml and it works like a charm.
Example of my effect selector :
The problem is that I have a list of pre-defined effects but if I want to add a new one I have to edit the yaml and re-add the device.
Is there a way to have one of the values of my mapping to be equal to an entity state?
Something like
This way if I want to add a custom effect I can just select "Custom" and it'll use the value of the entity state which is populated with a value via a custom card or whatever.
Or maybe via a service call I didn't find?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions