diff --git a/components/remote_receiver.rst b/components/remote_receiver.rst index c7bb7ff63..3a543a5b4 100644 --- a/components/remote_receiver.rst +++ b/components/remote_receiver.rst @@ -59,6 +59,7 @@ Configuration variables: - **samsung36**: Decode and dump Samsung36 infrared codes. - **sony**: Decode and dump Sony infrared codes. - **toshiba_ac**: Decode and dump Toshiba AC infrared codes. + - **tr_502msv**: Decode and dump TR-502MSV RF codes. - **tolerance** (*Optional*, int, :ref:`config-time` or mapping): The percentage or time that the remote signal lengths can deviate in the decoding process. Defaults to ``25%``. @@ -189,6 +190,9 @@ Automations: - **on_toshiba_ac** (*Optional*, :ref:`Automation `): An automation to perform when a Toshiba AC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::ToshibaAcData` is passed to the automation for use in lambdas. +- **on_tr_502msv** (*Optional*, :ref:`Automation `): An automation to perform when a + TR-502MSV remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::TR502MSVData` + is passed to the automation for use in lambdas. .. code-block:: yaml @@ -430,6 +434,24 @@ Remote code selection (exactly one of these has to be included): - **rc_code_1** (**Required**, int): The remote control code to trigger on, see dumper output for more details. - **rc_code_2** (*Optional*, int): The second part of the remote control code to trigger on, see dumper output for more details. +- **tr_502msv**: Trigger on a decoded TR-502MSV remote code with the given data. + + - **group** (**Required**, int): The group code to trigger on, see dumper output for more details. + - **device** (**Required**, enum): The device code to trigger on, see dumper output for more details. + + - ``1`` + - ``2`` + - ``3`` + - ``4`` + - ``all`` + + - **command** (**Required**, enum): The command to trigger on, see dumper output for more details. + + - ``turn_off`` + - ``turn_on`` + - ``increase_brightness`` + - ``decrease_brightness`` + .. note:: The **CanalSat** and **CanalSatLD** protocols use a higher carrier frequency (56khz) and are very similar. diff --git a/components/remote_transmitter.rst b/components/remote_transmitter.rst index 342d74539..427409dd8 100644 --- a/components/remote_transmitter.rst +++ b/components/remote_transmitter.rst @@ -845,7 +845,7 @@ Configuration variables: ``remote_transmitter.transmit_sony`` Action ******************************************* -This :ref:`action ` a Sony infrared remote code to a remote transmitter. +This :ref:`action ` sends a Sony infrared remote code to a remote transmitter. .. code-block:: yaml @@ -886,6 +886,40 @@ Configuration variables: - All other options from :ref:`remote_transmitter-transmit_action`. +.. _remote_transmitter-transmit_tr_502msv: + +``remote_transmitter.transmit_tr_502msv`` Action +************************************************ + +This :ref:`action ` sends a TR-502MSV remote code to a remote transmitter. + +.. code-block:: yaml + + on_...: + - remote_transmitter.transmit_tr_502msv: + group: 0x123 + device: all + command: turn_on + +Configuration variables: + +- **group** (**Required**, int): The group code to send, see dumper output for more details. +- **device** (**Required**, enum): The device code to send, see dumper output for more details. + + - ``1`` + - ``2`` + - ``3`` + - ``4`` + - ``all`` + +- **command** (**Required**, enum): The command to send, see dumper output for more details. + + - ``turn_off`` + - ``turn_on`` + - ``increase_brightness`` + - ``decrease_brightness`` + +- All other options from :ref:`remote_transmitter-transmit_action`. Lambda calls ************