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

Fix for device_state_attributes warnings #261

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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