mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
MODBUS Component: Fix write_register service attribute (name -… (#11136)
hub is the actual attribute used. name is incorrect.
This commit is contained in:
parent
54a78b5faa
commit
6ed7b41f10
@ -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]` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user