Skip to content

Support zone expanders in alarmdecoder#27167

Merged
balloob merged 1 commit into
home-assistant:devfrom
hugheaves:alarmdecoder_zone_expander
Oct 4, 2019
Merged

Support zone expanders in alarmdecoder#27167
balloob merged 1 commit into
home-assistant:devfrom
hugheaves:alarmdecoder_zone_expander

Conversation

@hugheaves
Copy link
Copy Markdown
Contributor

@hugheaves hugheaves commented Oct 3, 2019

Description:

This is a minor change to the alarmdecoder integration to support both zone expander and relay expander boards. By using the on_expander_message instead of _on_relay_changed callback, both relay expander and zone expander board messages are supported.

Related issue (if applicable): N/A

Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10594

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

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

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @hugheaves,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

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

This looks great. Awesome first contribution! 🐬 Welcome to the Home Assistant community!

@balloob balloob merged commit d36d123 into home-assistant:dev Oct 4, 2019
@lock lock Bot locked and limited conversation to collaborators Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants