Hey there. I’m curious if and how it is possible to create a custom display precision value for a sensor. I’m not able to figure it out with the other existing topics.
I have 10 gas station sensors from my area. These are listed at 1,969€, for example. The 9 at the end is unimportant. The problem is that the price can only be rounded up with the automatic options of Home Assistant. But I want that the number is simply truncated and 1.96€ comes out.
I know that the template must look like this: "{{value | round(2, 'floor')}}"
I tried to put it in customize.yaml as value_template, but that doesn’t work.