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

Commit

Permalink
Fix fan extra attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
vlebourl authored Jun 9, 2022
1 parent d10928e commit 93bc998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/vesync/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def unique_info(self):
def extra_state_attributes(self):
"""Return the state attributes of the fan."""
attr = {}
for k, v in self.smarthumidifier.details.items():
for k, v in self.smartfan.details.items():
if k in VS_TO_HA_ATTRIBUTES:
attr[VS_TO_HA_ATTRIBUTES[k]] = v
elif k in self.state_attributes:
Expand Down

0 comments on commit 93bc998

Please sign in to comment.