Skip to content
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

Update to auto turn off the cycle #3391

Merged
merged 2 commits into from
Oct 18, 2017
Merged

Update to auto turn off the cycle #3391

merged 2 commits into from
Oct 18, 2017

Conversation

DubhAd
Copy link
Contributor

@DubhAd DubhAd commented Sep 17, 2017

Addition of service_template to automatically turn off the cycle when the lights reach their minimum or maximum brightness. Validated on my own lights.

Addition of service_template to automatically turn off the cycle when the lights reach their minimum or maximum brightness. Validated on my own lights.
script.turn_on
{% else %}
script.turn_off
{% endif %}
Copy link
Member

Choose a reason for hiding this comment

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

To avoid render of the template, use {% raw %}{{your_template}}{% endraw %}.

script.turn_on
{% else %}
script.turn_off
{% endif %}
Copy link
Member

Choose a reason for hiding this comment

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

Dito

Added the raw/endraw tags to the half I missed
@frenck
Copy link
Member

frenck commented Oct 17, 2017

@fabaff The PR was updated, could you please take a look and revisit your review? Thx!

@fabaff fabaff merged commit 2ca3852 into home-assistant:current Oct 18, 2017
fabaff pushed a commit that referenced this pull request Oct 21, 2017
* Update to auto turn off the cycle

Addition of service_template to automatically turn off the cycle when the lights reach their minimum or maximum brightness. Validated on my own lights.

* Fixed facepalm

Added the raw/endraw tags to the half I missed
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.

3 participants