Skip to content

Fix various issues with templates and variables#153

Merged
ildar170975 merged 7 commits intoiantrich:devfrom
PaulSD:master
Feb 15, 2025
Merged

Fix various issues with templates and variables#153
ildar170975 merged 7 commits intoiantrich:devfrom
PaulSD:master

Conversation

@PaulSD
Copy link
Copy Markdown

@PaulSD PaulSD commented Dec 23, 2024

See the individual commit messages for details.

Fixes #93, Closes #110, Closes #119, Closes #123, Closes #128, Closes #129, Closes #135, Closes #147, Closes #148
(This includes/supersedes #110, #128, #129, #135, and #148, and eliminates the need for #119, #123, and #147)

@PaulSD
Copy link
Copy Markdown
Author

PaulSD commented Dec 26, 2024

@ildar170975
Anything you can do to help move this along?

@ildar170975
Copy link
Copy Markdown
Collaborator

Hi Paul.
Please give me some time for this. I saw your PRs but not analysed them yet.

@PaulSD
Copy link
Copy Markdown
Author

PaulSD commented Dec 26, 2024

(I merged #148 here, since it is necessary to fix the build issues.)

@iamdabe
Copy link
Copy Markdown

iamdabe commented Jan 26, 2025

This looks great! currently running this pr with no issues.

Comment thread src/config-template-card.ts Outdated
Comment thread src/config-template-card.ts Outdated
@gieljnssns
Copy link
Copy Markdown

This looks great! currently running this pr with no issues.

How do you run this PR?

If multiple variables are defined then subsequent variables can
currently reference prior variables using `vars['name']` but not just
`name`.  This enables variables to reference prior variables by name,
like templates can.
Use lit 2.8.0 to match HA frontend version.
@PaulSD
Copy link
Copy Markdown
Author

PaulSD commented Feb 15, 2025

How do you run this PR?

I haven't tested this with HACS, but I think adding https://github.com/PaulSD/config-template-card to HACS as a custom repo should work.

Or you can download https://github.com/PaulSD/config-template-card/releases/download/1.3.6.1/config-template-card.js, manually overwrite the original copy in HA in /config/www/community/config-template-card/config-template-card.js, either update or remove /config/www/community/config-template-card/config-template-card.js.gz, then clear your browser cache.

@PaulSD
Copy link
Copy Markdown
Author

PaulSD commented Feb 15, 2025

Ping @ildar170975

@ildar170975
Copy link
Copy Markdown
Collaborator

@PaulSD
Hi Paul. Sorry for being unavailable. Was very busy... Let's merge it & test together!

@ildar170975 ildar170975 changed the base branch from master to dev February 15, 2025 01:52
@ildar170975 ildar170975 merged commit 8912ee8 into iantrich:dev Feb 15, 2025
@ildar170975
Copy link
Copy Markdown
Collaborator

Merged this to dev (just cloned a base branch). Let's make a pre-release.

@ildar170975
Copy link
Copy Markdown
Collaborator

@PaulSD
Please check #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

entities parameter does not accept variable

7 participants