Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Commit

Permalink
Fix for device_state_attributes warnings
Browse files Browse the repository at this point in the history
Fix device state attribute warnings that began in 2021.12.0b
  • Loading branch information
covid10 authored Dec 10, 2021
1 parent 99450c8 commit 0f99a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/deepstack_object/image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def should_poll(self):
return False

@property
def device_state_attributes(self) -> Dict:
def extra_state_attributes(self) -> Dict:
"""Return device specific state attributes."""
attr = {}
attr["targets"] = self._targets
Expand Down

0 comments on commit 0f99a8c

Please sign in to comment.