mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-10 00:30:02 -06:00
2.2 KiB
2.2 KiB
title, description, ha_category, ha_iot_class, ha_release, ha_codeowners, ha_domain, ha_integration_type, ha_config_flow, ha_platforms, ha_quality_scale
| title | description | ha_category | ha_iot_class | ha_release | ha_codeowners | ha_domain | ha_integration_type | ha_config_flow | ha_platforms | ha_quality_scale | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Swing2Sleep Smarla | Instructions on connecting Swing2Sleep Smarla to Home Assistant. |
|
Cloud Push | 2025.6 |
|
smarla | device | true |
|
bronze |
The smarla {% term integration %} 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
- Follow the instructions in the Swing2Sleep app.
- Connect the device to your Wi-Fi network.
- Follow the steps for Configuration until the access token field appears
- In the Swing2Sleep app, generate an access token under Settings.
- Copy the access token and continue with the Configuration.
{% include integrations/config_flow.md %}
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). |
amplitude |
sensor |
Displays the current measured amplitude of the oscillation. |
period |
sensor |
Displays the current measured period of the oscillation. |
activity |
sensor |
Displays the current measured activity level. |
swing_count |
sensor |
Displays the total number of swings. |
Removing the integration
This integration follows standard integration removal.
{% include integrations/remove_device_service.md %}
After deleting the integration, go to the Swing2Sleep app and remove the "Home Assistant" entry under Settings -> Connected devices as well.