From 3bfc52e12f270e540b39b4bfe338527e14e997d5 Mon Sep 17 00:00:00 2001 From: Tercio Filho Date: Mon, 2 Sep 2024 20:56:22 -0300 Subject: [PATCH] [modbus_controller] Pref to allow duplicate commands (#4203) --- components/modbus_controller.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/modbus_controller.rst b/components/modbus_controller.rst index 264f07837..7eca0e6a0 100644 --- a/components/modbus_controller.rst +++ b/components/modbus_controller.rst @@ -54,7 +54,9 @@ Configuration variables: - **modbus_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the ``modbus`` hub. -- **address** (**Required**, :ref:`config-id`): The Modbus address of the slave device +- **address** (**Required**, :ref:`config-id`): The Modbus address of the slave device. + +- **allow_duplicate_commands** (*Optional*, boolean): Whether to allow duplicate commands in the queue. Defaults to ``false``. - **command_throttle** (*Optional*, :ref:`config-time`): minimum time in between 2 requests to the device. Default is ``0ms``. Some Modbus slave devices limit the rate of requests from the master, so this allows the interval between requests to be altered.