diff --git a/homeassistant/components/sensor/serial.py b/homeassistant/components/sensor/serial.py index 7bed4b25011..df0f1e21625 100644 --- a/homeassistant/components/sensor/serial.py +++ b/homeassistant/components/sensor/serial.py @@ -113,7 +113,7 @@ class SerialSensor(Entity): return False @property - def state_attributes(self): + def device_state_attributes(self): """Return the attributes of the entity (if any JSON present).""" return self._attributes