How to Install Smart Life Integration (Beta)

Last Updated on : 2024-03-20 07:15:05download

This topic describes how to install and use the Smart Life integration for Home Assistant.

The Smart Life integration is currently a beta version. If you find a bug or have a suggestion, please open an issue on GitHub to let us know.

Prerequisites

You have installed Home Assistant on Docker Desktop.

For more information about installing Home Assistant on Docker, see the official guide.

How to Install Smart Life Integration (Beta)

Step 1: Install Smart Life integration

Copy the Smart Life integration to the Home Assistant configuration directory.

Run Home Assistant. Enter localhost:8123 into the address bar in your browser and hit Enter to connect to Home Assistant.

Option 1: Copy method

  1. Download the GitHub repository tuya-smart-life.

  2. Unzip it and copy the custom_components/smartlife folder to the Home Assistant configuration directory, for example, ~/homeassistant.

    How to Install Smart Life Integration (Beta)
  3. From the sidebar, choose Settings > Devices & Services > Integrations. Click Add Integration, search for smartlife, and install.

    How to Install Smart Life Integration (Beta)

Option 2: HACS installation

  1. See HACS Official Installation Guide and install HACS.

  2. See Initial Configuration Guide and complete the initial configuration.

  3. Restart Home Assistant. Choose HACS > Integrations > > Custom repositories.

    How to Install Smart Life Integration (Beta)
  4. Enter https://github.com/tuya/tuya-smart-life in the address bar. Select Integration from the Category list and click ADD.

    How to Install Smart Life Integration (Beta)
  5. In the dialog box that appears, click INSTALL.

Step 2: Configure Smart Life integration

  1. Install the Tuya Smart or Smart Life app on your phone.

  2. Open the app and tap Me > Setting > Account and Security > User Code.

    How to Install Smart Life Integration (Beta)
  3. Enter the User Code in the Smart Life integration and click Submit.

    How to Install Smart Life Integration (Beta)
  4. Scan the QR code using the app and tap Confirm login.

    How to Install Smart Life Integration (Beta) How to Install Smart Life Integration (Beta) How to Install Smart Life Integration (Beta)
  5. Click Submit to close the dialog box.

    How to Install Smart Life Integration (Beta)
  6. All the devices under your Smart Life app account should appear in the Home Assistant device list.

    How to Install Smart Life Integration (Beta)
  7. On the Overview dashboard, you can view and control devices.

    How to Install Smart Life Integration (Beta)