I’ve dug into this a bit more. There are two issues.
- Output from this integration does not show up in http://homeAssistant:8123/developer-tools/statistics
That is because the integration doesn’t set the State Class for Long Term statistics. The API has daily (which from my two days of testing appears to update near-real time), Monthly (appears to update the next day) and yearly (appears to update the next day). So to make this most useful, the integration should probably add state class for the daily count with total and last_reset of daily; It could also do total with last reset for monthly and the same for yearly. Since the Stream Labs isn’t a true meter that never resets, like a real physical water meter, I don’t think total_increasing is appropriate.
I worked around this by creating an Utility Meter sensor helper integration that resets daily. That appears in Statistics as gal.
That brings us to issue 2, which I don’t think is related to this integration.
- Statistics with gal don’t appear in the Energy Dashboard. This does not appear to be unique to StreamLabs. There are other posts on this. I found this one: WTH do we have Energy dashboard and no Water dashboard? - #52 by prubin100 and created a template sensor to convert gal to cubic feet and that now shows in the water dashboard.