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:
mtl010957 2019-07-03 08:32:06 -05:00 committed by Otto Winter
parent 77e2ad4886
commit adea670924
3 changed files with 5 additions and 4 deletions

View File

@ -101,7 +101,7 @@ Configuration options:
.. note:: .. note::
This action can also be written in lambdas: This action can also be written in lambdas:
L
.. code-block:: cpp .. code-block:: cpp
id(template_cov).position = COVER_OPEN; id(template_cov).position = COVER_OPEN;

View File

@ -14,7 +14,7 @@ handles setting the pin and some other settings, and individual
:ref:`remote receiver binary sensors <remote-receiver-binary-sensor>` :ref:`remote receiver binary sensors <remote-receiver-binary-sensor>`
which will trigger when they hear their own configured signal. 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 .. 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. - **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. - **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. - **rc_switch_type_a**: Trigger on a decoded RC Switch Type A remote code with the given data.

View File

@ -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 sender is connected to. Then you can use the available actions to send encoded
remote signals. 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:: .. note::