Update docstrings
This commit is contained in:
parent
6d3f18d094
commit
06cac7f9ef
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
homeassistant.components.rfxtrx
|
homeassistant.components.rfxtrx
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Connects Home Assistant to a RFXtrx device.
|
Connects Home Assistant to a RFXtrx device.
|
||||||
|
|
||||||
Configuration:
|
Configuration:
|
||||||
|
@ -33,7 +33,7 @@ RFXOBJECT = None
|
||||||
|
|
||||||
|
|
||||||
def setup(hass, config):
|
def setup(hass, config):
|
||||||
""" Setup the Rfxtrx component. """
|
""" Setup the RFXtrx component. """
|
||||||
|
|
||||||
# Declare the Handle event
|
# Declare the Handle event
|
||||||
def handle_receive(event):
|
def handle_receive(event):
|
||||||
|
@ -76,7 +76,7 @@ def setup(hass, config):
|
||||||
|
|
||||||
|
|
||||||
def get_rfx_object(packetid):
|
def get_rfx_object(packetid):
|
||||||
""" return the RFXObject with the packetid"""
|
""" Return the RFXObject with the packetid. """
|
||||||
try:
|
try:
|
||||||
import RFXtrx as rfxtrxmod
|
import RFXtrx as rfxtrxmod
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue