Skip to content

Commit e3d6434

Browse files
authored
Update rf_bridge.md
Update rf_bridge references to my_rf_bridge. Compiler complains: ID 'rf_bridge' conflicts with the name of an esphome integration, please use another ID name. send_advanced_code() expects struct RFBridgeAdvancedData, not three individual parameters.
1 parent 5d943bb commit e3d6434

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/components/rf_bridge.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Configuration options:
9191
> This action can also be written in [lambdas](/automations/templates#config-lambda):
9292
>
9393
> ```cpp
94-
> id(rf_bridge).send_code(0x700, 0x800, 0x1000, 0xABC123);
94+
> id(my_rf_bridge).send_code(0x700, 0x800, 0x1000, 0xABC123);
9595
> ```
9696

9797
{{< anchor "rf_bridge-beep_action" >}}
@@ -116,7 +116,7 @@ Configuration options:
116116
> This action can also be written in [lambdas](/automations/templates#config-lambda):
117117
>
118118
> ```cpp
119-
> id(rf_bridge).beep(100);
119+
> id(my_rf_bridge).beep(100);
120120
> ```
121121

122122
{{< anchor "rf_bridge-learn_action" >}}
@@ -140,7 +140,7 @@ Configuration options:
140140
> This action can also be written in [lambdas](/automations/templates#config-lambda):
141141
>
142142
> ```cpp
143-
> id(rf_bridge).learn();
143+
> id(my_rf_bridge).learn();
144144
> ```
145145

146146
{{< anchor "rf_bridge-send_raw_action" >}}
@@ -170,7 +170,7 @@ Configuration options:
170170
> This action can also be written in [lambdas](/automations/templates#config-lambda):
171171
>
172172
> ```cpp
173-
> id(rf_bridge).send_raw("AAA5070008001000ABC12355");
173+
> id(my_rf_bridge).send_raw("AAA5070008001000ABC12355");
174174
> ```
175175

176176
## Portisch firmware
@@ -225,7 +225,7 @@ Configuration options:
225225
> This action can also be written in [lambdas](/automations/templates#config-lambda):
226226
>
227227
> ```cpp
228-
> id(rf_bridge).send_advanced_code(0x04, 0x01, "ABC123");
228+
> id(my_rf_bridge).send_advanced_code({0x04, 0x01, "ABC123"});
229229
> ```
230230

231231
{{< anchor "rf_bridge-start_advanced_sniffing_action" >}}
@@ -249,7 +249,7 @@ Configuration options:
249249
> This action can also be written in [lambdas](/automations/templates#config-lambda):
250250
>
251251
> ```cpp
252-
> id(rf_bridge).start_advanced_sniffing();
252+
> id(my_rf_bridge).start_advanced_sniffing();
253253
> ```
254254

255255
{{< anchor "rf_bridge-stop_advanced_sniffing_action" >}}
@@ -272,7 +272,7 @@ Configuration options:
272272
> This action can also be written in [lambdas](/automations/templates#config-lambda):
273273
>
274274
> ```cpp
275-
> id(rf_bridge).stop_advanced_sniffing();
275+
> id(my_rf_bridge).stop_advanced_sniffing();
276276
> ```
277277

278278
{{< anchor "rf_bridge-start_bucket_sniffing_action" >}}
@@ -304,7 +304,7 @@ Configuration options:
304304
> This action can also be written in [lambdas](/automations/templates#config-lambda):
305305
>
306306
> ```cpp
307-
> id(rf_bridge).start_bucket_sniffing();
307+
> id(my_rf_bridge).start_bucket_sniffing();
308308
> ```
309309

310310
{{< anchor "rf_bridge-restart_radio_controller" >}}

0 commit comments

Comments
 (0)