Hello! I want to get my water usage from my local utility, SFPUC, but haven't found any existing integration. So I decided to try to contribute back to the community and code it up myself. I already have code to pull data using SFPUC's API, and I started following the HA Dev Docs on creating a new integration.
My goals are to get historical data on integration setup, and then update regularly afterwards to pull latest data. However, I'm feeling a bit stuck as to how exactly I can put everything together. Right now on HA Dev environment, I managed to add the integration, log in successfully to SFPUC, pull data (a dictionary with format {datetime(): gallons, e.g., {datetime.datetime(2024, 9, 20, 23, 0): 1.5, other_time: 2.0}). However, it only writes the latest value at current time in the sensor sensor.sfpuc_water_usage.
The dev docs mentioned the #devs_core-archived channel for questions, but it seems like this is archived... Is this the right place to ask for advice now?
Thanks!