Add SmartThings button support via events (#20707)

* Add event support for buttons

* binary_sensor test clean-up
This commit is contained in:
Andrew Sayre authored and Paulus Schoutsen committed 2019-02-02 22:08:37 -08:00
1 parent 3553d26f6b
commit 38ea43b678
5 files changed
+82 -19

No files matched your search

@@ -12,6 +12,7 @@ CONF_LOCATION_ID = 'location_id'
DATA_MANAGER = 'manager'
DATA_BROKERS = 'brokers'
DOMAIN = 'smartthings'
EVENT_BUTTON = "smartthings.button"
SIGNAL_SMARTTHINGS_UPDATE = 'smartthings_update'
SIGNAL_SMARTAPP_PREFIX = 'smartthings_smartap_'
SETTINGS_INSTANCE_ID = "hassInstanceId"
@@ -25,6 +26,7 @@ SUPPORTED_PLATFORMS = [
]
SUPPORTED_CAPABILITIES = [
'accelerationSensor',
'button',
'colorControl',
'colorTemperature',
'contactSensor',