Add configuration
This commit is contained in:
@ -25,3 +25,14 @@ SENSOR_ICON = "mdi:format-quote-close"
|
||||
|
||||
# Device classes
|
||||
BINARY_SENSOR_DEVICE_CLASS = 'connectivity'
|
||||
|
||||
# Configuration
|
||||
CONF_BINARY_SENSOR = 'binary_sensor'
|
||||
CONF_SENSOR = 'sensor'
|
||||
CONF_SWITCH = 'switch'
|
||||
CONF_ENABLED = 'enabled'
|
||||
CONF_NAME = 'name'
|
||||
|
||||
|
||||
# Defaults
|
||||
DEAFULT_NAME = DOMAIN
|
||||
|
Reference in New Issue
Block a user