Skip to content

Clarify docs for binary_sensor class 'opening' #2079

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 1 commit into from
Feb 20, 2017
Merged

Clarify docs for binary_sensor class 'opening' #2079

merged 1 commit into from
Feb 20, 2017

Conversation

nugget
Copy link
Contributor

@nugget nugget commented Feb 18, 2017

Description:

The documentation for the 'opening' class of binary_sensor left the
interpretation of On and Off undefined. Additionally, the intro paragraph
claimed that "On" is "Closed" and "Off" is "Open" which is the opposite of
common usage that I've seen in example configurations.

This commit explicitly states that On==Open and Off=Closed and amends the
examples in the leading paragraph.

Confirmed in Gitter chat that this is appropriate:

@balloob: "I would assume that “on” is open as it’s the special case.
Assuming doors/windows etc are usually closed.
With smoke, detecting smoke is the special case"

The documentation for the 'opening' class of binary_sensor left the
interpretation of On and Off undefined.  Additionally, the intro paragraph
claimed that "On" is "Closed" and "Off" is "Open" which is the opposite of
common usage that I've seen in example configurations.

This commit explicitly states that On==Open and Off=Closed and amends the
examples in the leading paragraph.

Confirmed in Gitter chat that this is appropriate:

@balloob: "I would assume that “on” is open as it’s the special case.
           Assuming doors/windows etc are usually closed.
           With smoke, detecting smoke is the special case"
@mention-bot
Copy link

@nugget, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @robbiet480 and @balloob to be potential reviewers.

Copy link
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

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

Thanks 🐦

@fabaff fabaff merged commit a22a37e into home-assistant:next Feb 20, 2017
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