From 3face6750577cad05a21b6e59304b0982244a2c6 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 8 Sep 2021 13:19:57 +1200 Subject: [PATCH] Fix remote receiver api links (#1450) --- components/remote_receiver.rst | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/components/remote_receiver.rst b/components/remote_receiver.rst index b9b425080..0f468087f 100644 --- a/components/remote_receiver.rst +++ b/components/remote_receiver.rst @@ -59,43 +59,43 @@ Configuration variables: Automations: - **on_jvc** (*Optional*, :ref:`Automation `): An automation to perform when a - JVC remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::JVCData` + JVC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::JVCData` is passed to the automation for use in lambdas. - **on_lg** (*Optional*, :ref:`Automation `): An automation to perform when a - LG remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::LGData` + LG remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::LGData` is passed to the automation for use in lambdas. - **on_nec** (*Optional*, :ref:`Automation `): An automation to perform when a - NEC remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::NECData` + NEC remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::NECData` is passed to the automation for use in lambdas. - **on_sony** (*Optional*, :ref:`Automation `): An automation to perform when a - Sony remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::SonyData` + Sony remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::SonyData` is passed to the automation for use in lambdas. - **on_toshiba_ac** (*Optional*, :ref:`Automation `): An automation to perform when a - Toshiba AC remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::ToshibaAcData` + 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_raw** (*Optional*, :ref:`Automation `): An automation to perform when a raw remote code has been decoded. A variable ``x`` of type ``std::vector`` is passed to the automation for use in lambdas. - **on_rc5** (*Optional*, :ref:`Automation `): An automation to perform when a - RC5 remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::RC5Data` + RC5 remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::RC5Data` is passed to the automation for use in lambdas. - **on_rc_switch** (*Optional*, :ref:`Automation `): An automation to perform when a - RCSwitch RF code has been decoded. A variable ``x`` of type :apiclass:`remote_base::RCSwitchData` + RCSwitch RF code has been decoded. A variable ``x`` of type :apistruct:`remote_base::RCSwitchData` is passed to the automation for use in lambdas. - **on_samsung** (*Optional*, :ref:`Automation `): An automation to perform when a - Samsung remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::SamsungData` + Samsung remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::SamsungData` is passed to the automation for use in lambdas. - **on_samsung36** (*Optional*, :ref:`Automation `): An automation to perform when a - Samsung36 remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::Samsung36Data` - is passed to the automation for use in lambdas. + Samsung36 remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::Samsung36Data` + is passed to the automation for use in lambdas. - **on_panasonic** (*Optional*, :ref:`Automation `): An automation to perform when a - Panasonic remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::PanasonicData` + Panasonic remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::PanasonicData` is passed to the automation for use in lambdas. - **on_pioneer** (*Optional*, :ref:`Automation `): An automation to perform when a - pioneer remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::PioneerData` + pioneer remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::PioneerData` is passed to the automation for use in lambdas. - **on_dish** (*Optional*, :ref:`Automation `): An automation to perform when a - dish network remote code has been decoded. A variable ``x`` of type :apiclass:`remote_base::DishData` + dish network remote code has been decoded. A variable ``x`` of type :apistruct:`remote_base::DishData` is passed to the automation for use in lambdas. Beware that Dish remotes use a different carrier frequency (57.6kHz) that many receiver hardware don't decode. @@ -188,8 +188,8 @@ Remote code selection (exactly one of these has to be included): - **dish**: Trigger on a decoded Dish Network remote code with the given data. Beware that Dish remotes use a different carrier frequency (57.6kHz) that many receiver hardware don't decode. - - **address** (*Optional*, int, 1-16): The number of the receiver to target. Defaults to ``1``. - - **command** (**Required**, int, 0-63): The Dish command to listen for. + - **address** (*Optional*, int, 1-16): The number of the receiver to target. Defaults to ``1``. + - **command** (**Required**, int, 0-63): The Dish command to listen for. - **rc_switch_raw**: Trigger on a decoded RC Switch raw remote code with the given data.