Skip to content

Conversation

@dmulcahey
Copy link
Contributor

Description:

This PR adds device availability to the info returned by the API for ZHA devices.

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]

@dmulcahey dmulcahey added this to the 0.96.3 milestone Jul 20, 2019
@dmulcahey dmulcahey requested a review from Adminiuga July 20, 2019 16:47
@probot-home-assistant probot-home-assistant bot added the small-pr PRs with less than 30 lines. label Jul 20, 2019
@MartinHjelmare
Copy link
Member

Where will this have an effect? Does this show anywhere?

@dmulcahey
Copy link
Contributor Author

Where will this have an effect? Does this show anywhere?

Initially here: https://github.com/dmulcahey/zha-network-card

This is to help with the removal of ZHA entities. Many people were using them to monitor for when devices fell off the network.

@dmulcahey
Copy link
Contributor Author

Keep in mind, this info is on ZHA’s device object and is for the ZHA web socket API. Just in case that wasn’t clear...

@dmulcahey dmulcahey merged commit 7ea27c0 into home-assistant:dev Jul 20, 2019
balloob pushed a commit that referenced this pull request Jul 21, 2019
@balloob balloob mentioned this pull request Jul 21, 2019
@lock lock bot locked and limited conversation to collaborators Jul 21, 2019
@dmulcahey dmulcahey deleted the dm/zha-add-available-device-info branch March 26, 2020 11:19
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