diff --git a/custom_components/nbp/sensor.py b/custom_components/nbp/sensor.py index 2719af2..cb7303b 100644 --- a/custom_components/nbp/sensor.py +++ b/custom_components/nbp/sensor.py @@ -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,