This commit is contained in:
Mat931 2024-05-07 18:23:01 +00:00 committed by GitHub
commit 44aecd1c5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 41 additions and 0 deletions

View File

@ -39,6 +39,7 @@ Configuration variables:
- **dish**: Decode and dump Dish infrared codes.
- **dooya**: Decode and dump Dooya RF codes.
- **drayton**: Decode and dump Drayton Digistat RF codes.
- **hob2hood**: Decode and dump AEG Hob2Hood infrared codes.
- **jvc**: Decode and dump JVC infrared codes.
- **keeloq**: Decode and dump KeeLoq RF codes.
- **haier**: Decode and dump Haier infrared codes.
@ -129,6 +130,9 @@ Automations:
- **on_drayton** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Drayton Digistat RF code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DraytonData`
is passed to the automation for use in lambdas.
- **on_hob2hood** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
Hob2Hood remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::Hob2HoodData`
is passed to the automation for use in lambdas.
- **on_jvc** (*Optional*, :ref:`Automation <automation>`): An automation to perform when a
JVC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::JVCData`
is passed to the automation for use in lambdas.
@ -298,6 +302,18 @@ Remote code selection (exactly one of these has to be included):
- **channel** (**Required**, int): The 7-bit switch/channel to listen for.
- **command** (**Required**, int): The 5-bit command to listen for.
- **hob2hood**: Trigger on a decoded Hob2Hood remote code with the given data.
- **command** (**Required**, enum): The Hob2Hood command to trigger on.
- ``light_off``
- ``light_on``
- ``fan_off``
- ``fan_low``
- ``fan_medium``
- ``fan_high``
- ``fan_max``
- **jvc**: Trigger on a decoded JVC remote code with the given data.
- **data** (**Required**, int): The JVC code to trigger on, see dumper output for more info.

View File

@ -310,6 +310,31 @@ Configuration variables:
- **command** (**Required**, int): The command to send, between 0 and 63 inclusive.
- All other options from :ref:`remote_transmitter-transmit_action`.
.. _remote_transmitter-transmit_hob2hood:
``remote_transmitter.transmit_hob2hood`` Action
***********************************************
This :ref:`action <config-action>` sends a Hob2Hood infrared remote code to a remote transmitter.
.. code-block:: yaml
on_...:
- remote_transmitter.transmit_hob2hood:
command: light_on
Configuration variables:
- **command** (**Required**, enum): The Hob2Hood command to send.
- ``light_off``
- ``light_on``
- ``fan_off``
- ``fan_low``
- ``fan_medium``
- ``fan_high``
- ``fan_max``
.. _remote_transmitter-transmit_jvc:
``remote_transmitter.transmit_jvc`` Action