Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
65 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
"""IHC component constants.""" | ||
|
||
CONF_AUTOSETUP = 'auto_setup' | ||
CONF_BINARY_SENSOR = 'binary_sensor' | ||
CONF_DIMMABLE = 'dimmable' | ||
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' | ||
CONF_NAME = 'name' | ||
CONF_POSITION = 'position' | ||
CONF_NODE = 'node' | ||
CONF_NOTE = 'note' | ||
CONF_POSITION = 'position' | ||
CONF_SENSOR = 'sensor' | ||
CONF_SWITCH = 'switch' | ||
CONF_XPATH = 'xpath' | ||
|
||
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" | ||
SERVICE_SET_RUNTIME_VALUE_BOOL = 'set_runtime_value_bool' | ||
SERVICE_SET_RUNTIME_VALUE_FLOAT = 'set_runtime_value_float' | ||
SERVICE_SET_RUNTIME_VALUE_INT = 'set_runtime_value_int' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
# Describes the format for available IHC services | ||
|
||
set_runtime_value_bool: | ||
description: Set a boolean runtime value on the IHC controller | ||
description: Set a boolean runtime value on the IHC controller. | ||
fields: | ||
ihc_id: | ||
description: The integer IHC resource id | ||
description: The integer IHC resource ID. | ||
value: | ||
description: The boolean value to set | ||
description: The boolean value to set. | ||
|
||
set_runtime_value_int: | ||
description: Set an integer runtime value on the IHC controller | ||
description: Set an integer runtime value on the IHC controller. | ||
fields: | ||
ihc_id: | ||
description: The integer IHC resource id | ||
description: The integer IHC resource ID. | ||
value: | ||
description: The integer value to set | ||
description: The integer value to set. | ||
|
||
set_runtime_value_float: | ||
description: Set a float runtime value on the IHC controller | ||
description: Set a float runtime value on the IHC controller. | ||
fields: | ||
ihc_id: | ||
description: The integer IHC resource id | ||
description: The integer IHC resource ID. | ||
value: | ||
description: The float value to set | ||
description: The float value to set. | ||
|