Skip to content

ZHA siren and warning device support#26046

Merged
Adminiuga merged 9 commits into
home-assistant:devfrom
dmulcahey:dm/zha-warning-device-support
Sep 20, 2019
Merged

ZHA siren and warning device support#26046
Adminiuga merged 9 commits into
home-assistant:devfrom
dmulcahey:dm/zha-warning-device-support

Conversation

@dmulcahey
Copy link
Copy Markdown
Contributor

Description:

This PR implements the IAS warning device channel and exposes services to interact with its commands that can be leveraged in automations.

Related issue (if applicable): fixes #25315

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][dev-checklist]

@probot-home-assistant
Copy link
Copy Markdown

Hey there @Adminiuga, mind taking a look at this pull request as its been labeled with a integration (zha) you are listed as a codeowner for? Thanks!

Comment thread homeassistant/components/zha/api.py Outdated
Comment thread homeassistant/components/zha/api.py
@dmulcahey dmulcahey force-pushed the dm/zha-warning-device-support branch from 2288cee to 155b9c0 Compare August 27, 2019 10:52
Comment thread homeassistant/components/zha/core/const.py Outdated
@dmulcahey dmulcahey force-pushed the dm/zha-warning-device-support branch from 8749145 to cef6add Compare September 16, 2019 11:15
@dmulcahey dmulcahey force-pushed the dm/zha-warning-device-support branch from b7af53b to 253d307 Compare September 20, 2019 12:23
@dmulcahey dmulcahey changed the title WIP - ZHA siren and warning device support ZHA siren and warning device support Sep 20, 2019
@dmulcahey dmulcahey marked this pull request as ready for review September 20, 2019 12:33
@Adminiuga
Copy link
Copy Markdown
Contributor

Is it better to log the error and throw an exception? At least when calling the service from UI you gonna see notification about failed service call.

@jgirardet
Copy link
Copy Markdown

Hi,
I have a zigbee siren (HS2WD) and I 'd like to test this PR but I'm not sure what is the way to do it.
I can't see it in contributing.md

Copy link
Copy Markdown
Contributor

@Adminiuga Adminiuga left a comment

Choose a reason for hiding this comment

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

Looks good!

@Adminiuga Adminiuga merged commit 62adff2 into home-assistant:dev Sep 20, 2019
@lock lock Bot locked and limited conversation to collaborators Sep 21, 2019
@dmulcahey dmulcahey deleted the dm/zha-warning-device-support branch March 26, 2020 11:18
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.

ZHA: Sercomm zigbee siren can be paired, but not activated

6 participants