Add SmartThings Binary Sensor platform (#20699)

* Add SmartThings binary_sensor platform

* Fixed comment typo.
This commit is contained in:
Andrew Sayre authored and Paulus Schoutsen committed 2019-02-02 14:09:44 -08:00
1 parent 4255f2c62f
commit d3e011ff50
3 files changed
+192 -1

No files matched your search

+11 -1
View File
@@ -18,16 +18,26 @@ SETTINGS_INSTANCE_ID = "hassInstanceId"
STORAGE_KEY = DOMAIN
STORAGE_VERSION = 1
SUPPORTED_PLATFORMS = [
'binary_sensor',
'fan',
'light',
'switch'
]
SUPPORTED_CAPABILITIES = [
'accelerationSensor',
'colorControl',
'colorTemperature',
'contactSensor',
'fanSpeed',
'filterStatus',
'motionSensor',
'presenceSensor',
'soundSensor',
'switch',
'switchLevel'
'switchLevel',
'tamperAlert',
'valve',
'waterSensor'
]
VAL_UID = "^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]" \
"{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$"