mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Add optimistic flag to Modbus Select (#1949)
This commit is contained in:
parent
e09f8921a3
commit
7b568ad3df
@ -62,6 +62,9 @@ Configuration variables:
|
|||||||
- **use_write_multiple**: (*Optional*, boolean): By default the modbus command ``Preset Single Registers``
|
- **use_write_multiple**: (*Optional*, boolean): By default the modbus command ``Preset Single Registers``
|
||||||
(function code 6) is used for setting the holding register if only 1 register is set. If your device only supports *Preset Multiple Registers* (function code 16) set this option to ``true``. Defaults
|
(function code 6) is used for setting the holding register if only 1 register is set. If your device only supports *Preset Multiple Registers* (function code 16) set this option to ``true``. Defaults
|
||||||
to ``false``.
|
to ``false``.
|
||||||
|
- **optimistic**: (*Optional*, boolean): Whether to operate in optimistic mode - when in this mode,
|
||||||
|
any command sent to the Modbus Select will immediately update the reported state. Defaults
|
||||||
|
to ``false``.
|
||||||
- All other options from :ref:`Select <config-select>`.
|
- All other options from :ref:`Select <config-select>`.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user