Skip to content

Commit

Permalink
Merge pull request #49 from mattsaxon/issue#47
Browse files Browse the repository at this point in the history
Fix device_state_attributes
  • Loading branch information
tahvane1 authored Feb 23, 2022
2 parents 2148b6a + 9c75a8a commit 50cbe1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/jablotron80/jablotronHA.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def device_info(self) -> Optional[Dict[str, Any]]:


@property
def device_state_attributes(self) -> Optional[Dict[str, Any]]:
def extra_state_attributes(self) -> Optional[Dict[str, Any]]:
attr ={}
if not self._object is None and not self._object.type is None:
if self._object.type in DEVICES:
Expand Down

0 comments on commit 50cbe1f

Please sign in to comment.