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

[Feature]: set variables for templates #1649

Open
2 tasks done
iAmRenzo opened this issue Feb 16, 2025 · 1 comment
Open
2 tasks done

[Feature]: set variables for templates #1649

iAmRenzo opened this issue Feb 16, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@iAmRenzo
Copy link

Requirements

  • I have updated Mushroom to the latest available version
  • I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?

No

Describe the solution you'd like

I am updating all my default cards to mushroom cards. And I filled in a mushroom template card with all options and I noticed that I entered the sensor name several times in an if-statement.
It would be great if it were possible to set a variable which I could use in the entire card. I know it is possible to do it per field.

Describe alternatives you've considered

No response

Additional context

No response

@iAmRenzo iAmRenzo added the enhancement New feature or request label Feb 16, 2025
@piitaya
Copy link
Owner

piitaya commented Feb 22, 2025

Thank you for the feature request. That's something be can consider for a future update.

BTW, today, the entity variable is available in template. (template doc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants