MODBUS Component: Fix write_register service attribute (name -… (#11136)

hub is the actual attribute used. name is incorrect.
This commit is contained in:
Harrison Pace 2019-11-11 15:57:33 +11:00 committed by Franck Nijhof
parent 54a78b5faa
commit 6ed7b41f10

View File

@ -141,7 +141,7 @@ modbus:
| Attribute | Description |
| --------- | ----------- |
| name | Hub name (defaults to 'default' when omitted) |
| hub | Hub name (defaults to 'default' when omitted) |
| unit | Slave address (set to 255 you talk to Modbus via TCP) |
| address | Address of the Register (e.g., 138) |
| value | A single value or an array of 16-bit values. Single value will call modbus function code 6. Array will call modbus function code 16. Array might need reverse ordering. E.g., to set 0x0004 you might need to set `[4,0]` |