mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Getting-started, automation: rename 'service' to 'action' (#33784)
This commit is contained in:
parent
d931574439
commit
7d2b143fdd
@ -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 %}.
|
||||||
|
|
||||||

|

|
||||||
|
Loading…
x
Reference in New Issue
Block a user