Skip to content

Commit

Permalink
Update entity.py (#11)
Browse files Browse the repository at this point in the history
-Update to "extra_state_attribute" per HA warning.
  • Loading branch information
njobrien1006 authored and sebirdman committed Dec 29, 2021
1 parent 1cc032c commit e02ccb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/traeger/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def device_info(self):
}

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
return {
"attribution": ATTRIBUTION,
Expand Down

0 comments on commit e02ccb1

Please sign in to comment.