I have a CoZir CO2 sensor.
It outputs data in plane ASCII “Z 01234 z 01234”
Arduino is known but YAML is completly new for me.
How Do I use the CoZir library? integrate it? I am lost here.
I have read this: https://esphome.io/components/sensor/custom.html
Including the Cozir lib in esphome does work… I see it being fetched while compiling:
https://platformio.org/lib/show/1328/Cozir
But when I open the arduino example, all is clear. UART configuration is done there.
But how do I configure the UART in esphome (yaml)? I can not seem to get it (just yet)