Skip to content

Commit

Permalink
Merge pull request #69 from sverrham/master
Browse files Browse the repository at this point in the history
Fix deprecated function, rename to new signature.
  • Loading branch information
sverrham authored Dec 13, 2021
2 parents 85654ff + e14d8d1 commit 0d5abd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/airthings_wave/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "airthings_wave",
"name": "Airthings Wave",
"version": "3.0.4",
"version": "3.0.5",
"documentation": "https://github.com/custom-components/sensor.airthings_wave/",
"issue_tracker": "https://github.com/custom-components/sensor.airthings_wave/issues",
"dependencies": [],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/airthings_wave/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def unique_id(self):
return self._name

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes of the sensor."""
attributes = self._sensor_specifics.get_extra_attributes(self._state)
try:
Expand Down

0 comments on commit 0d5abd7

Please sign in to comment.