mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
add tcl112 receiver docs (#365)
This commit is contained in:
parent
1b1f06056f
commit
a0702ac03d
@ -36,6 +36,7 @@ Configuration variables:
|
||||
- **supports_heat** (*Optional*, boolean): Enables setting heat mode for this climate device. Defaults to ``True``.
|
||||
- **sensor** (*Optional*, :ref:`config-id`): The sensor that is used to measure the ambient
|
||||
temperature. This is only for reporting the current temperature in the frontend.
|
||||
- **receiver_id** (*Optional*, :ref:`config-id`): The remote_receiver id, see: :ref:`tcl112-receiver_id`.
|
||||
- All other options from :ref:`Climate <config-climate>`.
|
||||
|
||||
Advanced options:
|
||||
@ -43,6 +44,30 @@ Advanced options:
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- **transmitter_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the remote transmitter.
|
||||
|
||||
.. _tcl112-receiver_id:
|
||||
|
||||
Using a receiver
|
||||
----------------
|
||||
|
||||
When using a receiver it is recommended to put the IR receiver as close as possible to the equipment's
|
||||
IR receiver.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# Example configuration entry
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin:
|
||||
number: GPIO14
|
||||
inverted: True
|
||||
mode: INPUT_PULLUP
|
||||
tolerance: 45 # high tolerance required for some remote control units
|
||||
|
||||
climate:
|
||||
- platform: tcl112
|
||||
name: "Living Room AC"
|
||||
receiver_id: rcvr
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user