Update Modbus service manifest (#31727)

pull/31741/head^2
Vladimír Záhradník 2020-02-11 22:11:02 +01:00 committed by GitHub
parent 15ed086ed2
commit 378bd8438b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4,9 +4,11 @@ write_coil:
address: {description: Address of the register to write to., example: 0}
state: {description: State to write., example: false}
unit: {description: Address of the modbus unit., example: 21}
hub: {description: Optional Modbus hub name. A hub with the name 'default' is used if not specified., example: "hub1"}
write_register:
description: Write to a modbus holding register.
fields:
address: {description: Address of the holding register to write to., example: 0}
unit: {description: Address of the modbus unit., example: 21}
value: {description: Value (single value or array) to write., example: "0 or [4,0]"}
hub: {description: Optional Modbus hub name. A hub with the name 'default' is used if not specified., example: "hub1"}