Update docstrings

This commit is contained in:
Fabian Affolter 2015-10-08 11:08:32 +02:00
parent 6d3f18d094
commit 06cac7f9ef

View file

@ -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: