mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add missing raw wrappers to automation examples (#24355)
This commit is contained in:
parent
422b6bbe2d
commit
f6c01ae1bc
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user