Change to device state attributes (#10536)

* Following the suggestion of @MartinHjelmare
This commit is contained in:
Diogo Gomes authored and Martin Hjelmare committed 2017-11-12 15:25:44 +01:00
1 parent 59e943b3c1
commit bc23799c71
1 file changed
+1 -1
+1 -1
View File
@@ -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