tronikos / opower

A Python library for getting historical and forecasted usage/cost from utilities that use opower.com such as PG&E
Apache License 2.0
54 stars 49 forks source link

Support for Pepco (MD,DC) #3

Closed ronaldheft closed 1 year ago

ronaldheft commented 1 year ago

Was extremely easy to add! Thanks for making this library.

tronikos commented 1 year ago

I refactored the code to avoid duplicate code. There is now the Exelon base class and I was able to add support for all Exelon subsidiaries. Each subsidiary only needs to define the opower.com subdomain (I was able to get it for all of them via the GetConfiguration endpoint) and the domain that hosts the login page. Thanks!

ronaldheft commented 1 year ago

@tronikos Awesome! I pulled down the HACS integration and verified all is working with Pepco. Thanks again!

tronikos commented 11 months ago

Could you please take a look at https://github.com/tronikos/opower/issues/14 ?

ronaldheft commented 11 months ago

@tronikos Happy to take a look this evening after work.