datenschuft / SMA-EM

SMA Energymeter measurement
GNU General Public License v2.0
93 stars 38 forks source link

fix InfluxDB type errors #58

Closed sellth closed 3 years ago

sellth commented 3 years ago

We probably don't need this default value of 0 and let it default to None if no value can be queried. In fact, this can lead to InfluxDB type errors if the first inverter queried returns no value for a float field.

Additional testing appreciated.