Sending one-wire information to InfluxDB

I’ve been running a Python script to save temperature data from a DS18B20 temperature sensor to a database by reading /sys/bus/w1/devices/28*/w1_slave
Now I’m trying to send that data, via Telegraf, to InfluxDB, but from what I’ve read - Telegraf [inputs.temp] plugin on Raspberry Pi - the [inputs.temp] tag in the config works.
Is there an update to the documentation - Telegraf Documentation - saying how to get Telegraf to see the sensor?

That document is for CPU temperature from the device, not from sensor.

As @suyash wrote, this plugin is for the system temperature, not for any sensor.
Since you’re already using Python to read the sensor’s data, you can directly write that data into InfluxDB via the InfluxDB API. Use python’s requests library.