Skip to content

Add SmartThings Binary Sensor platform#20699

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

Add SmartThings Binary Sensor platform#20699
balloob merged 3 commits intohome-assistant:devfrom
andrewsayre:feature-smartthings-binary_sensor

Conversation

@andrewsayre
Copy link
Copy Markdown
Member

Description:

Adds SmartThings Binary Sensor platform that represents SmartThings devices that have sensor-related capabilities. Highlights:

  • Supports 9 different types of SmartThings capabilities (see code/docs for list)
  • binary_sensor entities are automatically created for each capability supported by the device. 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.

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

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.

@ghost ghost assigned balloob Feb 2, 2019
@balloob balloob merged commit 6458abc into home-assistant:dev Feb 2, 2019
@ghost ghost removed the in progress label Feb 2, 2019
@balloob balloob added this to the 0.87.0 milestone Feb 2, 2019
balloob pushed a commit that referenced this pull request Feb 2, 2019
* Add SmartThings binary_sensor platform

* Fixed comment typo.
@andrewsayre andrewsayre deleted the feature-smartthings-binary_sensor branch February 2, 2019 22:42
Comment thread homeassistant/components/smartthings/binary_sensor.py
Comment thread tests/components/smartthings/test_binary_sensor.py
@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.

4 participants