TM1621 display driver is similar to HT1621?

I’m looking for use a simple 8digit display PDC 6X1 that use an HT1621 lcd driver. Esphome currently integrate the tm1621 display of sonoff; i “try” to connect my display instead because the ic seem the same produced by another manufacturer but no result.
I would like to be able to convert the sources written for arduino into an esphome component, or at least modify those of the tm1621 into an external component, but it’s not really “easy”. Does anyone have a simple idea to achieve the goal? Thank you.