Skip to content

Commit

Permalink
Updating state attributes to match new home assistant rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgoepp committed Dec 12, 2021
1 parent d7aa06c commit 04df1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/kumo/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def _update_defrost(self):
self._defrost = defrost

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes of the device."""
attr = {}
if self._battery_percent is not None:
Expand Down

0 comments on commit 04df1cf

Please sign in to comment.