Sensor Prometheus query

I created an Home Assistant sensor for METAR temperatures
Because I use Prometheus and I also wrote an exporter for METAR.
I was inspired by the Home Assistant Command Line Sensor so instead to write code two times I decided to create sensor to use PromQL queries to retrieve Prometheus data.
You can find here

Hope this helps, feel free to fork it


1 Like

Cool. You might like to consider making your component compatible with HACS.