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

Automatically determine oPower subdomain for PEPCO and Delmarva #23

Closed trancefam closed 11 months ago

trancefam commented 11 months ago

Fixes #14

Add functionality to automatically determine subdomain in exelon.py base class. Exelon utilities that do not need this override it in their derived class. Those that do need it (PEPCO and Delmarva), use the default base class functionality.

I have tested & confirmed this works with PEPCO.

ronaldheft commented 11 months ago

I can give this a review tomorrow and ensure it works for Pepco MD.

ronaldheft commented 11 months ago

Functionality-wise, this worked great with my Pepco MD account. My old DC address is not the active account and is 4+ years old, so I was not able to test with a DC address.

tronikos commented 11 months ago

Can you please confirm this still works correctly after https://github.com/tronikos/opower/pull/25?

trancefam commented 11 months ago

Yes it does.