mirror of
https://github.com/micahqcade/custom_vesync.git
synced 2025-02-11 09:39:00 +01:00
fix regression from 0.1.10
This commit is contained in:
parent
c16c311a19
commit
5c15cd671d
@ -59,8 +59,8 @@ async def async_process_devices(hass, manager):
|
|||||||
else:
|
else:
|
||||||
if hasattr(fan, "config_dict"):
|
if hasattr(fan, "config_dict"):
|
||||||
devices[VS_NUMBERS].append(fan)
|
devices[VS_NUMBERS].append(fan)
|
||||||
if "air_quality" in fan.config_dict["features"]:
|
if "air_quality" in fan.config_dict["features"]:
|
||||||
devices[VS_SENSORS].append(fan)
|
devices[VS_SENSORS].append(fan)
|
||||||
devices[VS_SWITCHES].append(fan) # for automatic stop and display
|
devices[VS_SWITCHES].append(fan) # for automatic stop and display
|
||||||
devices[VS_FANS].append(fan)
|
devices[VS_FANS].append(fan)
|
||||||
_LOGGER.info("%d VeSync fans found", len(manager.fans))
|
_LOGGER.info("%d VeSync fans found", len(manager.fans))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user