svalouch / rctmon

Pulls data from RCT Power GmbH devices for use with monitoring systems.
https://rctmon.readthedocs.io
GNU General Public License v3.0
17 stars 9 forks source link

Remove duplicate handling of battery manager #30

Closed sfudeus closed 1 year ago

sfudeus commented 1 year ago

The battery manager is added on its own to prometheus as a Collection and then called from the collect() function of the device manager. With that, it was collected twice and duplicated metrics. This is supposed to fix #29.