Write value to InfluxDB

Hi
because this recent thread I opened helps you, I had the same challenge, using a template sensor with an addtional attribute based on now()

My sample updates automatically every 5 minutes to keep the query in Grafana happy.

Armin