sfudeus/homematic_exporter

Delete old devices

Opened this issue · 3 comments

One of my smoke sensors is broken, therefore I replaced it with another device. In the exporter it still shows the device as reporting smoke. In the CCU Gui the device is not listed anymore because I removed it.

Thanks for the feedback, and it is true. Currently there is no mechanism during runtime to remove previously registered metrics.
I'll keep this issue open for the time being to eventually fix this, the obvious workaround is the restart of the exporter.

This would be solved by this commit e434a20, which is part of this PR #59.

Correction: Better solution presented in 1a9307a, still part of #59.