mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Clean up state_attributes vs device_state_attributes
This commit is contained in:
@@ -54,7 +54,7 @@ class CpuSpeedSensor(Entity):
|
||||
return self._unit_of_measurement
|
||||
|
||||
@property
|
||||
def state_attributes(self):
|
||||
def device_state_attributes(self):
|
||||
""" Returns the state attributes. """
|
||||
if self.info is not None:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user