mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Update docstrings
This commit is contained in:
parent
6d3f18d094
commit
06cac7f9ef
@ -1,6 +1,6 @@
|
||||
"""
|
||||
homeassistant.components.rfxtrx
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Connects Home Assistant to a RFXtrx device.
|
||||
|
||||
Configuration:
|
||||
@ -33,7 +33,7 @@ RFXOBJECT = None
|
||||
|
||||
|
||||
def setup(hass, config):
|
||||
""" Setup the Rfxtrx component. """
|
||||
""" Setup the RFXtrx component. """
|
||||
|
||||
# Declare the Handle event
|
||||
def handle_receive(event):
|
||||
@ -76,7 +76,7 @@ def setup(hass, config):
|
||||
|
||||
|
||||
def get_rfx_object(packetid):
|
||||
""" return the RFXObject with the packetid"""
|
||||
""" Return the RFXObject with the packetid. """
|
||||
try:
|
||||
import RFXtrx as rfxtrxmod
|
||||
except ImportError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user