Skip to content

Commit

Permalink
Update 'device_state_attributes' to 'extra_...'
Browse files Browse the repository at this point in the history
  • Loading branch information
mww012 committed Apr 5, 2022
1 parent b1a4ec3 commit 479776c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/infinitive/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def preset_modes(self):
return [PRESET_HOME, PRESET_HOLD]

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
return {
ATTR_CURRENT_HUMIDITY: self._current_humidity,
Expand Down

0 comments on commit 479776c

Please sign in to comment.