Update code

This commit is contained in:
Fabian Affolter 2017-04-30 23:11:34 +02:00
parent 3bef0ad30f
commit 07112d8772
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
4 changed files with 18 additions and 18 deletions

View file

@ -82,7 +82,7 @@ CONF_TEXT = 'text'
DEFAULT_TEXT = 'No text!'
def setup(hass, config):
"""Setup the Hello State component. """
"""Set up the Hello State component. """
# Get the text from the configuration. Use DEFAULT_TEXT if no name is provided.
text = config[DOMAIN].get(CONF_TEXT, DEFAULT_TEXT)