Missing docstrings added

This commit is contained in:
Nicolas 2025-06-12 14:35:51 +02:00 committed by Nicolas Kruse
parent 418bcb59e8
commit e160fd2162
1 changed files with 3 additions and 1 deletions

View File

@ -137,9 +137,10 @@ class AnalogInputTerminal(BusTerminal):
Args:
channel: The channel number (1 based index) to read from.
error_value: Value that is returned in case the modbus read command fails.
Returns:
The read word value.
The read word value or provided error_value if read failed.
Raises:
Exception: If the word offset or count is out of range.
@ -174,6 +175,7 @@ class AnalogOutputTerminal(BusTerminal):
Args:
channel: The channel number (1 based index) to read from.
error_value: Value that is returned in case the modbus read command fails.
Returns:
The read word value or provided error_value if read failed.