Skip to content

Add SmartThings button support via events#20707

Merged
balloob merged 2 commits intohome-assistant:devfrom
andrewsayre:feature-smartthings-button
Feb 3, 2019
Merged

Add SmartThings button support via events#20707
balloob merged 2 commits intohome-assistant:devfrom
andrewsayre:feature-smartthings-button

Conversation

@andrewsayre
Copy link
Copy Markdown
Member

Description:

Adds support for SmartThings devices with the button capability:

  • Fires event smartthings.button with the data describing the event
  • Users will need to remove and reinstall the Home Assistant SmartApp/Automation in the SmartThings Classic mobile app if they have previously used this component.

This PR also addresses some binary_sensor unit tests comments by @MartinHjelmare from PR #20699.

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

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.

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

If the code does not interact with devices:

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

@balloob balloob added this to the 0.87.0 milestone Feb 3, 2019
@balloob balloob merged commit 38ea43b into home-assistant:dev Feb 3, 2019
@ghost ghost removed the in progress label Feb 3, 2019
@andrewsayre andrewsayre deleted the feature-smartthings-button branch February 3, 2019 16:01
balloob pushed a commit that referenced this pull request Feb 3, 2019
* Add event support for buttons

* binary_sensor test clean-up
@balloob balloob mentioned this pull request Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants