Skip to content

Commit 60fb3fd

Browse files
authored
'device_state_attributes' is now deprecated (custom-components#48)
1 parent 7c0b795 commit 60fb3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/youtube/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def icon(self):
118118
return ICON
119119

120120
@property
121-
def device_state_attributes(self):
121+
def extra_state_attributes(self):
122122
"""Attributes."""
123123
return {'url': self.url,
124124
'published': self.published,

0 commit comments

Comments
 (0)