Skip to content

Commit

Permalink
Merge branch 'release/0.6.15'
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Dec 18, 2021
2 parents 199ea15 + 8ef70a7 commit fc6808f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions custom_components/xiaomi_miio_airpurifier/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def available(self):
return self._available

@property
def device_state_attributes(self):
"""Return the state attributes of the device."""
def extra_state_attributes(self):
"""Return the extra state attributes of the device."""
return self._state_attrs

@property
Expand Down
4 changes: 2 additions & 2 deletions custom_components/xiaomi_miio_airpurifier/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,8 @@ def available(self):
return self._available

@property
def device_state_attributes(self):
"""Return the state attributes of the device."""
def extra_state_attributes(self):
"""Return the extra state attributes of the device."""
return self._state_attrs

@property
Expand Down

0 comments on commit fc6808f

Please sign in to comment.