Thanks for this basic integration. I will try it out with my CGA4236 from SalzburgAG Cablelink.
I tried to search for how to retrieve up- and download statistics from the modem. Do you now an existing API endpoint probably? How did you get the ones used in your script?
Sorry for beeing very late.
I thing it found the code technicolor_cga.py somewhere in the net and tried it.
The rest is a wrapper for HA surrounding this interface.
And you ma find the api calls in the log of the Chrome developer console.