This would simply convent the value of “positive” into a whole and add commas to it. I find it frustrating that we need to create an entire sensor template for this.
what happens when you want to add that to your UI in more than one place? It might be better to have this configurable on each sensor itself without the need to create a template sensor. Maybe in the customize section.
nope, we tried to get it to work for template binary_sensors too, but Balloob heavily opposed that… search for the FR and ye shall find the reasoning behind that.