Skip to content

Commit

Permalink
Update for device_state warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff committed Jan 9, 2022
1 parent 215d2a1 commit 254b508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/medusa/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"documentation": "https://github.com/IDmedia/hass-medusa",
"requirements": [],
"dependencies": [],
"version": "1.0.0",
"version": "1.0.1",
"codeowners": [
"@IDmedia"
]
Expand Down
2 changes: 1 addition & 1 deletion custom_components/medusa/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def state(self):
return self._state

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
return self.data

Expand Down

0 comments on commit 254b508

Please sign in to comment.