forked from home-assistant/core
Allow combinations write_coil/read_coils and write_coils/read_coil for modbus switch (#53856)
This commit is contained in:
committed by
Paulus Schoutsen
parent
d56636ed37
commit
bebd495e74
@@ -198,6 +198,8 @@ BASE_SWITCH_SCHEMA = BASE_COMPONENT_SCHEMA.extend(
|
|||||||
CALL_TYPE_DISCRETE,
|
CALL_TYPE_DISCRETE,
|
||||||
CALL_TYPE_REGISTER_INPUT,
|
CALL_TYPE_REGISTER_INPUT,
|
||||||
CALL_TYPE_COIL,
|
CALL_TYPE_COIL,
|
||||||
|
CALL_TYPE_X_COILS,
|
||||||
|
CALL_TYPE_X_REGISTER_HOLDINGS,
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
vol.Optional(CONF_STATE_OFF): cv.positive_int,
|
vol.Optional(CONF_STATE_OFF): cv.positive_int,
|
||||||
|
Reference in New Issue
Block a user