Update docstring (config file) and attempt to honor PEP0257
This commit is contained in:
1 parent
78a555faf5
commit
914a6dff5e
20 files changed
+52
-67
No files matched your search
@@ -4,10 +4,9 @@ homeassistant.components.sensor.rfxtrx
|
||||
Shows sensor values from RFXtrx sensors.
|
||||
|
||||
Configuration:
|
||||
To use the rfxtrx sensors you will need to add something like the following to
|
||||
your config/configuration.yaml
|
||||
|
||||
Example:
|
||||
To use the rfxtrx sensors you will need to add something like the following to
|
||||
your configuration.yaml file.
|
||||
|
||||
sensor:
|
||||
platform: rfxtrx
|
||||
@@ -102,4 +101,5 @@ class RfxtrxSensor(Entity):
|
||||
|
||||
@property
|
||||
def unit_of_measurement(self):
|
||||
""" Unit this state is expressed in. """
|
||||
return self._unit_of_measurement
|
||||
Reference in new issue
Block a user