diff --git a/docs/assets/button-toggles-room-light-action-example.gif b/docs/assets/button-toggles-room-light-action-example.gif new file mode 100644 index 0000000000..3143f13e97 Binary files /dev/null and b/docs/assets/button-toggles-room-light-action-example.gif differ diff --git a/docs/assets/button-toggles-room-light-hass-automation-example.gif b/docs/assets/button-toggles-room-light-hass-automation-example.gif new file mode 100644 index 0000000000..88bf5737ca Binary files /dev/null and b/docs/assets/button-toggles-room-light-hass-automation-example.gif differ diff --git a/docs/assets/button-toggles-room-light-name-and-save.gif b/docs/assets/button-toggles-room-light-name-and-save.gif new file mode 100644 index 0000000000..4b35124dc0 Binary files /dev/null and b/docs/assets/button-toggles-room-light-name-and-save.gif differ diff --git a/docs/products/ESPHome-Starter-Kit/everyday-use/button-toggles-room-light.md b/docs/products/ESPHome-Starter-Kit/everyday-use/button-toggles-room-light.md index 23ab90638a..e6d074549d 100644 --- a/docs/products/ESPHome-Starter-Kit/everyday-use/button-toggles-room-light.md +++ b/docs/products/ESPHome-Starter-Kit/everyday-use/button-toggles-room-light.md @@ -8,7 +8,7 @@ description: >- Difficulty: Level 1 -The Starter Kit's button already controls the kit's own RGB LEDs in [Button Controlled LEDs](../automations/button-controlled-leds.md). This tutorial takes it further: pressing the button fires a **Home Assistant automation** that toggles any light in your home. Same physical button, but now it reaches across your whole house. +This is an alternative way to use the Starter Kit's button. Instead of toggling the kit's own RGB LEDs on the device, the button fires a **Home Assistant automation** that toggles any light in your home. Same physical button, but now it can target any entity or fire any script or scene in Home Assistant. It's one or the other, though: if you've already built the on-device [Button Controlled LEDs](../automations/button-controlled-leds.md) automation, remove it in ESPHome Device Builder first, otherwise a single press toggles both the kit's RGB LEDs and your room light. !!! note "Before you start" @@ -18,42 +18,41 @@ The Starter Kit's button already controls the kit's own RGB LEDs in [Button Cont * [Adding the Button Module](../modules/button-module.md) to wire up the input. * [Connect to Home Assistant](../tutorials/connect-to-home-assistant.md) to bring the device's entities into HA. -## Find your button entity - -The Button module shows up in Home Assistant as a binary sensor. You need its entity ID before building the automation. - -1. Open [Settings → Devices & services → ESPHome](https://my.home-assistant.io/redirect/integration/?domain=esphome) in Home Assistant. -2. Click your Starter Kit device. -3. Under **Entities**, look for a binary sensor named **Button Module**. Click it to open the entity detail, then note the entity ID shown near the top of the dialog - it will look something like `binary_sensor.esphome_starter_kit_button_module`. Keep that ID handy. - ## Build the automation 1. Open [Settings → Automations & scenes](https://my.home-assistant.io/redirect/automations/) in Home Assistant. 2. Click **+ Create automation** in the bottom right, then choose **Create new automation**. -3. Under **Triggers**, click **+ Add trigger** and choose **Entity → State**. +3. Under **Triggers**, click **+ Add trigger**, type `state`, and choose **State**.