Feature request: Use templates in all configuration values
See original GitHub issueLove mini-graph-card
!
Forgive me if this has been requested. I’d like to be able to use jinja templates in attribute values to, for example, change the lower_bound
and upper_bound
to be relative to the current value, for example:
type: custom:mini-graph-card
entities:
- entity: sensor.temperature_2
name: Outdoor Temp
lower_bound: "{{ states('sensor.temperature_2') }} - 5 | float }}"
upper_bound: "{{ states('sensor.temperature_2') }} + 5 | float }}"
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Configuring issue templates for your repository - GitHub Docs
Creating issue templates ... Under your repository name, click Settings. ... In the "Features" section, under "Issues," click Set up templates. ... Use...
Read more >Add configurable parameters to templates—Portal for ArcGIS
You can add configurable parameters to templates you've created that allow users to customize the appearance and behavior of your app.
Read more >Defining configuration templates - IBM
In the Values section, complete all fields to set the values for the various states that are applicable to your change management process....
Read more >Feature Request Template | Project.co
Since this template has 'Standard' privacy settings, any of your internal users can access the project and create their own requests, in the...
Read more >Aha! Roadmaps | Create templates for features, activities, and ...
You may use a template like this for all of your requirements. ... To do this, navigate to Settings ⚙️ Workspace Configure Workflow...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still considering this for a few elements (like state, icon, …) for next release; but I’m foreseeing a lot of potential side-effects & complications when adding this to any element inside the graph. Updated the issue for transparency.
Also for color_thresholds: https://github.com/kalkih/mini-graph-card/issues/834