Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Rename deprecated device_state_attributes to extra_state_attributes for 2021.12 onwards #77

Merged
merged 1 commit into from
Feb 20, 2022
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/authenticated/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def icon(self):
return "mdi:lock-alert"

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return attributes for the sensor."""
if self.last_ip is None:
return None
Expand Down