mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Added docs for ignore bit setting on rc_switch_raw and fixed ref links (#279)
* Added docs for mask setting on rc_switch_raw and fixed ref links * Lint * Docs updated to ignore bit approach for rc_switch_raw
This commit is contained in:
parent
77e2ad4886
commit
adea670924
@ -101,7 +101,7 @@ Configuration options:
|
||||
.. note::
|
||||
|
||||
This action can also be written in lambdas:
|
||||
L
|
||||
|
||||
.. code-block:: cpp
|
||||
|
||||
id(template_cov).position = COVER_OPEN;
|
||||
|
@ -14,7 +14,7 @@ handles setting the pin and some other settings, and individual
|
||||
:ref:`remote receiver binary sensors <remote-receiver-binary-sensor>`
|
||||
which will trigger when they hear their own configured signal.
|
||||
|
||||
**See :ref:`remote-setting-up-infrared` and :ref:`remote-setting-up-rf` for set up guides.**
|
||||
**See** :ref:`remote-setting-up-infrared` **and** :ref:`remote-setting-up-rf` **for set up guides.**
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@ -151,7 +151,8 @@ Remote code selection (exactly one of these has to be included):
|
||||
|
||||
- **rc_switch_raw**: Trigger on a decoded RC Switch raw remote code with the given data.
|
||||
|
||||
- **code** (**Required**, string): The remote code to listen for, copy this from the dumper output.
|
||||
- **code** (**Required**, string): The remote code to listen for, copy this from the dumper output. To ignore a bit
|
||||
in the received data, use ``x`` at that place in the **code**.
|
||||
- **protocol** (*Optional*): The RC Switch protocol to use, see :ref:`remote_transmitter-rc_switch-protocol` for more info.
|
||||
|
||||
- **rc_switch_type_a**: Trigger on a decoded RC Switch Type A remote code with the given data.
|
||||
|
@ -14,7 +14,7 @@ First, you need to setup a global hub that specifies which pin your remote
|
||||
sender is connected to. Then you can use the available actions to send encoded
|
||||
remote signals.
|
||||
|
||||
**See :ref:`remote-setting-up-infrared` and :ref:`remote-setting-up-rf` for set up guides.**
|
||||
**See** :ref:`remote-setting-up-infrared` **and** :ref:`remote-setting-up-rf` **for set up guides.**
|
||||
|
||||
.. note::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user