kpetremann / mqtt-exporter

Simple generic MQTT Prometheus exporter for IoT working out of the box
https://hub.docker.com/r/kpetrem/mqtt-exporter
MIT License
103 stars 29 forks source link

Adding support for True/False #14

Closed nanassito closed 2 years ago

nanassito commented 2 years ago

I've got a new device that emits a metric where the value is either of the strings true or false. So I'm adding them to the STATE_VALUES like on/off before.