mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Update modbus_controller.rst (#2817)
I think at some time in the past the 'command_throttle' parameter changed from a unit of 'milliseconds' to the unit of 'time'. If you try to compile with a value of 1000 (supposedly milliseconds), compilation fails with the following error: ``` Don't know what '1000' means as it has no time *unit*! Did you mean '1000s'?. command_throttle: 1000 ``` If I put a value of '1s' then compilation works and also this is the time I see that is being used.
This commit is contained in:
parent
0893d25cdf
commit
79e307f96d
@ -53,7 +53,7 @@ Configuration variables:
|
|||||||
- **address** (**Required**, :ref:`config-id`): The modbus address of the device
|
- **address** (**Required**, :ref:`config-id`): The modbus address of the device
|
||||||
Specify the modbus device address of the.
|
Specify the modbus device address of the.
|
||||||
|
|
||||||
- **command_throttle** (*Optional*, int): minimum time in milliseconds between 2 requests to the device. Default is 0ms
|
- **command_throttle** (*Optional*, :ref:`config-time`): minimum time in between 2 requests to the device. Default is 0ms
|
||||||
Because some modbus devices limit the rate of requests the interval between sending requests to the device can be modified.
|
Because some modbus devices limit the rate of requests the interval between sending requests to the device can be modified.
|
||||||
|
|
||||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval that the sensors should be checked.
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval that the sensors should be checked.
|
||||||
|
Loading…
Reference in New Issue
Block a user