Add SmartThings Binary Sensor platform (#20699)
* Add SmartThings binary_sensor platform * Fixed comment typo.
This commit is contained in:
1 parent
4255f2c62f
commit
d3e011ff50
3 files changed
+192
-1
No files matched your search
@@ -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}))$"
|
||||
|
||||
Reference in new issue
Block a user