diff --git a/components/climate/climate_ir.rst b/components/climate/climate_ir.rst index c60fa8b46..8484d2cc1 100644 --- a/components/climate/climate_ir.rst +++ b/components/climate/climate_ir.rst @@ -184,6 +184,7 @@ Configuration variables: .. note:: + - See :ref:`Transmit Midea` to send custom commands, including Follow Me mode. - See :ref:`Toshiba` below if you are looking for compatibility with Midea model MAP14HS1TBL or similar. diff --git a/components/remote_transmitter.rst b/components/remote_transmitter.rst index 366a9b19f..f2a36e405 100644 --- a/components/remote_transmitter.rst +++ b/components/remote_transmitter.rst @@ -207,10 +207,16 @@ This :ref:`action ` sends a 40-bit Midea code to a remote transmi on_...: - remote_transmitter.transmit_midea: code: [0xA2, 0x08, 0xFF, 0xFF, 0xFF] + + on_...: + - remote_transmitter.transmit_midea: + code: !lambda |- + // Send a FollowMe code with the current temperature. + return {0xA4, 0x82, 0x48, 0x7F, (uint8_t)(id(temp_sensor).state + 1)}; Configuration variables: -- **code** (**Required**, list): The 40-bit Midea code to send as a list of hex or integers. +- **code** (**Required**, list, :ref:`templatable `): The 40-bit Midea code to send as a list of hex or integers. - All other options from :ref:`remote_transmitter-transmit_action`. ``remote_transmitter.transmit_nec`` Action