Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Elbers committed Mar 7, 2022
1 parent 928e02b commit 7cd6706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/weatherrating/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def state(self):
return self._state

@property
def device_state_attributes(self):
def extra_state_attributes(self):
# Return the state attributes.
return self._attributes

Expand Down

0 comments on commit 7cd6706

Please sign in to comment.