Skip to content

Commit 1287a08

Browse files
committed
Migrate from device_state_attributes to extra_state_attributes
1 parent 83c0930 commit 1287a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/dahua/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def device_info(self):
3232
}
3333

3434
@property
35-
def device_state_attributes(self):
35+
def extra_state_attributes(self):
3636
"""Return the state attributes."""
3737
return {
3838
"attribution": ATTRIBUTION,

0 commit comments

Comments
 (0)