Update modbus switch status verify (#35053)

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Claudio Ruggeri - CR-Tech 2024-10-19 12:37:50 +02:00 committed by GitHub
parent 7af6d1b574
commit fa2184b5c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 %}