mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add docstrings
This commit is contained in:
parent
c6b5a04312
commit
218a05356a
@ -47,6 +47,7 @@ class CpuSpeedSensor(Entity):
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
""" The name of the sensor. """
|
||||
return self._name
|
||||
|
||||
@property
|
||||
@ -56,6 +57,7 @@ class CpuSpeedSensor(Entity):
|
||||
|
||||
@property
|
||||
def unit_of_measurement(self):
|
||||
""" Unit the value is expressed in. """
|
||||
return self._unit_of_measurement
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user