Skip to content

Commit

Permalink
fix: update deprecated device_state_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealWaldo committed May 13, 2022
1 parent 163c0bd commit 5fb5061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/optimal_humidity/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def available(self):
return self._available

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
if self._is_metric:
return {
Expand Down

0 comments on commit 5fb5061

Please sign in to comment.