Replies: 1 comment
-
There is a custom card that lets you template anything in a card. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have several petrol stations near me and I show their current gas prices in a gauge. Currently I have to enter what I consider low and high prices manually as min and max. But this changes monthly as prices are not very stable.
Now I have a statistics sensor that calculates min and max over the last two weeks and I wanted to do something like this:
And I understand this doesn't work as lovelace does not allow templating in these attributes. But it would be really useful to also allow sensors/entities as min/max or a single statistics sensor (or other sensor that provides
min_value
andmax_value
).Being able to customize this would also be helpful otherwise as well, like for a temperature sensor that would have different ranges depending on the season.
Beta Was this translation helpful? Give feedback.
All reactions