mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Update docs for Samsung variable bits enhancement (#1259)
This commit is contained in:
parent
363af166dc
commit
0422278ec2
@ -156,6 +156,7 @@ Remote code selection (exactly one of these has to be included):
|
||||
- **samsung**: Trigger on a decoded Samsung remote code with the given data.
|
||||
|
||||
- **data** (**Required**, int): The data to trigger on, see dumper output for more info.
|
||||
- **nbits** (*Optional*, int): The number of bits of the remote code. Defaults to ``32``.
|
||||
|
||||
- **samsung36**: Trigger on a decoded Samsung36 remote code with the given data.
|
||||
|
||||
|
@ -200,22 +200,29 @@ Configuration variables:
|
||||
**********************************************
|
||||
|
||||
This :ref:`action <config-action>` sends a Samsung infrared remote code to a remote transmitter.
|
||||
It transmits codes up to 64 bits in length in a single packet.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
on_...:
|
||||
- remote_transmitter.transmit_samsung:
|
||||
data: 0x1FEF05E4
|
||||
# additional example for 48-bit codes:
|
||||
- remote_transmitter.transmit_samsung:
|
||||
data: 0xB946F50A09F6
|
||||
nbits: 48
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **data** (**Required**, int): The data to send, see dumper output for more details.
|
||||
- **nbits** (*Optional*, int): The number of bits to send. Defaults to ``32``.
|
||||
- All other options from :ref:`remote_transmitter-transmit_action`.
|
||||
|
||||
``remote_transmitter.transmit_samsung36`` Action
|
||||
************************************************
|
||||
|
||||
This :ref:`action <config-action>` sends a Samsung36 infrared remote code to a remote transmitter.
|
||||
It transmits the ``address`` and ``command`` in two packets separated by a "space".
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user