Skip to content

Commit 0d5abd7

Browse files
authored
Merge pull request #69 from sverrham/master
Fix deprecated function, rename to new signature.
2 parents 85654ff + e14d8d1 commit 0d5abd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/airthings_wave/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "airthings_wave",
33
"name": "Airthings Wave",
4-
"version": "3.0.4",
4+
"version": "3.0.5",
55
"documentation": "https://github.com/custom-components/sensor.airthings_wave/",
66
"issue_tracker": "https://github.com/custom-components/sensor.airthings_wave/issues",
77
"dependencies": [],

custom_components/airthings_wave/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def unique_id(self):
260260
return self._name
261261

262262
@property
263-
def device_state_attributes(self):
263+
def extra_state_attributes(self):
264264
"""Return the state attributes of the sensor."""
265265
attributes = self._sensor_specifics.get_extra_attributes(self._state)
266266
try:

0 commit comments

Comments
 (0)