See https://home-assistant.io/components/sensor.luftdaten/ for an example component using that scheme.