mirror of
https://github.com/micahqcade/custom_vesync.git
synced 2025-03-13 08:10:06 +01:00
Fix fan extra attributes
This commit is contained in:
parent
d10928ecca
commit
93bc998342
@ -114,7 +114,7 @@ class VeSyncFanHA(VeSyncDevice, FanEntity):
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user