Getting-started, automation: rename 'service' to 'action' (#33784)

This commit is contained in:
c0ffeeca7 2024-07-16 13:57:39 +02:00 committed by GitHub
parent d931574439
commit 7d2b143fdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,9 +28,8 @@ We're going to create a simple automation to turn on the lights when the sun set
4. Once we have defined our trigger, we need to define what should happen. 4. Once we have defined our trigger, we need to define what should happen.
- Select **Add action**. - Select **Add action**.
- Type `Ser` and select **Call service**
5. Select **Light** > **Turn on** or directly enter `light.turn_on`. 5. Select **Light** > **Turn on** or directly enter `light.turn_on`.
- For this automation, we're going to turn on all lights in the living room, so let's select the **Area**. - For this automation, we're going to turn on all lights in the living room, so under **Targets**, select the **Area**.
- This only works if your lights are assigned to an {% term area %}. - This only works if your lights are assigned to an {% term area %}.
![A new automation with the action set up to turn on the lights in the living room.](/images/getting-started/action.png) ![A new automation with the action set up to turn on the lights in the living room.](/images/getting-started/action.png)