Skip to content

Commit

Permalink
Rename deprecated device_state_attributes to extra_state_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Mamontov committed Dec 16, 2021
1 parent b4bb150 commit c45cdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/miwifi/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def available(self) -> bool:
return self._available

@property
def device_state_attributes(self) -> dict:
def extra_state_attributes(self) -> dict:
return {
"mac": self._mac,
"ip": self._device["ip"],
Expand Down

0 comments on commit c45cdc5

Please sign in to comment.