From ced0fbc7179c77bddd8d03542a379d8bef30b0dc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Sep 2016 22:00:20 +0200 Subject: [PATCH] Add data_template --- source/_posts/2016-09-01-0-28.markdown | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/_posts/2016-09-01-0-28.markdown b/source/_posts/2016-09-01-0-28.markdown index 78af7a164a4..2cdd303ffd2 100644 --- a/source/_posts/2016-09-01-0-28.markdown +++ b/source/_posts/2016-09-01-0-28.markdown @@ -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 %}