Skip to content

Commit 34b96e0

Browse files
authored
Modbus default slave in actions (#39793)
1 parent fb57fb8 commit 34b96e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_integrations/modbus.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ Description:
17331733
| Attribute | Description |
17341734
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
17351735
| hub | Hub name (defaults to 'modbus_hub' when omitted) |
1736-
| slave | Slave address (0-255) |
1736+
| slave | Slave address (0-255, defaults to 1 when omitted) |
17371737
| address | Address of the Register (e.g. 138) |
17381738
| value | (write_register) A single value or an array of 16-bit values. Single value will call modbus function code 0x06. Array will call modbus function code 0x10. Values might need reverse ordering. E.g., to set 0x0004 you might need to set `[4,0]`, this depend on the byte order of your CPU |
17391739
| state | (write_coil) A single boolean or an array of booleans. Single boolean will call modbus function code 0x05. Array will call modbus function code 0x0F |

0 commit comments

Comments
 (0)