Skip to content

Commit

Permalink
Merge pull request #94 from HomeAssistant-Mods/dev
Browse files Browse the repository at this point in the history
fixing home assistant error
  • Loading branch information
kloknibor authored Jan 6, 2022
2 parents aaaf112 + 0a625c9 commit 1ac1b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/miele/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def state(self):
return result

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Attributes."""

result = {}
Expand Down
2 changes: 1 addition & 1 deletion custom_components/miele/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def state(self):
return result

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Attributes."""
device_state = self._device["state"]

Expand Down

0 comments on commit 1ac1b91

Please sign in to comment.