mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Opower: Add gas sensors for utilities that report CCF (#98142)
Add gas sensors for utilities that report CCF
This commit is contained in:
parent
4981eadd31
commit
9a2cb3ad1f
@ -188,7 +188,7 @@ async def async_setup_entry(
|
|||||||
sensors = ELEC_SENSORS
|
sensors = ELEC_SENSORS
|
||||||
elif (
|
elif (
|
||||||
forecast.account.meter_type == MeterType.GAS
|
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
|
sensors = GAS_SENSORS
|
||||||
for sensor in sensors:
|
for sensor in sensors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user