Skip to content

Add examples for advanced usage #674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 26, 2016
Merged

Add examples for advanced usage #674

merged 2 commits into from
Jul 26, 2016

Conversation

dale3h
Copy link
Member

@dale3h dale3h commented Jul 25, 2016

Add examples to documentation for !include_dir_list, !include_dir_named, !include_dir_merge_list, and !include_dir_merge_named

speech:
type: plaintext
text: >
{%- for state in states.device_tracker -%}
Copy link
Member

@fabaff fabaff Jul 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to mark template part as raw ({% raw %}..{% endraw %}) otherwise they will be rendered.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raw is opened on line 259 and closed on line 285 :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh, sorry, my bad.

@fabaff fabaff merged commit b0f6a61 into home-assistant:master Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants