Add missing raw wrappers to automation examples (#24355)

This commit is contained in:
Joakim Sørensen 2022-10-03 15:42:51 +02:00 committed by GitHub
parent 422b6bbe2d
commit f6c01ae1bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,8 @@ you need to replace it with services and entities that you have in your installa
This example uses the [Latest release](#latest-release) entity provided by this integration, and a [notify](/integrations/notify) service,
{% raw %}
```yaml
trigger:
- platform: state
@ -141,10 +143,14 @@ action:
```
{% endraw %}
### Notify new stars
This example uses the [Stars](#diagnostic-entities) diagnostic entity provided by this integration, and a [notify](/integrations/notify) service,
{% raw %}
```yaml
trigger:
- platform: state
@ -157,3 +163,5 @@ action:
github/repository was starred again!
Total stars are now: {{ trigger.to_state.state }}
```
{% endraw %}