From fa2184b5c04206818a07675c186de8ec80865490 Mon Sep 17 00:00:00 2001 From: Claudio Ruggeri - CR-Tech <41435902+crug80@users.noreply.github.com> Date: Sat, 19 Oct 2024 12:37:50 +0200 Subject: [PATCH] Update modbus switch status verify (#35053) Co-authored-by: Jan Bouwhuis Co-authored-by: Franck Nijhof --- source/_integrations/modbus.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 %}