old_contents: """
  Component that will help guide the user taking its first steps.
  
  For more details about this component, please refer to the documentation at
  https://home-assistant.io/components/introduction/
  """
  import logging
  
  import voluptuous as vol
  
  DOMAIN = 'introduction'
  
  CONFIG_SCHEMA = vol.Schema({
      DOMAIN: vol.Schema({}),
  }, extra=vol.ALLOW_EXTRA)
  
  
  def setup(hass, config=None):
      """Set up the introduction component."""
      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:
             https://home-assistant.io/getting-started/configuration/
  
           - Available components:
             https://home-assistant.io/components/
  
           - Troubleshooting your configuration:
             https://home-assistant.io/getting-started/troubleshooting-configuration/
  
           - Getting help:
             https://home-assistant.io/help/
  
          This message is generated by the introduction component. You can
          disable it in configuration.yaml.
  
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      """)
  
      return True
  
new_contents: """
  Component that will help guide the user taking its first steps.
  
  For more details about this component, please refer to the documentation at
  https://home-assistant.io/components/introduction/
  """
  import asyncio
  import logging
  
  import voluptuous as vol
  
  DOMAIN = 'introduction'
  
  CONFIG_SCHEMA = vol.Schema({
      DOMAIN: vol.Schema({}),
  }, extra=vol.ALLOW_EXTRA)
  
  
  @asyncio.coroutine
  def async_setup(hass, config=None):
      """Set up the introduction component."""
      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:
             https://home-assistant.io/getting-started/configuration/
  
           - Available components:
             https://home-assistant.io/components/
  
           - Troubleshooting your configuration:
             https://home-assistant.io/getting-started/troubleshooting-configuration/
  
           - Getting help:
             https://home-assistant.io/help/
  
          This message is generated by the introduction component. You can
          disable it in configuration.yaml.
  
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      """)
  
      hass.components.persistent_notification.async_create("""
  Here are some resources to get started:
  
   - [Configuring Home Assistant](https://home-assistant.io/getting-started/configuration/)
   - [Available components](https://home-assistant.io/components/)
   - [Troubleshooting your configuration](https://home-assistant.io/docs/configuration/troubleshooting/)
   - [Getting help](https://home-assistant.io/help/)
  
  To not see this card popup in the future, edit your config in
  `configuration.yaml` and disable the `introduction` component.
  """, 'Welcome Home!')  # noqa
  
      return True
  
subject: Change introduction card to use persistent notification (#10265)