Docstrings in __init__.py fixed

This commit is contained in:
Nicolas Kruse 2025-05-29 01:25:16 +02:00 committed by GitHub
parent 6febc47de0
commit 0ef833e64b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 9 deletions

View File

@ -225,15 +225,6 @@ class BusCoupler():
""" """
Base class for ModBus TCP bus coupler Base class for ModBus TCP bus coupler
Args:
host: ip or hostname of the bus coupler
port: port of the modbus host
debug: outputs modbus debug information
timeout: timeout for waiting for the device response
watchdog: time in seconds after the device sets all outputs to
default state. A value of 0 deactivates the watchdog.
debug: If True, debug information is printed.
Attributes: Attributes:
bus_terminals: A list of bus terminal classes according to the bus_terminals: A list of bus terminal classes according to the
connected terminals. connected terminals.
@ -248,6 +239,8 @@ class BusCoupler():
Args: Args:
host: ip or hostname of the bus coupler host: ip or hostname of the bus coupler
port: port of the modbus host port: port of the modbus host
bus_terminals: list of bus terminal classes for the
connected terminals
debug: outputs modbus debug information debug: outputs modbus debug information
timeout: timeout for waiting for the device response timeout: timeout for waiting for the device response
watchdog: time in seconds after the device sets all outputs to watchdog: time in seconds after the device sets all outputs to