Custom Sensor configuration problem

Hey I am also making some individual library using 4-20mA current loop receiver with thermocople sensor interface with particle photon, But what is the best way to use my library with home assistant, I am new to this and its my first experiment to add the library in home assistant, Your suggestion will be very helpful

I’m also keen to find a solution to hooking an ADC directly to the I2C pins on the RPi GPIO. There are a number of ADC’s available such as the 16 bit ADS1115 or the 24 bit ADS1232 or even the 32 bit ADS1262 depending on the accuracy you are looking for. All of these devices have python libraries. Can anyone (@barcesat in particular) help me integrate these libraries into a Home Assistant “custom component”?

Thanks in advance!