Clean up state_attributes vs device_state_attributes

This commit is contained in:
Paulus Schoutsen committed 2016-02-06 22:34:24 -08:00
1 parent 681b84e1bd
commit f08b77dc4c
23 files changed
+66 -138

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ class YrSensor(Entity):
return self._state
@property
def state_attributes(self):
def device_state_attributes(self):
""" Returns state attributes. """
data = {
'about': "Weather forecast from yr.no, delivered by the"