diff --git a/source/_integrations/modbus.markdown b/source/_integrations/modbus.markdown index 7e6cc4d94164..40634e5eb331 100644 --- a/source/_integrations/modbus.markdown +++ b/source/_integrations/modbus.markdown @@ -1516,15 +1516,15 @@ switches: input: description: "Input register." state_on: - description: "Value when switch is on." + description: "Value(s) when switch is on. The value must be an `integer` or a list of integers." required: false default: "Same as `command_on`" - type: integer + type: [integer, list] state_off: - description: "Value when switch is off." + description: "Value(s) when switch is off. The value must be an `integer` or a list of integers." required: false default: "Same as `command_off`" - type: integer + type: [integer, list] {% endconfiguration %}