* Added IHC platform * Updated requirements for IHC platform * Exclude IHC from test * Correcting flake8 issues * Fixing more flake8 issues * Fixed flake8 issues * Fixing pylint issues * Fixed flake8 issues * Changes from PR review. * STATE_UNKNOWN changed to None * Spelling mistake in comment * Added IHC platform * Updated requirements for IHC platform * Exclude IHC from test * Correcting flake8 issues * Fixing more flake8 issues * Fixed flake8 issues * Fixing pylint issues * Fixed flake8 issues * Changes from PR review. * STATE_UNKNOWN changed to None * Spelling mistake in comment * Updated requirements_all.txt with gen_requirements_app.py * Pylint fix: No space allowed around keyword argument assignment * PR review changes * Moved auto setup from platforms to ihc component * Do no auto setup if there are no IHC products found * Changes from PR review
19 lines
501 B
Python
19 lines
501 B
Python
"""IHC component constants."""
|
|
|
|
CONF_AUTOSETUP = 'auto_setup'
|
|
CONF_INFO = 'info'
|
|
CONF_XPATH = 'xpath'
|
|
CONF_NODE = 'node'
|
|
CONF_INVERTING = 'inverting'
|
|
CONF_DIMMABLE = 'dimmable'
|
|
CONF_BINARY_SENSOR = 'binary_sensor'
|
|
CONF_LIGHT = 'light'
|
|
CONF_SENSOR = 'sensor'
|
|
CONF_SWITCH = 'switch'
|
|
|
|
ATTR_IHC_ID = 'ihc_id'
|
|
ATTR_VALUE = 'value'
|
|
|
|
SERVICE_SET_RUNTIME_VALUE_BOOL = "set_runtime_value_bool"
|
|
SERVICE_SET_RUNTIME_VALUE_INT = "set_runtime_value_int"
|
|
SERVICE_SET_RUNTIME_VALUE_FLOAT = "set_runtime_value_float"
|