Add separate on/off ids on manual configured IHC lights (#20253)
* Add support for separate on/off ids on manual configured IHC lights. This makes it easier to support IHC code units thats relies on being turned on and off through specific inputs. Also adds a pulse service (ihc.pulse) that supports sending a short on/off pulse to an IHC input. * Fix * Lint fix * Add on/off id support in switch * Make pulse async * Code review fixes
This commit is contained in:
1 parent
ee4be13bda
commit
0aba49adce
6 files changed
+109
-23
No files matched your search
@@ -9,6 +9,8 @@ CONF_LIGHT = 'light'
|
||||
CONF_NAME = 'name'
|
||||
CONF_NODE = 'node'
|
||||
CONF_NOTE = 'note'
|
||||
CONF_OFF_ID = 'off_id'
|
||||
CONF_ON_ID = 'on_id'
|
||||
CONF_POSITION = 'position'
|
||||
CONF_SENSOR = 'sensor'
|
||||
CONF_SWITCH = 'switch'
|
||||
@@ -20,3 +22,4 @@ ATTR_VALUE = 'value'
|
||||
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'
|
||||
SERVICE_PULSE = 'pulse'
|
||||
Reference in new issue
Block a user