mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 05:50:13 +00:00
Add SmartThings Binary Sensor platform (#20699)
* Add SmartThings binary_sensor platform * Fixed comment typo.
This commit is contained in:
committed by
Paulus Schoutsen
parent
acf5b04231
commit
6458abca2e
@@ -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