Skip to content

Commit

Permalink
Merge pull request #12 from youdroid/FIX_ATTR
Browse files Browse the repository at this point in the history
Fix attr
  • Loading branch information
youdroid committed Apr 24, 2022
2 parents 0243c7c + da1e625 commit 9e1fc10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions custom_components/couchpotato/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"domain": "couchpotato",
"name": "couchpotato",
"version": "1.2.1",
"version": "1.2.2",
"documentation": "https://github.com/youdroid/home-assistant-couchpotato",
"requirements": [],
"dependencies": [],
"codeowners": ["@youdroid"]
"codeowners": ["@youdroid"],
"iot_class": "cloud_polling"
}
2 changes: 1 addition & 1 deletion custom_components/couchpotato/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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 9e1fc10

Please sign in to comment.