Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix regression from 0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
vlebourl authored Jul 12, 2022
1 parent c16c311 commit 5c15cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/vesync/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ async def async_process_devices(hass, manager):
else:
if hasattr(fan, "config_dict"):
devices[VS_NUMBERS].append(fan)
if "air_quality" in fan.config_dict["features"]:
devices[VS_SENSORS].append(fan)
if "air_quality" in fan.config_dict["features"]:
devices[VS_SENSORS].append(fan)
devices[VS_SWITCHES].append(fan) # for automatic stop and display
devices[VS_FANS].append(fan)
_LOGGER.info("%d VeSync fans found", len(manager.fans))
Expand Down

0 comments on commit 5c15cd6

Please sign in to comment.