Update docstring (config file) and attempt to honor PEP0257
This commit is contained in:
parent
78a555faf5
commit
914a6dff5e
20 changed files with 52 additions and 67 deletions
|
@ -6,6 +6,9 @@ supported.
|
|||
|
||||
Configuration:
|
||||
|
||||
To use the arduino sensor you will need to add something like the following
|
||||
to your configuration.yaml file.
|
||||
|
||||
sensor:
|
||||
platform: arduino
|
||||
pins:
|
||||
|
@ -46,7 +49,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
""" Sets up the Arduino platform. """
|
||||
|
||||
# Verify that Arduino board is present
|
||||
# Verify that the Arduino board is present
|
||||
if arduino.BOARD is None:
|
||||
_LOGGER.error('A connection has not been made to the Arduino board.')
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue