Is there a way to make sure that the output of a template sensor is not in scientific notation? I have the following sensor which simply displays the timestamp of the current day at midnight:
Wow, didn’t think it would be as simple as that… Thanks!
I’m using nanoseconds for the timestamp because using the “write data” function in Home Assistant’s InfluxDB add-on’s Chronograf interface only accepts timestamps in nanoseconds for some reason. Seconds won’t work for me, and I plan on writing specific data to my database every day (manually), so having the timestamp ready to go makes it much easier.