2015-08-27 08:06:07 +00:00
|
|
|
"""
|
|
|
|
Component that will help guide the user taking its first steps.
|
2015-10-25 14:25:12 +00:00
|
|
|
|
|
|
|
For more details about this component, please refer to the documentation at
|
2015-11-09 12:12:18 +00:00
|
|
|
https://home-assistant.io/components/introduction/
|
2015-08-27 08:06:07 +00:00
|
|
|
"""
|
|
|
|
import logging
|
|
|
|
|
2016-09-30 02:02:22 +00:00
|
|
|
import voluptuous as vol
|
|
|
|
|
2015-08-27 08:06:07 +00:00
|
|
|
DOMAIN = 'introduction'
|
|
|
|
|
2016-09-30 02:02:22 +00:00
|
|
|
CONFIG_SCHEMA = vol.Schema({
|
|
|
|
DOMAIN: vol.Schema({}),
|
|
|
|
}, extra=vol.ALLOW_EXTRA)
|
|
|
|
|
2015-08-27 08:06:07 +00:00
|
|
|
|
|
|
|
def setup(hass, config=None):
|
2016-03-07 17:49:31 +00:00
|
|
|
"""Setup the introduction component."""
|
2015-08-27 08:06:07 +00:00
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
log.info("""
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Hello, and welcome to Home Assistant!
|
|
|
|
|
|
|
|
We'll hope that we can make all your dreams come true.
|
|
|
|
|
|
|
|
Here are some resources to get started:
|
|
|
|
|
|
|
|
- Configuring Home Assistant:
|
2015-10-29 07:23:05 +00:00
|
|
|
https://home-assistant.io/getting-started/configuration/
|
2015-08-27 08:06:07 +00:00
|
|
|
|
|
|
|
- Available components:
|
|
|
|
https://home-assistant.io/components/
|
|
|
|
|
2015-08-31 04:22:05 +00:00
|
|
|
- Troubleshooting your configuration:
|
2015-10-29 07:23:05 +00:00
|
|
|
https://home-assistant.io/getting-started/troubleshooting-configuration/
|
2015-08-31 04:22:05 +00:00
|
|
|
|
|
|
|
- Getting help:
|
|
|
|
https://home-assistant.io/help/
|
2015-08-27 08:06:07 +00:00
|
|
|
|
|
|
|
This message is generated by the introduction component. You can
|
|
|
|
disable it in configuration.yaml.
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
""")
|
|
|
|
|
|
|
|
return True
|