-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
More bug fixes, improvements, and features #159
base: dev
Are you sure you want to change the base?
Conversation
Specifically, support ${} in variables, multiple templates in variables, and nested templates in data structures.
These will be evaluated only on the first update/render, and will be preserved without re-evaluation for subsequent updates. These may be used to manage the performance impact of expensive operations, by eliminating unnecessary re-evaluations.
Seems to be very massive work. Meanwhile, some FRs (could be implemented separately if possible):
supported? |
You mean you want the full original config of CTC (before evaluation of templates) available as a variable? Yeah, I can probably do that. Do you have an example of how you might use that, so I can make sure I implement this in a way that supports what you are trying to do?
Unfortunately this one isn't easy. |
Thanks in advance! I decided to create a separate FR (#160) to avoid cluttering of this PR.
Sad... We can use secrets in lovelace yaml like:
so I thought may be it could be possible to use them inside variables. Thanks again! |
7a4af80
to
5111820
Compare
Co-authored-by: Paul Donohue <git@PaulSD.com> Co-authored-by: Mike A. <git@mikealmel.ooo>
Primary changes:
${}
syntax in variables$!
prefixAfter this is merged, my opinion is that the dev branch is good enough to be merged into master.
However, of course, feel free to leave this in dev for now and do another beta release if you aren't comfortable with merging into master yet.
Closes #149.