From 76c1f8ea115834a3c80d28edd7438655ee5b1a29 Mon Sep 17 00:00:00 2001 From: mhentschke Date: Tue, 26 Jan 2021 14:13:02 -0300 Subject: [PATCH] Added docs for pr147 --- components/climate/ir_climate.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/components/climate/ir_climate.rst b/components/climate/ir_climate.rst index a5c7dad619..2de34ef79a 100755 --- a/components/climate/ir_climate.rst +++ b/components/climate/ir_climate.rst @@ -122,6 +122,26 @@ Additional configuration is available for this model * ``MODEL_DG11J1_3A``: Temperature range is from 18 to 32 (default) * ``MODEL_DG11J1_91``: Temperature range is from 16 to 30 +LG +--------- + +Additional configuration is available for this platform + +- **header_high** (*Optional*, :ref:`config-time`): time for the high part of the header for the LG protocol. Defaults to ``8000us`` +- **header_low** (*Optional*, :ref:`config-time`): time for the low part of the header for the LG protocol. Defaults to ``4000us`` +- **bit_high** (*Optional*, :ref:`config-time`): time for the high part of any bit in the LG protocol. Defaults to ``600us`` +- **bit_one_low** (*Optional*, :ref:`config-time`): time for the low part of a '1' bit in the LG protocol. Defaults to ``1600us`` +- **bit_zero_low** (*Optional*, :ref:`config-time`): time for the low part of a '0' bit in the LG protocol. Defaults to ``550us`` + +.. code-block:: yaml + + # Example configuration entry + climate: + - platform: climate_ir_lg + name: "AC" + sensor: room_temperature + header_high: 3265us # AC Units from LG in Brazil, for example use these timings + header_low: 9856us See Also --------