mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Automation editor: update to reflect current SW (#34039)
This commit is contained in:
parent
a89c883806
commit
e73f0e8c26
@ -23,7 +23,7 @@ This tutorial uses the [Random sensor](/integrations/random#sensor) because it g
|
|||||||
4. Enter the trigger conditions:
|
4. Enter the trigger conditions:
|
||||||
- Define the sensor: Under **Entity**, enter "sensor.random_sensor".
|
- Define the sensor: Under **Entity**, enter "sensor.random_sensor".
|
||||||
- If the sensor value is above 10, we want the automation to trigger.
|
- If the sensor value is above 10, we want the automation to trigger.
|
||||||
- In the **Above**, field, enter "10".
|
- In the **Above** field, enter "10".
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -32,22 +32,18 @@ This tutorial uses the [Random sensor](/integrations/random#sensor) because it g
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
6. Select **Call service**.
|
6. We want to create a [persistent notification](/integrations/persistent_notification/).
|
||||||
|
- Enter "No" and select **Notifications: send a persistent notification**.
|
||||||

|
|
||||||
|
|
||||||
7. We want to create a [persistent notification](/integrations/persistent_notification/).
|
|
||||||
- Enter "Persist" and select **Persistent notification: Create**.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
8. As the message, we want a simple text that is shown as part of the notification.
|
7. As the message, we want a simple text that is shown as part of the notification.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
message: Sensor value greater than 10
|
message: Sensor value greater than 10
|
||||||
```
|
```
|
||||||
|
|
||||||
9. Select **Save**, give your automation a meaningful name, and **Save** again.
|
8. Select **Save**, give your automation a meaningful name, and **Save** again.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 24 KiB |
Loading…
x
Reference in New Issue
Block a user