diff --git a/custom_components/lunos/fan.py b/custom_components/lunos/fan.py index a39b14e..722a5f0 100644 --- a/custom_components/lunos/fan.py +++ b/custom_components/lunos/fan.py @@ -274,7 +274,7 @@ def is_on(self) -> bool: return self._speed != SPEED_OFF @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return state attributes.""" return self._attributes