Add configuration

This commit is contained in:
ludeeus
2019-03-09 12:33:12 +01:00
parent 011400bb38
commit 53f2adf129
5 changed files with 109 additions and 13 deletions

View File

@ -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