From 0d482b89f6d0db1a11df63f390512e96db50a22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=86=D0=BB=D0=BB=D1=8F=20=D0=9F=D1=96=D1=81=D0=BA=D1=83?= =?UTF-8?q?=D1=80=D1=8C=D0=BE=D0=B2?= <74793674+illia-piskurov@users.noreply.github.com> Date: Sat, 1 Feb 2025 21:15:37 +0200 Subject: [PATCH] Added documentation for hvac_onoff_coil (Enable Modbus Climate / HVAC on/off to use the coil instead of the registers) (#37082) --- source/_integrations/modbus.markdown | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/source/_integrations/modbus.markdown b/source/_integrations/modbus.markdown index 612c2b45149..417dbd730a9 100644 --- a/source/_integrations/modbus.markdown +++ b/source/_integrations/modbus.markdown @@ -756,13 +756,24 @@ climates: description: "Value corresponding to Fan Diffuse mode." required: false type: integer + hvac_onoff_coil: + description: "Address of On/Off state. + Only use this setting if your On/Off state is not handled as a HVAC mode. + When zero is read from this coil, the HVAC state is set to Off, otherwise the `hvac_mode_register` + dictates the state of the HVAC. If no such coil is defined, it defaults to Auto. + When the HVAC mode is set to Off, the value 0 is written to the coil, otherwise the + value 1 is written. + **Cannot be used with `hvac_onoff_register`.**" + required: false + type: integer hvac_onoff_register: description: "Address of On/Off state. When the value defined by `hvac_off_value` is read from this register, the HVAC state is set to Off. Otherwise, the `hvac_mode_register` dictates the state of the HVAC. If no such register is defined, it defaults to Auto. When the HVAC mode is set to Off, the value defined by `hvac_off_value` is written to - the register, otherwise the value defined by `hvac_on_value` is written." + the register, otherwise the value defined by `hvac_on_value` is written. + **Cannot be used with `hvac_onoff_coil`.**" required: false type: integer hvac_on_value: