From bbf9a796239473d82d3cca6b48805b0cb6f34cc7 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Wed, 4 Jan 2017 00:25:18 -0700 Subject: [PATCH] Update with `repeats` config variable (#1655) * Update with `repeats` config variable See https://github.com/home-assistant/home-assistant/issues/5069 * Use `signal_repetitions` instead of `repeats` As recommended [in PR review](https://github.com/home-assistant/home-assistant/pull/5070/files/f068781b4e60a9138473ac983d0dfa8cb74013bc). --- source/_components/switch.rpi_rf.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_components/switch.rpi_rf.markdown b/source/_components/switch.rpi_rf.markdown index 683c919e84f..1436601fd34 100644 --- a/source/_components/switch.rpi_rf.markdown +++ b/source/_components/switch.rpi_rf.markdown @@ -37,6 +37,7 @@ switch: protocol: 5 code_on: 654321 code_off: 654320 + signal_repetitions: 15 ``` Configuration variables: @@ -48,4 +49,4 @@ Configuration variables: - **code_off** (*Required*): Decimal code to switch the device off. - **protocol** (*Optional*): RF Protocol (Default is `1`). - **pulselength** (*Optional*): Pulselength (Default is the protocol default). - + - **signal_repetitions** (*Optional*): Number of times to repeat transmission (default is 10, can increase to try to improve reliability).