Skip to content

Added doc for controlling two or more covers at once #3013

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 6 commits into from
Aug 26, 2017
Merged

Added doc for controlling two or more covers at once #3013

merged 6 commits into from
Aug 26, 2017

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Jul 19, 2017

Unresolved issues:

  • open_covers only available when all covers are closed -> Possible fix: allow third state for value_template (half open)
  • position value in detailed view are either 0 (closed) or 100 (open), neverthanless set_position works as intended

Description:

Pull request in home-assistant (if applicable): home-assistant/home-assistant#

Unresolved issues:
- open_covers only available when all covers are closed -> Possible fix: allow third state for value_template (half open)
- position value in detailed view are either 0 (closed) or 100 (open), neverthanless set_position works as intended
@mention-bot
Copy link

@cdce8p, thanks for your PR! By analyzing the history of the files in this pull request, we identified @PhracturedBlue and @arsaboo to be potential reviewers.

all_covers:
friendly_name: 'All Covers'
value_template: >
{% if is_state('cover.bedroom', 'open') %}
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 %}.

cdce8p added 3 commits July 19, 2017 19:55
Received invalid cover is_on state: . Expected: open, closed, true, false
@cdce8p
Copy link
Member Author

cdce8p commented Jul 25, 2017

Possible fix for issue one (only able to open covers when all are closed): home-assistant/frontend#356

Assume state allows buttons to alwalys be enabled if PR is accepted.
@cdce8p
Copy link
Member Author

cdce8p commented Jul 28, 2017

Hope that looks good now. I'm just figuring out, how to use the {% raw %}{% endraw %}.

@frenck
Copy link
Member

frenck commented Aug 24, 2017

@fabaff Could you please check if the last commit solves your concern?

@fabaff fabaff merged commit 50ff5de into home-assistant:current Aug 26, 2017
@cdce8p cdce8p deleted the patch-1 branch October 7, 2017 18:21
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.

5 participants