Skip to content

Commit

Permalink
Fix for extra_state_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
korasinski authored Feb 9, 2022
1 parent 9e88c16 commit fe754b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nbp/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def state(self):
return self._ask

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes of this device."""
return {
"bid": self._bid,
Expand Down

0 comments on commit fe754b1

Please sign in to comment.