Skip to content

Commit

Permalink
Fix device_state_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsaxon committed Feb 22, 2022
1 parent 245658b commit 9c75a8a
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 9c75a8a

Please sign in to comment.