Opower: Add gas sensors for utilities that report CCF (#98142)

Add gas sensors for utilities that report CCF
This commit is contained in:
tronikos
2023-08-10 07:49:23 -07:00
committed by GitHub
parent 4981eadd31
commit 9a2cb3ad1f

View File

@@ -188,7 +188,7 @@ async def async_setup_entry(
sensors = ELEC_SENSORS
elif (
forecast.account.meter_type == MeterType.GAS
and forecast.unit_of_measure == UnitOfMeasure.THERM
and forecast.unit_of_measure in [UnitOfMeasure.THERM, UnitOfMeasure.CCF]
):
sensors = GAS_SENSORS
for sensor in sensors: