mirror of
https://github.com/hikhvar/mqtt2prometheus.git
synced 2026-05-17 22:06:55 +00:00
The device firmware tasmota places the device ID in the middle of the topic path. To support those devices to this commit introduce the device_id_regex configuration. The old behavior of the last element of the topic path is unchanged.