InfluxDB and light brightness level not set when state is off

Hi all - my first post, so excuse if not in the correct category or like… :slight_smile:

I’ve just started playing around with Home Assistant and InfluxDB/Grafana, and was wondering if it is possible to have HomeAssistant to set the brigtness of a light to 0, when it is off?

Right now, when a dimmable light is off, the brigtness is NOT set (i.e. null) in the InfluxDB entry for the timestamp, leaving my Grafana dashboard reporting wrong measurements, as I need to use fill(previous) to make anything work in the first place… It is also possible to that it can be handled in Grafana?

Also, I saw another topic about periodic updates for influx, but no resolution for that yet - anyone who knows if there is work being done there?

Thank you all

Best regards, Bo Urskov

Did you ever figure this out? I just setup influxdb and grafana and was wanting to do the same thing.