diff --git a/components/remote_receiver.rst b/components/remote_receiver.rst index 7b1f15f4f..38d250ad5 100644 --- a/components/remote_receiver.rst +++ b/components/remote_receiver.rst @@ -31,6 +31,7 @@ Configuration variables: Set to ``all`` to dump all available codecs: - **aeha**: Decode and dump AEHA infrared codes. + - **byronsx**: Decode and dump Byron SX doorbell RF codes. - **canalsat**: Decode and dump CanalSat infrared codes. - **canalsatld**: Decode and dump CanalSatLD infrared codes. - **coolix**: Decode and dump Coolix infrared codes. @@ -80,6 +81,9 @@ Automations: - **on_aeha** (*Optional*, :ref:`Automation `): An automation to perform when a AEHA remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::AEHAData` is passed to the automation for use in lambdas. +- **on_byronsx** (*Optional*, :ref:`Automation `): An automation to perform when a + Byron SX doorbell RF code has been decoded. A variable ``x`` of type :apistruct:`remote_base::ByronSXData` + is passed to the automation for use in lambdas. - **on_canalsat** (*Optional*, :ref:`Automation `): An automation to perform when a CanalSat remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::CanalSatData` is passed to the automation for use in lambdas. @@ -205,6 +209,11 @@ Remote code selection (exactly one of these has to be included): - **data** (**Required**, 3-35 bytes list): The code to listen for, see :ref:`remote_transmitter-transmit_aeha` for more info. Usually you only need to copy this directly from the dumper output. +- **byronsx**: Trigger on a decoded Byron SX Doorbell RF remote code with the given data. + + - **address** (**Required**, int): The 8-bit ID code to trigger on, see dumper output for more info. + - **command** (**Optional**, int): The 4-bit command to listen for. If omitted, will match on any command. + - **canalsat**: Trigger on a decoded CanalSat remote code with the given data. - **device** (**Required**, int): The device to trigger on, see dumper output for more info. diff --git a/components/remote_transmitter.rst b/components/remote_transmitter.rst index 6e897b1c2..be7d769f0 100644 --- a/components/remote_transmitter.rst +++ b/components/remote_transmitter.rst @@ -99,7 +99,25 @@ Configuration variables: AEHA refers to the Association for Electric Home Appliances in Japan, a format used by Panasonic and many other companies. -.. _remote_transmitter-transmit_canalsat: +.. _remote_transmitter-transmit_byronsx: + +``remote_transmitter.transmit_byronsx`` Action +********************************************** + +This :ref:`action ` sends a Byron Doorbell RF protocol code to a remote transmitter. + +.. code-block:: yaml + + on_...: + - remote_transmitter.transmit_byronsx: + address: '0x4f' + command: '0x2' + +Configuration variables: + +- **address** (**Required**, int): The 8-bit ID to send, see dumper output for more info. +- **command** (**Required**, int): The command to send, see dumper output for more info. +- All other options from :ref:`remote_transmitter-transmit_action`... _remote_transmitter-transmit_canalsat: ``remote_transmitter.transmit_canalsat`` Action ***********************************************