Do I need to know how to code to use Home Assistant?

No. Home Assistant is designed to be used without writing any code.

A lot of older articles and forum posts you may run into describe a time when this was different. In its early years, Home Assistant really did require some technical comfort and a willingness to edit configuration files. That has changed: today, almost everything is done through the user interface.

Adding integrationsIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more], building dashboards, and creating automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] are all done through the user interface, with menus, forms, and drag and drop. Most people never need to open a configuration file.

YAMLYAML is a human-readable data serialization language. It is used to store and transmit data in a structured format. In Home Assistant, YAML is used for configuration, for example in the configuration.yaml or automations.yaml files. [Learn more] is available as an optional power-user feature for fine-grained control over complex setups, but it is not required to get a fully working smart home.

Learn more: