Influxdb sensor get value and time

Hi, i am successfully able to get the influxdb sensor working and showing values in home assistant with the following code:

  queries:
    - name: min temp value
      unit_of_measurement: °C
      value_template: '{{ value }}'
      group_function: min
      where: '"name" = ''outside'''
      measurement: '"°C"'
      field: value
      database: weather

but how do i get the time when the value occurred together with the value?

1 Like

mrkrabs, were you able to figure out a solution?

I’m also just looking for a solution. Anyone have an idea?