home-assistant.io/source/getting-started/configuration.markdown
Ville Skyttä 301edb9bd2 Home Assistant etc spelling consistency fixes (#11637)
* Be consistent with Home Assistant spelling

* Refer to the Configurator without "HASS"

That's what's it calls itself and how it is in the add-on store.

* Be consistent with Hass.io spelling

* Tell vscode to spell HassOS like that
2020-01-05 12:44:21 +01:00

4.4 KiB

title description
Advanced Configuration Instructions to get Home Assistant configured.

The onboarding process takes care of the initial setup for Home Assistant, such as naming your home and selecting your location. After initial onboarding, these options can be changed in the user interface by clicking on Configuration in the sidebar and clicking on General, or by manually editing them in the Home Assistant configuration file called configuration.yaml. This section will explain how to do the latter.

The steps below only apply if you've installed Home Assistant via Hass.io. If you've used another installation method, see here.

We are going to help you make your first changes to configuration.yaml. To do this, we are going to install an add-on from the Hass.io add-on store: the Configurator. To get to the add-on store, click on the menu icon in the top left, then click on Hass.io. On the new page, open the add-on store tab.

From the Hass.io main panel, open the add-on store.

Under the "Core" section you will find Configurator.

  • Click on Configurator and click on INSTALL. When installation is complete, the UI will go to the add-on details page for the configurator.
  • Now start the add-on by clicking on START.
  • Open the user interface by clicking on OPEN WEB UI.

Now let's make a change using the configurator: we are going to change the name, location, unit system, and time zone of your Home Assistant installation.

  • Click the folder icon in the top left of the configurator window to open the file browser sidebar.
  • Click the configuration.yaml file (in the /config/ folder) to load it into the main Configurator edit window.
  • Add the following to this file (preferably at the very top, but it ultimately doesn't matter):
    homeassistant:
      name: Home
      latitude: xx.xxxx
      longitude: xx.xxxx
      unit_system: imperial
      time_zone: America/Chicago

Valid options for unit_system are imperial or metric. See here for a list of valid time zones. Enter the appropriate option found under the Time Zone column at that page.

  • Click the save icon in the top right to commit changes.
  • Most changes in configuration.yaml require Home Assistant to be restarted to see the changes. You can verify that your changes are acceptable by running a config check. Do this by clicking on Configuration in the sidebar, click on "Server Control" and click on the CHECK CONFIG button. When it's valid, it will show the text "Configuration valid!"
  • Now Restart Home Assistant using the RESTART button in the Server management section on the same page. In order for "Check Config" to be visible, you must enable "Advanced Mode" on your user profile.

Screenshot of the "General" page in the configuration panel.

If you have watched any videos about setting up Home Assistant using configuration.yaml (particularly ones that are old), you might notice your default configuration file is much smaller than what the videos show. Don't be concerned, you haven't done anything wrong. Many items in the default configuration files shown in those old videos are now included in the default_config: line that you see in your configuration file. See here for more information on what's included in that line.

Editing config via Samba/Windows Networking

Maybe you are not a big fan of our web editor and want to use a text editor on your computer instead. This is possible by sharing the configuration over the network using the Samba add-on, which can also be installed from the Hass.io add-on store. This will make your configuration accessible via the network tab on your computer.

Go to the add-on store and look for Samba in the core section. After you have installed the add-on, click on START. Hass.io should now be available in the networking tab on your computer.

We suggest that to edit configuration.yaml, you use the free text editor Visual Studio Code in combination with the Home Assistant Config Helper extension.