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

Add CCF as another UnitOfMeasure #21

Closed mjrsnyder closed 11 months ago

mjrsnyder commented 11 months ago

This addresses #20

I tested this change using demo.py and it worked fine for me

tronikos commented 11 months ago

Thanks. You also have to update the integration at https://github.com/home-assistant/core/blob/dev/homeassistant/components/opower/sensor.py#L191 to accept THERM or CCF.

tronikos commented 11 months ago

I'm updating the integration myself together with another fix.