Swing2Sleep Smarla

The smarla integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] enables Home Assistant to integrate Swing2Sleep (Smarla) motorized cradles. This integration will allow you to control your Smarla device.

Requirements

  • Swing2Sleep Smarla device with Version 1.6.X or later.
  • Swing2Sleep app.
  • Internet connectivity.

Registration

  1. Follow the instructions in the Swing2Sleep app.
  2. Connect the device to your Wi-Fi network.
  3. Follow the steps for Configuration until the access token field appears
  4. In the Swing2Sleep app, generate an access token under Settings.
  5. Copy the access token and continue with the Configuration.

Configuration

To add the Swing2Sleep Smarla device to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & Services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select Swing2Sleep Smarla.

  • Follow the instructions on screen to complete the setup.

Entities

This component will set up the following entities:

Entity Platform Description
swing_active switch Turns the cradle’s oscillation on or off.
smart_mode switch Enables or disables automatic intensity control.
intensity number Sets the intensity level (range: 0 to 100).

Removing the integration

This integration follows standard integration removal.

To remove an integration instance from Home Assistant

  1. Go to Settings > Devices & services and select the integration card.
  2. From the list of devices, select the integration instance you want to remove.
  3. Next to the entry, select the three dots menu. Then, select Delete.

After deleting the integration, go to the Swing2Sleep app and remove the “Home Assistant” entry under Settings -> Connected devices as well.