jbouwh / omnikdatalogger

Datalogger for Omnik solar power inverters with DSMR integration and output to Home Assistant, PVOUTPUT, InfluxDB and MQTT
https://jbsoft.nl/site/omnik-datalogger/
GNU General Public License v3.0
11 stars 3 forks source link

Add Support for new state_classes (MQTT) #5

Closed jbouwh closed 3 years ago

jbouwh commented 3 years ago

With the support of new state_class total_increasing (https://github.com/home-assistant/core/pull/54523/files) the use of last_reset is deprecated. Support will be removed with Home assistant v 2021.11.

From 2021.9 this new situation will be effective. This PR is to be merged after this new release.

Additional with this new release gas consumption can be monitored. But this requires the gas unit to be altered from m3 to m³. This will not impact Influxdb logging because gas is used as measurement name. So changing the unit will not cause that old meaurements get isolated from new ones.

github-actions[bot] commented 3 years ago

🎉 HACS repository validator action summary 🎉 ✅ The repository is not archived ✅ hacs.json has the 'name' key set ✅ The repository has a description ✅ The repository has topics ✅ The repository has issues enabled ✅ This day ends with an 'y' (Thursday) ✅ info.md exists ✅ HACS load check

jbouwh commented 3 years ago

Rebased with main