Update code
This commit is contained in:
parent
3bef0ad30f
commit
07112d8772
4 changed files with 18 additions and 18 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue