mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Update docstrings
This commit is contained in:
parent
6d3f18d094
commit
06cac7f9ef
@ -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…
x
Reference in New Issue
Block a user