mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add data_template
This commit is contained in:
parent
791672ca7d
commit
ced0fbc717
@ -32,6 +32,22 @@ The [Home Assistant API Documentation](https://dev-docs.home-assistant.io/en/dev
|
||||
### {% linkable_title Configuration validation %}
|
||||
The validation of the configuration is still on-going. Approximatly 80 % is done. This means that we will propably talk about this topic in the next release notes again. To align the configuration of components and platforms we needed to break some. Please refer to the Breaking changes section to check if you need to update your configuration or simple check your log for configuration validation errors. Thanks to [@kellerza], [@fabaff], [@Teagan42], and [@pvizeli] for your effort!
|
||||
|
||||
### {% linkable_title Templating %}
|
||||
`data_template` needs to be present in all notify templates for the future.
|
||||
|
||||
```yaml
|
||||
action:
|
||||
service: notify.telegram
|
||||
data_template:
|
||||
message: "Test from your Home"
|
||||
data:
|
||||
location:
|
||||
latitude: "{{ state.device_tracker.phone.attributes.latitude }}"
|
||||
longitude: "{{ state.device_tracker.phone.attributes.longitude }}"
|
||||
```
|
||||
|
||||
Stay tuned for more details.
|
||||
|
||||
### {% linkable_title All changes %}
|
||||
|
||||
<img src='/images/supported_brands/xbox-live.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='100' /><img src='/images/supported_brands/automatic.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='100' /><img src='/images/supported_brands/pi_hole.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='100' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user