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

Konnected component feature updates #16479

Merged
merged 2 commits into from
Sep 12, 2018
Merged

Conversation

heythisisnate
Copy link
Contributor

@heythisisnate heythisisnate commented Sep 7, 2018

Description:

  1. Adds an inverse config option for a konnected binary sensor that inverts the open/close state. By default a open circuit on a wired sensor means 1/on/high/open/true. This setting inverts it to mean 0/off/low/closed/false. This is commonly needed for Normally Open wired smoke detector integration.
  2. Adds an endpoint for a Konnected device to get the initial state of a switch.

Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.io#6220

Example entry for configuration.yaml:

konnected:
  devices:
    - id: aaaaaaab5759
      binary_sensors:
        - name: Door
          zone: 1
          type: door
        - name: Smoke
          zone: 4
          type: smoke
          inverse: true

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

@ghost ghost added the in progress label Sep 7, 2018
@fabaff fabaff changed the title add config option to invert state of binary_sensor Add config option to invert state of binary_sensor Sep 8, 2018
@heythisisnate heythisisnate changed the title Add config option to invert state of binary_sensor Konnected component feature updates Sep 10, 2018
@balloob balloob merged commit 2682d26 into home-assistant:dev Sep 12, 2018
@ghost ghost removed the in progress label Sep 12, 2018
@balloob balloob mentioned this pull request Sep 28, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants